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

Unified Diff: BUILD.gn

Issue 2340723003: GN: add is_official_build (Closed)
Patch Set: did that wrong Created 4 years, 3 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 | gn/BUILD.gn » ('j') | 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 f14a027af5b090771d11880cf27b4ea7fd640818..05fe3500ffdaa5335346ef07fc57f55144008bfe 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -85,6 +85,10 @@ config("skia_private") {
"SK_GAMMA_CONTRAST=0.0",
]
}
+ if (is_official_build || is_android) {
+ # TODO(bsalomon): it'd be nice to make Android normal.
+ defines += [ "SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0" ]
+ }
}
# Any code that's linked into Skia-the-library should use this config via += skia_library_configs.
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698