| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 'views_unit_tests_sources_win_specific': [ | 63 'views_unit_tests_sources_win_specific': [ |
| 64 # TODO(jcampan): make the following tests work on Linux. | 64 # TODO(jcampan): make the following tests work on Linux. |
| 65 '../views/controls/label_unittest.cc', | 65 '../views/controls/label_unittest.cc', |
| 66 '../views/controls/table/table_view_unittest.cc', | 66 '../views/controls/table/table_view_unittest.cc', |
| 67 '../views/grid_layout_unittest.cc', | 67 '../views/grid_layout_unittest.cc', |
| 68 ], | 68 ], |
| 69 'conditions': [ | 69 'conditions': [ |
| 70 ['OS=="mac"', { | 70 ['OS=="mac"', { |
| 71 'conditions': [ | 71 'conditions': [ |
| 72 ['branding=="Chrome"', { | 72 ['branding=="Chrome"', { |
| 73 'bundle_id': 'com.google.Chrome', | 73 'mac_bundle_id': 'com.google.Chrome', |
| 74 'mac_creator': 'rimZ', |
| 74 }, { # else: branding!="Chrome" | 75 }, { # else: branding!="Chrome" |
| 75 'bundle_id': 'org.chromium.Chromium', | 76 'mac_bundle_id': 'org.chromium.Chromium', |
| 77 'mac_creator': 'Cr24', |
| 76 }], # branding | 78 }], # branding |
| 77 ], # conditions | 79 ], # conditions |
| 78 }], # OS=="mac" | 80 }], # OS=="mac" |
| 79 ], # conditions | 81 ], # conditions |
| 80 }, | 82 }, |
| 81 'includes': [ | 83 'includes': [ |
| 82 '../build/common.gypi', | 84 '../build/common.gypi', |
| 83 ], | 85 ], |
| 84 'target_defaults': { | 86 'target_defaults': { |
| 85 'sources/': [ | 87 'sources/': [ |
| (...skipping 2998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3084 ], | 3086 ], |
| 3085 }], # mac_keystone | 3087 }], # mac_keystone |
| 3086 ], | 3088 ], |
| 3087 'product_name': '<(mac_product_name)', | 3089 'product_name': '<(mac_product_name)', |
| 3088 'xcode_settings': { | 3090 'xcode_settings': { |
| 3089 # chrome/app/app-Info.plist has: | 3091 # chrome/app/app-Info.plist has: |
| 3090 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID | 3092 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
| 3091 # CFBundleName of CHROMIUM_SHORT_NAME | 3093 # CFBundleName of CHROMIUM_SHORT_NAME |
| 3092 # Xcode then replaces these values with the branded values we set | 3094 # Xcode then replaces these values with the branded values we set |
| 3093 # as settings on the target. | 3095 # as settings on the target. |
| 3094 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', | 3096 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 3097 'CHROMIUM_CREATOR': '<(mac_creator)', |
| 3095 'CHROMIUM_SHORT_NAME': '<(branding)', | 3098 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 3096 }, | 3099 }, |
| 3097 'mac_bundle_resources': [ | 3100 'mac_bundle_resources': [ |
| 3098 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', | 3101 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', |
| 3099 ], | 3102 ], |
| 3100 'dependencies': [ | 3103 'dependencies': [ |
| 3101 'helper_app', | 3104 'helper_app', |
| 3102 # Bring in pdfsqueeze and run it on all pdfs | 3105 # Bring in pdfsqueeze and run it on all pdfs |
| 3103 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 3106 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 3104 ], | 3107 ], |
| (...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4508 'mac_bundle_resources!': [ | 4511 'mac_bundle_resources!': [ |
| 4509 'app/helper-Info.plist', | 4512 'app/helper-Info.plist', |
| 4510 ], | 4513 ], |
| 4511 # TODO(mark): For now, don't put any resources into this app. Its | 4514 # TODO(mark): For now, don't put any resources into this app. Its |
| 4512 # resources directory will be a symbolic link to the browser app's | 4515 # resources directory will be a symbolic link to the browser app's |
| 4513 # resources directory. | 4516 # resources directory. |
| 4514 'mac_bundle_resources/': [ | 4517 'mac_bundle_resources/': [ |
| 4515 ['exclude', '.*'], | 4518 ['exclude', '.*'], |
| 4516 ], | 4519 ], |
| 4517 'xcode_settings': { | 4520 'xcode_settings': { |
| 4518 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', | 4521 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 4519 'CHROMIUM_SHORT_NAME': '<(branding)', | 4522 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 4520 'INFOPLIST_FILE': 'app/helper-Info.plist', | 4523 'INFOPLIST_FILE': 'app/helper-Info.plist', |
| 4521 }, | 4524 }, |
| 4522 'copies': [ | 4525 'copies': [ |
| 4523 { | 4526 { |
| 4524 'destination': '<(PRODUCT_DIR)/<(mac_product_name) Helper.app/Cont
ents/MacOS', | 4527 'destination': '<(PRODUCT_DIR)/<(mac_product_name) Helper.app/Cont
ents/MacOS', |
| 4525 'files': [ | 4528 'files': [ |
| 4526 '<(PRODUCT_DIR)/plugin_carbon_interpose.dylib', | 4529 '<(PRODUCT_DIR)/plugin_carbon_interpose.dylib', |
| 4527 ], | 4530 ], |
| 4528 }, | 4531 }, |
| (...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5482 # Use outputs of this action as inputs for the main target build. | 5485 # Use outputs of this action as inputs for the main target build. |
| 5483 # Seems as a misnomer but makes this happy on Linux (scons). | 5486 # Seems as a misnomer but makes this happy on Linux (scons). |
| 5484 'process_outputs_as_sources': 1, | 5487 'process_outputs_as_sources': 1, |
| 5485 }, | 5488 }, |
| 5486 ], # 'actions' | 5489 ], # 'actions' |
| 5487 }, | 5490 }, |
| 5488 ] | 5491 ] |
| 5489 }], | 5492 }], |
| 5490 ], # 'conditions' | 5493 ], # 'conditions' |
| 5491 } | 5494 } |
| OLD | NEW |