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

Unified Diff: chrome/chrome_resources.gyp

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/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_resources.gyp
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp
index 252bbb18dc2ebd2786355f2f56ccd631d77563cb..bb21c544a4f4ce7e2919d61c8901e24a3d511da6 100644
--- a/chrome/chrome_resources.gyp
+++ b/chrome/chrome_resources.gyp
@@ -99,22 +99,6 @@
},
'includes': [ '../build/grit_action.gypi' ],
},
- {
- # GN version: //chrome/browser/resources:quota_internals_resources
- 'action_name': 'generate_quota_internals_resources',
- 'variables': {
- 'grit_grd_file': 'browser/resources/quota_internals_resources.grd',
- },
- 'includes': [ '../build/grit_action.gypi' ],
- },
- {
- # GN version: //chrome/browser/resources:sync_file_system_internals_resources
- 'action_name': 'generate_sync_file_system_internals_resources',
- 'variables': {
- 'grit_grd_file': 'browser/resources/sync_file_system_internals_resources.grd',
- },
- 'includes': [ '../build/grit_action.gypi' ],
- },
],
'copies': [
{
@@ -140,6 +124,26 @@
}],
],
}],
+ ['enable_extensions==1', {
+ 'actions': [
+ {
+ # GN version: //chrome/browser/resources:quota_internals_resources
+ 'action_name': 'generate_quota_internals_resources',
+ 'variables': {
+ 'grit_grd_file': 'browser/resources/quota_internals_resources.grd',
+ },
+ 'includes': [ '../build/grit_action.gypi' ],
+ },
+ {
+ # GN version: //chrome/browser/resources:sync_file_system_internals_resources
+ 'action_name': 'generate_sync_file_system_internals_resources',
+ 'variables': {
+ 'grit_grd_file': 'browser/resources/sync_file_system_internals_resources.grd',
+ },
+ 'includes': [ '../build/grit_action.gypi' ],
+ },
+ ],
+ }],
],
},
{
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698