diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-15 20:18:01 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-15 20:18:01 +0000 |
commit | 6dd1c54f48283e9c61b097b59feecf8d221e123b (patch) | |
tree | 93d3b56170f08f47695f87360ab803c1265bd3aa /content/content_resources.gyp | |
parent | 0024ca1f9b59a4d9dead968725c53b8239b78762 (diff) | |
download | chromium_src-6dd1c54f48283e9c61b097b59feecf8d221e123b.zip chromium_src-6dd1c54f48283e9c61b097b59feecf8d221e123b.tar.gz chromium_src-6dd1c54f48283e9c61b097b59feecf8d221e123b.tar.bz2 |
content: Cleanup content_resources.gyp
Simplifies content_resources into a single target, making it easier to read
and/or copy in other places. This is similar to what is done in
ui/keyboard/keyboard.gyp.
TEST=ninja -C out/Debug content_resources still works as intended.
R=joi@chromium.org
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18937004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_resources.gyp')
-rw-r--r-- | content/content_resources.gyp | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/content/content_resources.gyp b/content/content_resources.gyp index db2ce8b..65fdb9a 100644 --- a/content/content_resources.gyp +++ b/content/content_resources.gyp @@ -6,16 +6,23 @@ # content.gyp doesn't depend on gyp files from chrome/ anymore: # http://crbug.com/10394 { - 'variables': { - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', - }, 'targets': [ { 'target_name': 'content_resources', 'type': 'none', - 'dependencies': [ - 'generate_content_resources', + 'variables': { + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', + }, + 'actions': [ + { + 'action_name': 'generate_content_resources', + 'variables': { + 'grit_grd_file': 'content_resources.grd', + }, + 'includes': [ '../build/grit_action.gypi' ], + }, ], + 'includes': [ '../build/grit_target.gypi' ], 'copies': [ { 'destination': '<(PRODUCT_DIR)', @@ -24,20 +31,6 @@ ], }, ], - 'includes': [ '../build/grit_target.gypi' ], - }, - { - 'target_name': 'generate_content_resources', - 'type': 'none', - 'actions': [ - { - 'action_name': 'content_resources', - 'variables': { - 'grit_grd_file': 'content_resources.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, - ], }, ], } |