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