Commit feed7efe authored by dhollowa@chromium.org's avatar dhollowa@chromium.org

Introduces chromium_resources.gyp to factor out Chrome resource generation

1. Factors out Chrome/Chromium resource generation into a separate
chrome_resources.gyp file.
2. Eliminates repetition between Mac and other platforms.
3. Breaks long "repack" actions out into separate files for greater readability.
4. Eliminates circular dependencies in the Aura shell, the Views components, and
the compositor when utilizing Chrome resources.

BUG=none
TEST=try bots run gyps and build correctly.

Review URL: http://codereview.chromium.org/8425002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107967 0039d316-1c4b-4281-b951-d872f2087c98
parent 14a67b8c
This diff is collapsed.
......@@ -11,21 +11,21 @@
'app/policy/cloud_policy_codegen.gyp:policy',
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'cert_logger_proto',
'chrome_extra_resources',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_extra_resources',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chrome_resources.gyp:platform_locale_settings',
'chrome_resources.gyp:theme_resources',
'common',
'common_net',
'debugger',
'in_memory_url_index_cache_proto',
'installer_util',
'platform_locale_settings',
'safe_browsing_proto',
'safe_browsing_report_proto',
# TODO(sync): Make browser not depend on syncapi_core directly.
'syncapi_core',
'syncapi_service',
'theme_resources',
'userfeedback_proto',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../content/content.gyp:content_browser',
......
......@@ -23,12 +23,12 @@
# shared with the 64-bit target, but it does not work due to a gyp
# issue.
'app/policy/cloud_policy_codegen.gyp:policy',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chrome_resources.gyp:theme_resources',
'common_constants',
'common_net',
'default_plugin/default_plugin.gyp:default_plugin',
'theme_resources',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/base.gyp:base_static',
......@@ -262,7 +262,7 @@
'common/native_web_keyboard_event_views.cc',
'common/native_web_keyboard_event_views.h',
],
}],
}],
['use_aura==1', {
'dependencies!': [
'default_plugin/default_plugin.gyp:default_plugin',
......@@ -371,8 +371,8 @@
'common/net/x509_certificate_model.h',
],
'dependencies': [
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'../base/base.gyp:base',
'../crypto/crypto.gyp:crypto',
'../gpu/gpu.gyp:gpu_ipc',
......
......@@ -33,8 +33,8 @@
'dependencies': [
# On Windows, link the dependencies (libraries) that make
# up actual Chromium functionality into this .dll.
'chrome_resources.gyp:chrome_resources',
'chrome_version_resources',
'chrome_resources',
'installer_util_strings',
'../content/content.gyp:content_worker',
'../crypto/crypto.gyp:crypto',
......@@ -290,6 +290,12 @@
'app/theme/star.pdf',
'app/theme/star_lit.pdf',
'browser/mac/install.sh',
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
'<(INTERMEDIATE_DIR)/repack/resources.pak',
'<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))',
# Note: pseudo_locales are generated via the packed_resources
# dependency but not copied to the final target. See
# common.gypi for more info.
],
'mac_bundle_resources!': [
'app/framework-Info.plist',
......@@ -302,6 +308,8 @@
# dependency here. flash_player.gyp will copy the Flash bundle
# into PRODUCT_DIR.
'../third_party/adobe/flash/flash_player.gyp:flash_player',
'chrome_resources.gyp:packed_extra_resources',
'chrome_resources.gyp:packed_resources',
],
'rules': [
{
......@@ -329,150 +337,8 @@
'repack_path': '../tools/grit/grit/format/repack.py',
},
'actions': [
# TODO(mark): These actions are duplicated for Linux and
# FreeBSD in the chrome target. Can they be unified?
{
'action_name': 'repack_chrome',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/browser_resources.pak',
'<(grit_out_dir)/common_resources.pak',
'<(grit_out_dir)/default_plugin_resources/default_plugin_resources.pak',
'<(grit_out_dir)/renderer_resources.pak',
'<(grit_out_dir)/theme_resources.pak',
'<(grit_out_dir)/theme_resources_standard.pak',
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)',
'<@(pak_inputs)'],
'process_outputs_as_mac_bundle_resources': 1,
},
{
'action_name': 'repack_theme_resources_large',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/theme_resources_large.pak',
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/theme_resources_large.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)',
'<@(pak_inputs)'],
'process_outputs_as_mac_bundle_resources': 1,
},
{
'action_name': 'repack_locales',
'process_outputs_as_mac_bundle_resources': 1,
'variables': {
'conditions': [
['branding=="Chrome"', {
'branding_flag': ['-b', 'google_chrome',],
}, { # else: branding!="Chrome"
'branding_flag': ['-b', 'chromium',],
}],
],
},
'inputs': [
'tools/build/repack_locales.py',
# NOTE: Ideally the common command args would be shared
# amongst inputs/outputs/action, but the args include shell
# variables which need to be passed intact, and command
# expansion wants to expand the shell variables. Adding the
# explicit quoting here was the only way it seemed to work.
'>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
],
'outputs': [
'>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
],
'action': [
'<@(repack_locales_cmd)',
'<@(branding_flag)',
'-g', '<(grit_out_dir)',
'-s', '<(SHARED_INTERMEDIATE_DIR)',
'-x', '<(INTERMEDIATE_DIR)',
'<@(locales)',
],
},
{
# This is an exact copy of the above phase, except for two
# changes:
# 1. process_outputs_as_mac_bundle_resources is omitted.
# 2. We pass 'pseudo_locales' instead of 'locales' wherever
# 'locales' is used.
# The result is a build phase that builds all pseudo locales
# but doesn't copy them to the final dll/framework.
'action_name': 'repack_pseudo_locales',
'variables': {
'conditions': [
['branding=="Chrome"', {
'branding_flag': ['-b', 'google_chrome',],
}, { # else: branding!="Chrome"
'branding_flag': ['-b', 'chromium',],
}],
],
},
'inputs': [
'tools/build/repack_locales.py',
# NOTE: Ideally the common command args would be shared
# amongst inputs/outputs/action, but the args include shell
# variables which need to be passed intact, and command
# expansion wants to expand the shell variables. Adding the
# explicit quoting here was the only way it seemed to work.
'>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(pseudo_locales))',
],
'outputs': [
'<(INTERMEDIATE_DIR)/<(pseudo_locales).pak'
],
'action': [
'<@(repack_locales_cmd)',
'<@(branding_flag)',
'-g', '<(grit_out_dir)',
'-s', '<(SHARED_INTERMEDIATE_DIR)',
'-x', '<(INTERMEDIATE_DIR)',
'<@(pseudo_locales)',
],
},
{
'action_name': 'repack_resources',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/component_extension_resources.pak',
'<(grit_out_dir)/devtools_frontend_resources.pak',
'<(grit_out_dir)/devtools_resources.pak',
'<(grit_out_dir)/net_internals_resources.pak',
'<(grit_out_dir)/options_resources.pak',
'<(grit_out_dir)/shared_resources.pak',
'<(grit_out_dir)/sync_internals_resources.pak',
'<(grit_out_dir)/workers_resources.pak',
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/resources.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)',
'<@(pak_inputs)'],
'process_outputs_as_mac_bundle_resources': 1,
'includes': ['chrome_repack_theme_resources_large.gypi']
},
],
'postbuilds': [
......@@ -551,18 +417,6 @@
}],
],
},
{
'destination': '<(PRODUCT_DIR)',
'files': [
'<(INTERMEDIATE_DIR)/repack/resources.pak'
],
},
{
'destination': '<(PRODUCT_DIR)/pseudo_locales',
'files': [
'<(INTERMEDIATE_DIR)/<(pseudo_locales).pak'
],
},
{
'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/resources',
'files': [],
......
......@@ -400,8 +400,8 @@
}],
],
'dependencies': [
'packed_extra_resources',
'packed_resources',
'chrome_resources.gyp:packed_extra_resources',
'chrome_resources.gyp:packed_resources',
# Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp
# file decide what to do on a per-OS basis; on Mac, internal plugins
# go inside the framework, so this dependency is in chrome_dll.gypi.
......
......@@ -99,8 +99,8 @@
'installer_util_strings',
'<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
'common_constants',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'../content/content.gyp:content_common',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
......@@ -174,8 +174,8 @@
'type': 'static_library',
'dependencies': [
'common_constants',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
],
'sources': [
'installer/util/master_preferences.cc',
......
......@@ -10,8 +10,8 @@
'dependencies': [
'common',
'common_net',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'safe_browsing_proto',
'../content/content.gyp:content_renderer',
'../net/net.gyp:net',
......
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'action_name': 'repack_chrome',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/browser_resources.pak',
'<(grit_out_dir)/common_resources.pak',
'<(grit_out_dir)/default_plugin_resources/default_plugin_resources.pak',
'<(grit_out_dir)/renderer_resources.pak',
'<(grit_out_dir)/theme_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
],
'conditions': [
['OS != "mac"', {
'pak_inputs': [
'<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak',
]
}],
['touchui==0 or OS == "mac"', {
'pak_inputs': [
'<(grit_out_dir)/theme_resources_standard.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.pak',
],
}, { # else: touchui!=0
'pak_inputs': [
'<(grit_out_dir)/theme_resources_large.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_large/ui_resources_large.pak',
],
}],
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/chrome.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
}
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'action_name': 'repack_locales',
'variables': {
'conditions': [
['branding=="Chrome"', {
'branding_flag': ['-b', 'google_chrome',],
}, { # else: branding!="Chrome"
'branding_flag': ['-b', 'chromium',],
}],
],
},
'inputs': [
'tools/build/repack_locales.py',
'<!@pymod_do_main(repack_locales -i <(branding_flag) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))'
],
'outputs': [
'<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))'
],
'action': [
'<@(repack_locales_cmd)',
'<@(branding_flag)',
'-g', '<(grit_out_dir)',
'-s', '<(SHARED_INTERMEDIATE_DIR)',
'-x', '<(INTERMEDIATE_DIR)',
'<@(locales)',
],
}
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'action_name': 'repack_pseudo_locales',
'variables': {
'conditions': [
['branding=="Chrome"', {
'branding_flag': ['-b', 'google_chrome',],
}, { # else: branding!="Chrome"
'branding_flag': ['-b', 'chromium',],
}],
]
},
'inputs': [
'tools/build/repack_locales.py',
'<!@pymod_do_main(repack_locales -i <(branding_flag) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(pseudo_locales))'
],
'conditions': [
['OS == "mac"', {
'outputs': [
'<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(pseudo_locales))'
],
}, { # else 'OS != "mac"'
'outputs': [
'<(INTERMEDIATE_DIR)/<(pseudo_locales).pak'
],
}],
],
'action': [
'<@(repack_locales_cmd)',
'<@(branding_flag)',
'-g', '<(grit_out_dir)',
'-s', '<(SHARED_INTERMEDIATE_DIR)',
'-x', '<(INTERMEDIATE_DIR)',
'<@(pseudo_locales)',
],
}
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'action_name': 'repack_resources',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/component_extension_resources.pak',
'<(grit_out_dir)/devtools_frontend_resources.pak',
'<(grit_out_dir)/devtools_resources.pak',
'<(grit_out_dir)/net_internals_resources.pak',
'<(grit_out_dir)/options_resources.pak',
'<(grit_out_dir)/shared_resources.pak',
'<(grit_out_dir)/sync_internals_resources.pak',
'<(grit_out_dir)/workers_resources.pak',
],
'conditions': [
['OS != "mac"', {
'pak_inputs': [
'<(grit_out_dir)/quota_internals_resources.pak',
],
}],
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/resources.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
}
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'action_name': 'repack_theme_resources_large',
'variables': {
'pak_inputs': [
'<(grit_out_dir)/theme_resources_large.pak',
],
},
'inputs': [
'<(repack_path)',
'<@(pak_inputs)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/repack/theme_resources_large.pak',
],
'action': ['python', '<(repack_path)', '<@(_outputs)',
'<@(pak_inputs)'],
'process_outputs_as_mac_bundle_resources': 1,
}
This diff is collapsed.
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables' : {
'pyautolib_sources': [
......@@ -34,17 +33,17 @@
'target_name': 'test_support_common',
'type': 'static_library',
'dependencies': [
'app/policy/cloud_policy_codegen.gyp:policy',
'browser',
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chrome_resources.gyp:theme_resources',
'common',
'renderer',
'plugin',
'renderer',
'service',
'utility',
'chrome_resources',
'chrome_strings',
'app/policy/cloud_policy_codegen.gyp:policy',
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'theme_resources',
'../base/base.gyp:test_support_base',
'../content/content.gyp:content_app',
'../content/content.gyp:content_gpu',
......@@ -266,10 +265,10 @@
'target_name': 'test_support_ui',
'type': 'static_library',
'dependencies': [
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chrome_resources.gyp:theme_resources',
'test_support_common',
'chrome_resources',
'chrome_strings',
'theme_resources',
'../skia/skia.gyp:skia',
'../testing/gtest.gyp:gtest',
],
......@@ -399,9 +398,9 @@
'target_name': 'test_support_unit',
'type': 'static_library',
'dependencies': [
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'test_support_common',
'chrome_resources',
'chrome_strings',
'../skia/skia.gyp:skia',
'../testing/gtest.gyp:gtest',
],
......@@ -428,10 +427,10 @@
'type': 'executable',
'dependencies': [
'browser',
'chrome_resources.gyp:theme_resources',
'renderer',
'test_support_common',
'test_support_ui',
'theme_resources',
'../base/base.gyp:base',
'../skia/skia.gyp:skia',
'../third_party/libxml/libxml.gyp:libxml',
......@@ -482,8 +481,8 @@
'dependencies': [
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'debugger',
'syncapi_core',
'test_support_common',
......@@ -683,11 +682,11 @@
'target_name': 'ui_tests',
'type': 'executable',
'dependencies': [
'chrome',
'browser',
'chrome',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'common',
'chrome_resources',
'chrome_strings',
'test_support_ui',
'../base/base.gyp:base',
'../net/net.gyp:net',
......@@ -878,8 +877,8 @@
'dependencies': [
'browser',
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chromedriver_support',
'common',
'syncapi_core',
......@@ -1122,8 +1121,8 @@
'../ui/ui.gyp:ui_resources_standard',
'../ui/ui.gyp:ui_test_support',
'../v8/tools/gyp/v8.gyp:v8',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
],
'include_dirs': [
'..',
......@@ -2157,9 +2156,9 @@
],
}, { # OS != "mac"
'dependencies': [
'chrome_resources.gyp:packed_extra_resources',
'chrome_resources.gyp:packed_resources',
'convert_dict_lib',
'packed_extra_resources',
'packed_resources',
'../third_party/hunspell/hunspell.gyp:hunspell',
],
'sources!': [
......@@ -2282,8 +2281,8 @@
'browser',
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'renderer',
'test_support_common',
'../base/base.gyp:base',
......@@ -2952,9 +2951,9 @@
'dependencies': [
'browser',
'chrome',
'chrome_resources.gyp:theme_resources',
'test_support_common',
'test_support_ui',
'theme_resources',
'../skia/skia.gyp:skia',
'../testing/gtest.gyp:gtest',
'../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
......@@ -3003,8 +3002,8 @@
'type': 'executable',
'dependencies': [
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'debugger',
'test_support_common',
'test_support_ui',
......@@ -3237,8 +3236,8 @@
],
},{ # OS!="mac"
'dependencies': [
'packed_extra_resources',
'packed_resources'
'chrome_resources.gyp:packed_extra_resources',
'chrome_resources.gyp:packed_resources'
],
}],
['OS=="linux" and chromeos==1', {
......@@ -3255,10 +3254,10 @@
'browser',
'browser/sync/protocol/sync_proto.gyp:sync_proto',
'chrome',
'chrome_resources',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'common',
'renderer',
'chrome_strings',
'test_support_common',
'../net/net.gyp:net',
'../net/net.gyp:net_test_support',
......@@ -3551,8 +3550,8 @@
'dependencies': [
'browser',
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'renderer',
'test_support_common',
'test_support_ui',
......@@ -3659,8 +3658,8 @@
'type': 'executable',
'dependencies': [
'chrome',
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'test_support_common',
'test_support_ui',
'../skia/skia.gyp:skia',
......@@ -3731,10 +3730,10 @@
'type': 'executable',
'dependencies': [
'browser',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'common',
'renderer',
'chrome_resources',
'chrome_strings',
'../content/content.gyp:content_gpu',
'../content/content.gyp:test_support_content',
'../base/base.gyp:base',
......@@ -3860,12 +3859,12 @@
'product_prefix': '_',
'dependencies': [
'chrome',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'chrome_resources.gyp:theme_resources',
'debugger',
'syncapi_core',
'test_support_common',
'chrome_resources',
'chrome_strings',
'theme_resources',
'../skia/skia.gyp:skia',
'../testing/gtest.gyp:gtest',
],
......
......@@ -69,8 +69,8 @@
'python build_nacl_irt.py --inputs',
},
'dependencies': [
'chrome_resources',
'chrome_strings',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'common',
'../webkit/support/webkit_support.gyp:glue',
'../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome',
......
......@@ -34,10 +34,10 @@
],
'target_defaults': {
'dependencies': [
'../chrome/chrome.gyp:chrome_resources',
'../chrome/chrome.gyp:chrome_strings',
'../chrome/chrome.gyp:packed_resources',
'../chrome/chrome.gyp:theme_resources',
'../chrome/chrome_resources.gyp:chrome_resources',
'../chrome/chrome_resources.gyp:chrome_strings',
'../chrome/chrome_resources.gyp:packed_resources',
'../chrome/chrome_resources.gyp:theme_resources',
'../skia/skia.gyp:skia',
],
'defines': [ 'ISOLATION_AWARE_ENABLED=1' ],
......@@ -376,10 +376,10 @@
'dependencies': [
'../base/base.gyp:test_support_base',
'../chrome/chrome.gyp:browser',
'../chrome/chrome.gyp:chrome_resources',
'../chrome/chrome.gyp:debugger',
'../chrome/chrome.gyp:renderer',
'../chrome/chrome.gyp:syncapi_core',
'../chrome/chrome_resources.gyp:chrome_resources',
'../content/content.gyp:content_gpu',
'../net/net.gyp:net',
'../net/net.gyp:net_test_support',
......
......@@ -110,6 +110,7 @@
'type': 'executable',
'dependencies': [
'../../base/base.gyp:test_support_base',
'../../chrome/chrome_resources.gyp:packed_resources',
'../../skia/skia.gyp:skia',
'../../testing/gtest.gyp:gtest',
'../gfx/compositor/compositor.gyp:compositor_test_support',
......@@ -143,11 +144,6 @@
'<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
],
}],
['OS!="mac"', {
'dependencies': [
'../../chrome/chrome.gyp:packed_resources',
],
}],
],
},
],
......
......@@ -80,6 +80,7 @@
'dependencies': [
'../../base/base.gyp:base',
'../../base/base.gyp:test_support_base',
'../../chrome/chrome_resources.gyp:packed_resources',
'../../build/temp_gyp/googleurl.gyp:googleurl',
'../../skia/skia.gyp:skia',
'../../testing/gtest.gyp:gtest',
......@@ -110,13 +111,6 @@
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
],
'conditions': [
['OS!="mac"', {
'dependencies': [
'../../chrome/chrome.gyp:packed_resources',
],
}],
],
},
{
'target_name': 'aura_shell_exe',
......@@ -124,6 +118,7 @@
'dependencies': [
'../../base/base.gyp:base',
'../../base/base.gyp:base_i18n',
'../../chrome/chrome_resources.gyp:packed_resources',
'../../skia/skia.gyp:skia',
'../../third_party/icu/icu.gyp:icui18n',
'../../third_party/icu/icu.gyp:icuuc',
......@@ -151,13 +146,6 @@
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
'<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc',
],
'conditions': [
['OS!="mac"', {
'dependencies': [
'../../chrome/chrome.gyp:packed_resources',
],
}],
],
},
# It's convenient for aura_shell developers to be able to build all
# compositor and aura targets from within this solution.
......
......@@ -130,6 +130,7 @@
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/base.gyp:test_support_base',
'<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/ui/gfx/gl/gl.gyp:gl',
......@@ -163,11 +164,6 @@
'<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
],
}],
['OS!="mac"', {
'dependencies': [
'<(DEPTH)/chrome/chrome.gyp:packed_resources',
],
}],
],
},
{
......
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
......@@ -550,6 +549,10 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
# TODO(jcivelli): ideally the resource needed by views would be
# factored out. (for some reason it pulls in a bunch
# unrelated things like v8, sqlite nss...).
'../chrome/chrome_resources.gyp:packed_resources',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../skia/skia.gyp:skia',
'../testing/gmock.gyp:gmock',
......@@ -665,14 +668,6 @@
['exclude', '../ui/aura/test/test_desktop_delegate.h'],
],
}],
['OS!="mac"', {
'dependencies': [
# TODO(jcivelli): ideally the resource needed by views would be
# factored out. (for some reason it pulls in a bunch
# unrelated things like v8, sqlite nss...).
'../chrome/chrome.gyp:packed_resources',
],
}],
],
},
{
......@@ -681,6 +676,7 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../chrome/chrome_resources.gyp:packed_resources',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
......@@ -780,11 +776,6 @@
'examples/table_example.h',
],
}],
['OS!="mac"', {
'dependencies': [
'../chrome/chrome.gyp:packed_resources',
],
}],
],
},
{
......@@ -792,6 +783,7 @@
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../chrome/chrome_resources.gyp:packed_resources',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
......@@ -837,11 +829,6 @@
'../third_party/wtl/include',
],
}],
['OS!="mac"', {
'dependencies': [
'../chrome/chrome.gyp:packed_resources',
],
}],
],
},
{
......@@ -850,6 +837,7 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../chrome/chrome_resources.gyp:packed_resources',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
......@@ -902,11 +890,6 @@
'../third_party/wtl/include',
],
}],
['OS!="mac"', {
'dependencies': [
'../chrome/chrome.gyp:packed_resources',
],
}],
],
},
],
......@@ -919,6 +902,7 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../chrome/chrome_resources.gyp:packed_resources',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
......@@ -950,11 +934,6 @@
'../third_party/wtl/include',
],
}],
['OS!="mac"', {
'dependencies': [
'../chrome/chrome.gyp:packed_resources',
],
}],
],
},
],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment