Merge remote-tracking branch 'origin/upstream/master' into 'main'

Change-Id: Ife29631ee9cc2631f528383b85bbca1811f77200
diff --git a/BUILD.gn b/BUILD.gn
new file mode 100644
index 0000000..e28e9cb
--- /dev/null
+++ b/BUILD.gn
@@ -0,0 +1,11 @@
+# Copyright 2021 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+config("headers") {
+  include_dirs = [ "include" ]
+}
+
+source_set("libbase") {
+  public_configs = [ ":headers" ]
+}
diff --git a/file.cpp b/file.cpp
index 69ee69f..d06336a 100644
--- a/file.cpp
+++ b/file.cpp
@@ -488,6 +488,8 @@
   if (result == 0 || result == sizeof(path) - 1) return "";
   path[PATH_MAX - 1] = 0;
   return path;
+#elif defined(__Fuchsia__)
+  return "";
 #else
 #error unknown OS
 #endif