Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 61a8e98e5f684815f3687380abc01b3d306f7859..c346673cfea54229570f25c9d7b2cc7371796fc7 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -70,6 +70,10 @@ skia_library_configs = [ |
":skia_library", |
] |
+if (!defined(is_fuchsia)) { |
+ is_fuchsia = current_os == "fuchsia" |
+} |
+ |
unwanted_configs = [] |
if (!is_fuchsia) { |
@@ -245,9 +249,7 @@ component("skia") { |
} |
if (is_fuchsia) { |
- sources += [ |
- "src/ports/SkFontMgr_empty_factory.cpp", |
- ] |
+ sources += [ "src/ports/SkFontMgr_empty_factory.cpp" ] |
} |
} |