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

Unified Diff: build/config/BUILD.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Actually undo gyp change Created 6 years, 2 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
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index e548f77aff6d9ea777a20ee85e15c1c88c07461e..0d0f0f438255bac52cf91cf3f7e9df5335e207e2 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -32,10 +32,12 @@ config("feature_flags") {
defines = [
"CHROMIUM_BUILD",
"ENABLE_EGLIMAGE=1",
- "ENABLE_BACKGROUND=1",
"V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
]
+ if (enable_background) {
+ defines += [ "ENABLE_BACKGROUND=1" ]
+ }
if (cld_version > 0) {
defines += [ "CLD_VERSION=$cld_version" ]
}

Powered by Google App Engine
This is Rietveld 408576698