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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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
« no previous file with comments | « chrome/chrome_repack_chrome.gypi ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 5 'variables': {
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], 7 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 'target_name': 'theme_resources_gen', 204 'target_name': 'theme_resources_gen',
205 'type': 'none', 205 'type': 'none',
206 'actions': [ 206 'actions': [
207 { 207 {
208 'action_name': 'theme_resources', 208 'action_name': 'theme_resources',
209 'variables': { 209 'variables': {
210 'grit_grd_file': 'app/theme/theme_resources.grd', 210 'grit_grd_file': 'app/theme/theme_resources.grd',
211 }, 211 },
212 'includes': [ '../build/grit_action.gypi' ], 212 'includes': [ '../build/grit_action.gypi' ],
213 }, 213 },
214 {
215 'action_name': 'theme_resources_standard',
216 'variables': {
217 'grit_grd_file': 'app/theme/theme_resources_standard.grd',
218 },
219 'includes': [ '../build/grit_action.gypi' ],
220 },
221 ], 214 ],
222 'includes': [ '../build/grit_target.gypi' ], 215 'includes': [ '../build/grit_target.gypi' ],
223 }, 216 },
224 { 217 {
225 'target_name': 'theme_resources', 218 'target_name': 'theme_resources',
226 'type': 'none', 219 'type': 'none',
227 'dependencies': [ 220 'dependencies': [
228 'theme_resources_gen', 221 'theme_resources_gen',
229 '<(DEPTH)/ui/ui.gyp:ui_resources_standard', 222 '<(DEPTH)/ui/ui.gyp:ui_resources',
230 ], 223 ],
231 'conditions': [ 224 'conditions': [
232 ['OS != "mac"', { 225 ['OS != "mac"', {
233 # Copy pak files to the product directory. These files will be picked 226 # Copy pak files to the product directory. These files will be picked
234 # up by the following installer scripts: 227 # up by the following installer scripts:
235 # - Windows: chrome/installer/mini_installer/chrome.release 228 # - Windows: chrome/installer/mini_installer/chrome.release
236 # - Linux: chrome/installer/linux/internal/common/installer.include 229 # - Linux: chrome/installer/linux/internal/common/installer.include
237 # Ensure that the above scripts are updated when adding or removing 230 # Ensure that the above scripts are updated when adding or removing
238 # pak files. 231 # pak files.
239 # Copying files to the product directory is not needed on the Mac 232 # Copying files to the product directory is not needed on the Mac
240 # since the framework build phase will copy them into the framework 233 # since the framework build phase will copy them into the framework
241 # bundle directly. 234 # bundle directly.
242 'copies': [ 235 'copies': [
243 { 236 {
244 'destination': '<(PRODUCT_DIR)', 237 'destination': '<(PRODUCT_DIR)',
245 'files': [ 238 'files': [
246 '<(grit_out_dir)/theme_resources_standard.pak', 239 '<(grit_out_dir)/theme_resources_standard.pak',
247 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource s_standard.pak', 240 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_standar d.pak',
248 ], 241 ],
249 }, 242 },
250 ], 243 ],
251 }], 244 }],
252 ['(OS != "mac" and enable_hidpi == 1) or chromeos == 1', { 245 ['(OS != "mac" and enable_hidpi == 1) or chromeos == 1', {
253 'copies': [ 246 'copies': [
254 { 247 {
255 'destination': '<(PRODUCT_DIR)', 248 'destination': '<(PRODUCT_DIR)',
256 'files': [ 249 'files': [
257 '<(grit_out_dir)/theme_resources_2x.pak', 250 '<(grit_out_dir)/theme_resources_2x.pak',
258 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource s_2x.pak', 251 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_2x.pak' ,
259 ], 252 ],
260 }, 253 },
261 ], 254 ],
262 }], 255 }],
263 ['enable_touch_ui==1', { 256 ['enable_touch_ui==1', {
264 'copies': [ 257 'copies': [
265 { 258 {
266 'destination': '<(PRODUCT_DIR)', 259 'destination': '<(PRODUCT_DIR)',
267 'files': [ 260 'files': [
268 '<(grit_out_dir)/theme_resources_touch_1x.pak', 261 '<(grit_out_dir)/theme_resources_touch_1x.pak',
269 '<(grit_out_dir)/theme_resources_touch_2x.pak', 262 '<(grit_out_dir)/theme_resources_touch_2x.pak',
270 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource s_touch.pak', 263 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_touch.p ak',
271 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource s_touch_2x.pak', 264 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_touch_2 x.pak',
272 ], 265 ],
273 }, 266 },
274 ], 267 ],
275 }], 268 }],
276 ], 269 ],
277 }, 270 },
278 { 271 {
279 'target_name': 'packed_extra_resources', 272 'target_name': 'packed_extra_resources',
280 'type': 'none', 273 'type': 'none',
281 'variables': { 274 'variables': {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 'chrome_resources', 309 'chrome_resources',
317 'chrome_strings', 310 'chrome_strings',
318 'platform_locale_settings', 311 'platform_locale_settings',
319 'theme_resources', 312 'theme_resources',
320 # TODO(zork): Protect this with if use_aura==1 313 # TODO(zork): Protect this with if use_aura==1
321 '<(DEPTH)/ash/ash_strings.gyp:ash_strings', 314 '<(DEPTH)/ash/ash_strings.gyp:ash_strings',
322 '<(DEPTH)/content/content_resources.gyp:content_resources', 315 '<(DEPTH)/content/content_resources.gyp:content_resources',
323 '<(DEPTH)/net/net.gyp:net_resources', 316 '<(DEPTH)/net/net.gyp:net_resources',
324 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings', 317 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings',
325 '<(DEPTH)/ui/ui.gyp:ui_resources', 318 '<(DEPTH)/ui/ui.gyp:ui_resources',
326 '<(DEPTH)/ui/ui.gyp:ui_resources_standard',
327 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', 319 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources',
328 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', 320 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings',
329 ], 321 ],
330 'actions': [ 322 'actions': [
331 { 323 {
332 'includes': ['chrome_repack_chrome.gypi'] 324 'includes': ['chrome_repack_chrome.gypi']
333 }, 325 },
334 { 326 {
335 'includes': ['chrome_repack_locales.gypi'] 327 'includes': ['chrome_repack_locales.gypi']
336 }, 328 },
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 'files': ['<@(default_apps_list)'] 367 'files': ['<@(default_apps_list)']
376 }, 368 },
377 ], 369 ],
378 }], 370 }],
379 ], # conditions 371 ], # conditions
380 }], # end OS != "mac" 372 }], # end OS != "mac"
381 ], # conditions 373 ], # conditions
382 }, 374 },
383 ], # targets 375 ], # targets
384 } 376 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_chrome.gypi ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698