OLD | NEW |
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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="mac" or OS=="win"', { | 6 ['OS=="mac" or OS=="win"', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'chrome_dll', | 9 'target_name': 'chrome_dll', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 # TODO: It would be nice to have these pulled in | 93 # TODO: It would be nice to have these pulled in |
94 # automatically from direct_dependent_settings in | 94 # automatically from direct_dependent_settings in |
95 # their various targets (net.gyp:net_resources, etc.), | 95 # their various targets (net.gyp:net_resources, etc.), |
96 # but that causes errors in other targets when | 96 # but that causes errors in other targets when |
97 # resulting .res files get referenced multiple times. | 97 # resulting .res files get referenced multiple times. |
98 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 98 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
99 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 99 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
100 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc', | 100 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc', |
101 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', | 101 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
102 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | 102 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| 103 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', |
103 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc', | 104 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc', |
104 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | 105 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
105 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | 106 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
106 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 107 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
107 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.rc', | 108 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.rc', |
108 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc'
, | 109 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc'
, |
109 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | 110 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
110 | 111 |
111 # TODO(sgk): left-over from pre-gyp build, figure out | 112 # TODO(sgk): left-over from pre-gyp build, figure out |
112 # if we still need them and/or how to update to gyp. | 113 # if we still need them and/or how to update to gyp. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 'app/theme/omnibox_http.pdf', | 297 'app/theme/omnibox_http.pdf', |
297 'app/theme/omnibox_https_invalid.pdf', | 298 'app/theme/omnibox_https_invalid.pdf', |
298 'app/theme/omnibox_https_valid.pdf', | 299 'app/theme/omnibox_https_valid.pdf', |
299 'app/theme/omnibox_https_warning.pdf', | 300 'app/theme/omnibox_https_warning.pdf', |
300 'app/theme/omnibox_search.pdf', | 301 'app/theme/omnibox_search.pdf', |
301 'app/theme/omnibox_tts.pdf', | 302 'app/theme/omnibox_tts.pdf', |
302 'app/theme/otr_icon.pdf', | 303 'app/theme/otr_icon.pdf', |
303 'app/theme/star.pdf', | 304 'app/theme/star.pdf', |
304 'app/theme/star_lit.pdf', | 305 'app/theme/star_lit.pdf', |
305 'browser/mac/install.sh', | 306 'browser/mac/install.sh', |
306 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', | 307 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', |
307 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 308 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
308 '<(grit_out_dir)/theme_resources_standard.pak', | |
309 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resource
s_standard.pak', | |
310 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHAR
ED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | 309 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHAR
ED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
311 # Note: pseudo_locales are generated via the packed_resources | 310 # Note: pseudo_locales are generated via the packed_resources |
312 # dependency but not copied to the final target. See | 311 # dependency but not copied to the final target. See |
313 # common.gypi for more info. | 312 # common.gypi for more info. |
314 ], | 313 ], |
315 'mac_bundle_resources!': [ | 314 'mac_bundle_resources!': [ |
316 'app/framework-Info.plist', | 315 'app/framework-Info.plist', |
317 ], | 316 ], |
318 'dependencies': [ | 317 'dependencies': [ |
319 'app_mode_app', | 318 'app_mode_app', |
(...skipping 28 matching lines...) Expand all Loading... |
348 'variables': { | 347 'variables': { |
349 'conditions': [ | 348 'conditions': [ |
350 ['branding=="Chrome"', { | 349 ['branding=="Chrome"', { |
351 'theme_dir_name': 'google_chrome', | 350 'theme_dir_name': 'google_chrome', |
352 }, { # else: 'branding!="Chrome" | 351 }, { # else: 'branding!="Chrome" |
353 'theme_dir_name': 'chromium', | 352 'theme_dir_name': 'chromium', |
354 }], | 353 }], |
355 ], | 354 ], |
356 'repack_path': '../tools/grit/grit/format/repack.py', | 355 'repack_path': '../tools/grit/grit/format/repack.py', |
357 }, | 356 }, |
| 357 'actions': [ |
| 358 { |
| 359 'includes': ['chrome_repack_theme_resources_2x.gypi'] |
| 360 }, |
| 361 ], |
358 'postbuilds': [ | 362 'postbuilds': [ |
359 { | 363 { |
360 # This step causes an error to be raised if the .order file | 364 # This step causes an error to be raised if the .order file |
361 # does not account for all global text symbols. It | 365 # does not account for all global text symbols. It |
362 # validates the completeness of the .order file. | 366 # validates the completeness of the .order file. |
363 'postbuild_name': 'Verify global text symbol order', | 367 'postbuild_name': 'Verify global text symbol order', |
364 'variables': { | 368 'variables': { |
365 'verify_order_path': 'tools/build/mac/verify_order', | 369 'verify_order_path': 'tools/build/mac/verify_order', |
366 }, | 370 }, |
367 'action': [ | 371 'action': [ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' | 530 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
527 ], | 531 ], |
528 }, | 532 }, |
529 ], | 533 ], |
530 }], # mac_keystone | 534 }], # mac_keystone |
531 ['internal_pdf', { | 535 ['internal_pdf', { |
532 'dependencies': [ | 536 'dependencies': [ |
533 '../pdf/pdf.gyp:pdf', | 537 '../pdf/pdf.gyp:pdf', |
534 ], | 538 ], |
535 }], | 539 }], |
536 ['enable_hidpi==1', { | |
537 'mac_bundle_resources': [ | |
538 '<(grit_out_dir)/theme_resources_2x.pak', | |
539 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_2x/ui_resources_
2x.pak', | |
540 ], | |
541 }], | |
542 ], # conditions | 540 ], # conditions |
543 }], # OS=="mac" | 541 }], # OS=="mac" |
544 ], # conditions | 542 ], # conditions |
545 }, # target chrome_dll | 543 }, # target chrome_dll |
546 ], # targets | 544 ], # targets |
547 }], # OS=="mac" or OS=="win" | 545 }], # OS=="mac" or OS=="win" |
548 ], | 546 ], |
549 } | 547 } |
OLD | NEW |