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 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2125 'bundle_id': 'com.google.Chrome', | 2125 'bundle_id': 'com.google.Chrome', |
2126 }, | 2126 }, |
2127 }, { # else: 'branding!="Chrome" | 2127 }, { # else: 'branding!="Chrome" |
2128 'mac_bundle_resources': ['app/theme/chromium/app.icns'], | 2128 'mac_bundle_resources': ['app/theme/chromium/app.icns'], |
2129 'variables': { | 2129 'variables': { |
2130 'bundle_id': 'org.chromium.Chromium', | 2130 'bundle_id': 'org.chromium.Chromium', |
2131 }, | 2131 }, |
2132 }], | 2132 }], |
2133 ['mac_breakpad==1', { | 2133 ['mac_breakpad==1', { |
2134 # Only include breakpad in official builds. | 2134 # Only include breakpad in official builds. |
| 2135 'variables': { |
| 2136 # A real .dSYM is needed for dump_syms to operate on. |
| 2137 'mac_real_dsym': 1, |
| 2138 }, |
2135 'dependencies': [ | 2139 'dependencies': [ |
2136 '../breakpad/breakpad.gyp:breakpad', | 2140 '../breakpad/breakpad.gyp:breakpad', |
2137 '../breakpad/breakpad.gyp:dump_syms', | 2141 '../breakpad/breakpad.gyp:dump_syms', |
2138 '../breakpad/breakpad.gyp:symupload', | 2142 '../breakpad/breakpad.gyp:symupload', |
2139 ], | 2143 ], |
2140 'copies': [ | 2144 'copies': [ |
2141 { | 2145 { |
2142 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Resources/', | 2146 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Resources/', |
2143 'files': ['<(PRODUCT_DIR)/crash_inspector', '<(PRODUCT_DIR)/cr
ash_report_sender.app'], | 2147 'files': ['<(PRODUCT_DIR)/crash_inspector', '<(PRODUCT_DIR)/cr
ash_report_sender.app'], |
2144 }, | 2148 }, |
2145 ], | 2149 ], |
2146 'target_conditions': [ | 2150 'postbuilds': [ |
2147 # We use target_conditions here that is always true to force | 2151 { |
2148 # this post build to run last. This lets the strip from | 2152 'postbuild_name': 'Dump Symbols', |
2149 # common.gypi go ahead of it, so we can always hit the | 2153 'action': ['<(DEPTH)/build/mac/dump_app_syms', |
2150 # upstripped app within the fake dSYM. | 2154 '<(branding)'], |
2151 ['1', { | 2155 }, |
2152 'postbuilds': [ | |
2153 { | |
2154 'postbuild_name': 'Dump Symbols', | |
2155 'action': ['<(DEPTH)/build/mac/dump_app_syms', | |
2156 '<(branding)'], | |
2157 }, | |
2158 ], | |
2159 }], | |
2160 ], | 2156 ], |
2161 }], # mac_breakpad | 2157 }], # mac_breakpad |
2162 ['mac_keystone==1', { | 2158 ['mac_keystone==1', { |
2163 'copies': [ | 2159 'copies': [ |
2164 { | 2160 { |
2165 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Frameworks/', | 2161 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Frameworks/', |
2166 'files': ['../third_party/googlemac/Releases/Keystone/Keystone
Registration.framework'], | 2162 'files': ['../third_party/googlemac/Releases/Keystone/Keystone
Registration.framework'], |
2167 }, | 2163 }, |
2168 ], | 2164 ], |
2169 }], # mac_keystone | 2165 }], # mac_keystone |
2170 ], | 2166 ], |
2171 'product_name': '<(mac_product_name)', | 2167 'product_name': '<(mac_product_name)', |
2172 'xcode_settings': { | 2168 'xcode_settings': { |
2173 # chrome/app/app-Info.plist has: | 2169 # chrome/app/app-Info.plist has: |
2174 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID | 2170 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
2175 # CFBundleName of CHROMIUM_SHORT_NAME | 2171 # CFBundleName of CHROMIUM_SHORT_NAME |
2176 # Xcode then replaces these values with the branded values we set | 2172 # Xcode then replaces these values with the branded values we set |
2177 # as settings on the target. | 2173 # as settings on the target. |
2178 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', | 2174 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', |
2179 'CHROMIUM_SHORT_NAME': '<(branding)', | 2175 'CHROMIUM_SHORT_NAME': '<(branding)', |
(...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4097 # Use outputs of this action as inputs for the main target build. | 4093 # Use outputs of this action as inputs for the main target build. |
4098 # Seems as a misnomer but makes this happy on Linux (scons). | 4094 # Seems as a misnomer but makes this happy on Linux (scons). |
4099 'process_outputs_as_sources': 1, | 4095 'process_outputs_as_sources': 1, |
4100 }, | 4096 }, |
4101 ], # 'actions' | 4097 ], # 'actions' |
4102 }, | 4098 }, |
4103 ] | 4099 ] |
4104 }], | 4100 }], |
4105 ], # 'conditions' | 4101 ], # 'conditions' |
4106 } | 4102 } |
OLD | NEW |