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

Unified Diff: apps/BUILD.gn

Issue 1160773004: extensions: Check |enable_extensions| flag before depending on extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | apps/apps.gypi » ('j') | chrome/browser/ui/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/BUILD.gn
diff --git a/apps/BUILD.gn b/apps/BUILD.gn
index 5c409c2be67d715274569c1a8e8c19c3e3a9e880..a7199644fd818d26941e32c8ea1cffdaa3912e3a 100644
--- a/apps/BUILD.gn
+++ b/apps/BUILD.gn
@@ -63,10 +63,12 @@ static_library("apps") {
"ui/views/app_window_frame_view.h",
]
deps += [
- "//extensions/browser",
"//ui/strings",
"//ui/views",
]
+ if (enable_extensions) {
+ deps += [ "//extensions/browser" ]
+ }
}
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
« no previous file with comments | « no previous file | apps/apps.gypi » ('j') | chrome/browser/ui/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698