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

Unified Diff: chrome/chrome_browser_ui.gypi

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
« chrome/browser/ui/BUILD.gn ('K') | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser_ui.gypi
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi
index 58ee9ce4a5f9084186bd4b057371cec9b4988f55..3ffc7fadd39a6866196ab7bb7ee67cdad91fb682 100644
--- a/chrome/chrome_browser_ui.gypi
+++ b/chrome/chrome_browser_ui.gypi
@@ -2912,8 +2912,16 @@
}],
['OS!="mac"', {
'sources': [ '<@(chrome_browser_ui_views_non_mac_sources)' ],
- 'dependencies': [
- '<(DEPTH)/extensions/components/extensions_components.gyp:native_app_window',
+ 'conditions': [
+ ['enable_extensions==0', {
+ 'sources/': [
+ ['exclude', '^browser/ui/views/extensions/'],
+ ],
+ }, {
+ 'dependencies': [
+ '<(DEPTH)/extensions/components/extensions_components.gyp:native_app_window',
+ ],
+ }],
],
}],
],
« chrome/browser/ui/BUILD.gn ('K') | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698