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

Unified Diff: chrome/browser/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 | « chrome/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index c660e9ab2dcabe3ce814e4512492026796664522..906994d0bccf14e642566244055094e2c3326f44 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -138,8 +138,6 @@ static_library("browser") {
deps += [
"//cc",
"//chrome/browser/performance_monitor",
- "//chrome/browser/sync_file_system:sync_file_system_proto",
- "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto",
"//chrome/common/extensions/api:api",
"//components/autofill/content/browser",
"//components/dom_distiller/content",
@@ -232,7 +230,11 @@ static_library("browser") {
]
}
if (enable_extensions) {
- deps += [ "//chrome/browser/extensions" ]
+ deps += [
+ "//chrome/browser/extensions",
+ "//chrome/browser/sync_file_system:sync_file_system_proto",
+ "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto",
+ ]
sources += rebase_path(gypi_values.chrome_browser_extensions_sources,
".", "//chrome")
}
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698