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

Unified Diff: chrome/chrome_resources.gyp

Issue 461773002: Do not build device/bluetooth strings when extensions are disabled. (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
Index: chrome/chrome_resources.gyp
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp
index 2342db8ed496d83eab3aa7f0efbc3ba83b448971..252bbb18dc2ebd2786355f2f56ccd631d77563cb 100644
--- a/chrome/chrome_resources.gyp
+++ b/chrome/chrome_resources.gyp
@@ -443,8 +443,6 @@
'dependencies': [
'<(DEPTH)/content/app/strings/content_strings.gyp:content_strings',
'<(DEPTH)/content/content_resources.gyp:content_resources',
- '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:device_bluetooth_strings',
- '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
'<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
'<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
],
@@ -466,6 +464,12 @@
'<(DEPTH)/third_party/libaddressinput/libaddressinput.gyp:libaddressinput_strings',
],
}],
+ ['enable_extensions==1', {
+ 'dependencies': [
+ '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:device_bluetooth_strings',
+ '<(DEPTH)/extensions/extensions_strings.gyp:extensions_strings',
+ ],
+ }],
['OS != "mac" and OS != "ios"', {
# Copy pak files to the product directory. These files will be picked
# up by the following installer scripts:

Powered by Google App Engine
This is Rietveld 408576698