fuchsia: Stub out timing and memory functions

This functionality isn't (currently) available on Fuchsia from the OS.

Bug: chromium:808287
Change-Id: If017bc762448c437b74cb03587ba35da5d131c75
Reviewed-on: https://webrtc-review.googlesource.com/c/107760
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#25373}
diff --git a/rtc_base/cpu_time.cc b/rtc_base/cpu_time.cc
index de4a6bd..ad91eca 100644
--- a/rtc_base/cpu_time.cc
+++ b/rtc_base/cpu_time.cc
@@ -65,6 +65,9 @@
   } else {
     RTC_LOG_ERR(LS_ERROR) << "GetProcessTimes() failed.";
   }
+#elif defined(WEBRTC_FUCHSIA)
+  RTC_LOG_ERR(LS_ERROR) << "GetProcessCpuTimeNanos() not implemented";
+  return 0;
 #else
   // Not implemented yet.
   static_assert(
@@ -107,10 +110,13 @@
   } else {
     RTC_LOG_ERR(LS_ERROR) << "GetThreadTimes() failed.";
   }
+#elif defined(WEBRTC_FUCHSIA)
+  RTC_LOG_ERR(LS_ERROR) << "GetThreadCpuTimeNanos() not implemented";
+  return 0;
 #else
   // Not implemented yet.
   static_assert(
-      false, "GetProcessCpuTimeNanos() platform support not yet implemented.");
+      false, "GetThreadCpuTimeNanos() platform support not yet implemented.");
 #endif
   return -1;
 }
diff --git a/rtc_base/memory_usage.cc b/rtc_base/memory_usage.cc
index a70c547..9cd36d3 100644
--- a/rtc_base/memory_usage.cc
+++ b/rtc_base/memory_usage.cc
@@ -61,6 +61,9 @@
     return -1;
   }
   return pmc.WorkingSetSize;
+#elif defined(WEBRTC_FUCHSIA)
+  RTC_LOG_ERR(LS_ERROR) << "GetProcessResidentSizeBytes() not implemented";
+  return 0;
 #else
   // Not implemented yet.
   static_assert(false,