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

Side by Side Diff: apps/apps.gypi

Issue 216013003: Clean up repack.py and repack_locale.py usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'apps', 8 'target_name': 'apps',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 10 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 'chrome_resources.gyp:chrome_resources', 110 'chrome_resources.gyp:chrome_resources',
111 # Need app related resources in theme_resources_100_percent.pak 111 # Need app related resources in theme_resources_100_percent.pak
112 'chrome_resources.gyp:theme_resources', 112 'chrome_resources.gyp:theme_resources',
113 # Need dev-tools related resources in shell_resources.pak and 113 # Need dev-tools related resources in shell_resources.pak and
114 # devtools_resources.pak. 114 # devtools_resources.pak.
115 '../content/content_shell_and_tests.gyp:generate_content_shell_resou rces', 115 '../content/content_shell_and_tests.gyp:generate_content_shell_resou rces',
116 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc es', 116 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc es',
117 '../ui/base/strings/ui_strings.gyp:ui_strings', 117 '../ui/base/strings/ui_strings.gyp:ui_strings',
118 '../ui/resources/ui_resources.gyp:ui_resources', 118 '../ui/resources/ui_resources.gyp:ui_resources',
119 ], 119 ],
120 'variables': {
121 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
122 },
123 'actions': [ 120 'actions': [
124 { 121 {
125 'action_name': 'repack_app_shell_pack', 122 'action_name': 'repack_app_shell_pack',
126 'variables': { 123 'variables': {
127 'pak_inputs': [ 124 'pak_inputs': [
128 '<(grit_out_dir)/common_resources.pak', 125 '<(grit_out_dir)/common_resources.pak',
129 '<(grit_out_dir)/extensions_api_resources.pak', 126 '<(grit_out_dir)/extensions_api_resources.pak',
130 # TODO(jamescook): extra the extension/app related resources 127 # TODO(jamescook): extra the extension/app related resources
131 # from generated_resources_en-US.pak and 128 # from generated_resources_en-US.pak and
132 # theme_resources_100_percent.pak. 129 # theme_resources_100_percent.pak.
133 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.p ak', 130 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.p ak',
134 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_perc ent.pak', 131 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_perc ent.pak',
135 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_100_percent .pak', 132 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_100_percent .pak',
136 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', 133 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
137 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_ settings_en-US.pak', 134 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_ settings_en-US.pak',
138 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_p ercent.pak', 135 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_p ercent.pak',
139 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak ', 136 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak ',
140 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', 137 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
141 ], 138 ],
139 'pak_output': '<(PRODUCT_DIR)/app_shell.pak',
142 }, 140 },
143 'inputs': [ 141 'includes': [ '../build/repack_action.gypi' ],
144 '<(repack_path)',
145 '<@(pak_inputs)',
146 ],
147 'outputs': [
148 '<(PRODUCT_DIR)/app_shell.pak',
149 ],
150 'action': ['python', '<(repack_path)', '<@(_outputs)',
151 '<@(pak_inputs)'],
152 }, 142 },
153 ], 143 ],
154 }, 144 },
155 { 145 {
156 'target_name': 'app_shell_lib', 146 'target_name': 'app_shell_lib',
157 'type': 'static_library', 147 'type': 'static_library',
158 'defines!': ['CONTENT_IMPLEMENTATION'], 148 'defines!': ['CONTENT_IMPLEMENTATION'],
159 'variables': { 149 'variables': {
160 'chromium_code': 1, 150 'chromium_code': 1,
161 }, 151 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 'test/app_shell_test.cc', 254 'test/app_shell_test.cc',
265 'test/apps_test_launcher_delegate.cc', 255 'test/apps_test_launcher_delegate.cc',
266 'test/apps_test_launcher_delegate.h', 256 'test/apps_test_launcher_delegate.h',
267 'test/apps_tests_main.cc', 257 'test/apps_tests_main.cc',
268 ], 258 ],
269 }, 259 },
270 ], # targets 260 ], # targets
271 }], # chromeos==1 or linux aura or win aura 261 }], # chromeos==1 or linux aura or win aura
272 ], # conditions 262 ], # conditions
273 } 263 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698