Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: BUILD.gn

Issue 2164453003: GN: polyfill is_fuchsia (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fmt Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698