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

Unified Diff: chrome/BUILD.gn

Issue 472213002: Mark some files/targets as compiled only when their associated feature is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 6a2bd2e19bce1699b3b072bcced002bfb99599b1..29b365e6ba117e6cebdb4eb9304c3b5a27baf409 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -35,8 +35,6 @@ group("extra_resources") {
deps += [
"//chrome/browser/resources:component_extension_resources",
"//chrome/browser/resources:options_resources",
- "//chrome/browser/resources:quota_internals_resources",
- "//chrome/browser/resources:sync_file_system_internals_resources",
]
}
@@ -49,6 +47,13 @@ group("extra_resources") {
#'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', TODO(GYP)
]
}
+
+ if (enable_extensions) {
+ deps += [
+ "//chrome/browser/resources:quota_internals_resources",
+ "//chrome/browser/resources:sync_file_system_internals_resources",
+ ]
+ }
}
# GYP version: chrome/chrome_resources.gyp:chrome_strings
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698