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