diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 23:24:52 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 23:26:33 +0000 |
commit | cc5b3be4dbeb21a071088dff7c970f13228328b5 (patch) | |
tree | 08697e3eb716166f56441298f6539a3c99409466 /chrome/chrome_resources.gyp | |
parent | 8030b05dea1bcc55b71fb2384c2bb2437bc40051 (diff) | |
download | chromium_src-cc5b3be4dbeb21a071088dff7c970f13228328b5.zip chromium_src-cc5b3be4dbeb21a071088dff7c970f13228328b5.tar.gz chromium_src-cc5b3be4dbeb21a071088dff7c970f13228328b5.tar.bz2 |
Mark some files/targets as compiled only when their associated feature is enabled.
Review URL: https://codereview.chromium.org/472213002
Cr-Commit-Position: refs/heads/master@{#290046}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_resources.gyp')
-rw-r--r-- | chrome/chrome_resources.gyp | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp index ee78cbf..2496b64 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' ], + }, + ], + }], ], }, { |