diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 21:27:21 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 21:27:21 +0000 |
commit | 8cfb591192035c18087296d931880149b2bf63a6 (patch) | |
tree | a8c8f922b35ebfd8e32aa5fd83fd5a802a13aea7 /app/app.gyp | |
parent | 6c37af55bd6636da96748d4ebc51ad6a691d6435 (diff) | |
download | chromium_src-8cfb591192035c18087296d931880149b2bf63a6.zip chromium_src-8cfb591192035c18087296d931880149b2bf63a6.tar.gz chromium_src-8cfb591192035c18087296d931880149b2bf63a6.tar.bz2 |
Carnitas: Move app_strings to ui/base/strings
To fix circular dependencies between ui/base/ui_base.gyp and app/app.gyp I'm moving app_strings to ui/base/strings.
BUG=72317
TEST=Compiled on Mac, Linux, Windows.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
-rw-r--r-- | app/app.gyp | 82 |
1 files changed, 1 insertions, 81 deletions
diff --git a/app/app.gyp b/app/app.gyp index d1b3198..fc10ca0 100644 --- a/app/app.gyp +++ b/app/app.gyp @@ -11,10 +11,6 @@ '<@(grit_defines)'], 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', 'grit_cmd': ['python', '../tools/grit/grit.py'], - 'localizable_resources': [ - 'resources/app_locale_settings.grd', - 'resources/app_strings.grd', - ], }, 'includes': [ 'app_base.gypi', @@ -70,9 +66,9 @@ '../ui/base/dragdrop/gtk_dnd_util_unittest.cc', ], 'dependencies': [ - 'app_unittest_strings', '../build/linux/system.gyp:gtk', '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', + '../ui/base/strings/ui_strings.gyp:ui_unittest_strings', ], }], ['OS!="win"', { @@ -93,43 +89,6 @@ ], }, { - 'target_name': 'app_strings', - 'msvs_guid': 'AE9BF4A2-19C5-49D8-BB1A-F28496DD7051', - 'type': 'none', - 'rules': [ - { - 'rule_name': 'grit', - 'extension': 'grd', - 'inputs': [ - '<!@(<(grit_info_cmd) --inputs <(localizable_resources))', - ], - 'outputs': [ - '<(grit_out_dir)/<(RULE_INPUT_ROOT)/grit/<(RULE_INPUT_ROOT).h', - # TODO: remove this helper when we have loops in GYP - '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(RULE_INPUT_ROOT)/<(RULE_INPUT_ROOT)_ZZLOCALE.pak\' <(locales))', - ], - 'action': ['<@(grit_cmd)', '-i', '<(RULE_INPUT_PATH)', - 'build', '-o', '<(grit_out_dir)/<(RULE_INPUT_ROOT)', - '<@(grit_defines)'], - 'message': 'Generating resources from <(RULE_INPUT_PATH)', - }, - ], - 'sources': [ - '<@(localizable_resources)', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(grit_out_dir)/app_locale_settings', - '<(grit_out_dir)/app_strings', - ], - }, - 'conditions': [ - ['OS=="win"', { - 'dependencies': ['../build/win/system.gyp:cygwin'], - }], - ], - }, - { 'target_name': 'app_resources', 'type': 'none', 'msvs_guid': '3FBC4235-3FBD-46DF-AEDC-BADBBA13A095', @@ -164,45 +123,6 @@ ], }, ], - 'conditions': [ - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { - 'targets': [{ - 'target_name': 'app_unittest_strings', - 'type': 'none', - 'variables': { - 'repack_path': '<(DEPTH)/tools/data_pack/repack.py', - }, - 'actions': [ - { - 'action_name': 'repack_app_unittest_strings', - 'variables': { - 'pak_inputs': [ - '<(grit_out_dir)/app_strings/app_strings_en-US.pak', - '<(grit_out_dir)/app_locale_settings/app_locale_settings_en-US.pak', - ], - }, - 'inputs': [ - '<(repack_path)', - '<@(pak_inputs)', - ], - 'outputs': [ - '<(PRODUCT_DIR)/app_unittests_strings/en-US.pak', - ], - 'action': ['python', '<(repack_path)', '<@(_outputs)', - '<@(pak_inputs)'], - }, - ], - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)/app_unittests_strings', - 'files': [ - '<(grit_out_dir)/app_resources/app_resources.pak', - ], - }, - ], - }], - }], - ], } # Local Variables: |