OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'chrome', | 8 'target_name': 'chrome', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'mac_bundle': 1, | 10 'mac_bundle': 1, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 'app/theme/google_chrome/document.icns', | 159 'app/theme/google_chrome/document.icns', |
160 'browser/ui/cocoa/applescript/scripting.sdef', | 160 'browser/ui/cocoa/applescript/scripting.sdef', |
161 ], | 161 ], |
162 }, { # else: 'branding!="Chrome" | 162 }, { # else: 'branding!="Chrome" |
163 'mac_bundle_resources': [ | 163 'mac_bundle_resources': [ |
164 'app/theme/chromium/app.icns', | 164 'app/theme/chromium/app.icns', |
165 'app/theme/chromium/document.icns', | 165 'app/theme/chromium/document.icns', |
166 'browser/ui/cocoa/applescript/scripting.sdef', | 166 'browser/ui/cocoa/applescript/scripting.sdef', |
167 ], | 167 ], |
168 }], | 168 }], |
169 ['mac_breakpad==1', { | 169 ['mac_breakpad_symbols==1', { |
170 'variables': { | 170 'variables': { |
171 # A real .dSYM is needed for dump_syms to operate on. | 171 # A real .dSYM is needed for dump_syms to operate on. |
172 'mac_real_dsym': 1, | 172 'mac_real_dsym': 1, |
173 }, | 173 }, |
174 'xcode_settings': { | 174 'xcode_settings': { |
175 # With mac_real_dsym set, strip_from_xcode won't be used. | 175 # With mac_real_dsym set, strip_from_xcode won't be used. |
176 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode. | 176 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode. |
177 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)', | 177 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)', |
178 }, | 178 }, |
179 'dependencies': [ | 179 'dependencies': [ |
(...skipping 26 matching lines...) Expand all Loading... |
206 'variables': { | 206 'variables': { |
207 'dump_product_syms_path': | 207 'dump_product_syms_path': |
208 'tools/build/mac/dump_product_syms', | 208 'tools/build/mac/dump_product_syms', |
209 }, | 209 }, |
210 'action': ['<(dump_product_syms_path)', | 210 'action': ['<(dump_product_syms_path)', |
211 '<(branding)'], | 211 '<(branding)'], |
212 }, | 212 }, |
213 ], | 213 ], |
214 }], | 214 }], |
215 ], | 215 ], |
216 }], # mac_breakpad | 216 }], # mac_breakpad_symbols |
217 ], | 217 ], |
218 'product_name': '<(mac_product_name)', | 218 'product_name': '<(mac_product_name)', |
219 'xcode_settings': { | 219 'xcode_settings': { |
220 # chrome/app/app-Info.plist has: | 220 # chrome/app/app-Info.plist has: |
221 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID | 221 # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
222 # CFBundleName of CHROMIUM_SHORT_NAME | 222 # CFBundleName of CHROMIUM_SHORT_NAME |
223 # CFBundleSignature of CHROMIUM_CREATOR | 223 # CFBundleSignature of CHROMIUM_CREATOR |
224 # Xcode then replaces these values with the branded values we set | 224 # Xcode then replaces these values with the branded values we set |
225 # as settings on the target. | 225 # as settings on the target. |
226 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 226 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 'postbuild_name': 'Copy <(mac_product_name) Framework.framework', | 294 'postbuild_name': 'Copy <(mac_product_name) Framework.framework', |
295 'action': [ | 295 'action': [ |
296 'tools/build/mac/copy_framework_unversioned', | 296 'tools/build/mac/copy_framework_unversioned', |
297 '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Framework.framework', | 297 '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Framework.framework', |
298 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(versio
n_full)', | 298 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(versio
n_full)', |
299 ], | 299 ], |
300 }, | 300 }, |
301 { | 301 { |
302 # Modify the Info.plist as needed. The script explains why this | 302 # Modify the Info.plist as needed. The script explains why this |
303 # is needed. This is also done in the helper_app and chrome_dll | 303 # is needed. This is also done in the helper_app and chrome_dll |
304 # targets. Use -b0 to not include any Breakpad information; that | 304 # targets. Use --breakpad=0 to not include any Breakpad |
305 # all goes into the framework's Info.plist. Keystone information | 305 # information; that all goes into the framework's Info.plist. |
306 # is included if Keystone is enabled. The application reads | 306 # Keystone information is included if Keystone is enabled. The |
307 # Keystone keys from this plist and not the framework's, and | 307 # application reads Keystone keys from this plist and not the |
308 # the ticket will reference this Info.plist to determine the tag | 308 # framework's, and the ticket will reference this Info.plist to |
309 # of the installed product. Use -s1 to include Subversion | 309 # determine the tag of the installed product. Use -s1 to |
310 # information. The -p flag controls whether to insert PDF as a | 310 # include Subversion information. The -p flag controls whether |
311 # supported type identifier that can be opened. | 311 # to insert PDF as a supported type identifier that can be |
| 312 # opened. |
312 'postbuild_name': 'Tweak Info.plist', | 313 'postbuild_name': 'Tweak Info.plist', |
313 'action': ['<(tweak_info_plist_path)', | 314 'action': ['<(tweak_info_plist_path)', |
314 '-b0', | 315 '--breakpad=0', |
315 '-k<(mac_keystone)', | 316 '-k<(mac_keystone)', |
316 '-s1', | 317 '-s1', |
317 '-p<(internal_pdf)', | 318 '-p<(internal_pdf)', |
318 '<(branding)', | 319 '<(branding)', |
319 '<(mac_bundle_id)'], | 320 '<(mac_bundle_id)'], |
320 }, | 321 }, |
321 { | 322 { |
322 'postbuild_name': 'Clean up old versions', | 323 'postbuild_name': 'Clean up old versions', |
323 'action': [ | 324 'action': [ |
324 'tools/build/mac/clean_up_old_versions', | 325 'tools/build/mac/clean_up_old_versions', |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 'configurations': { | 549 'configurations': { |
549 'Common_Base': { | 550 'Common_Base': { |
550 'msvs_target_platform': 'x64', | 551 'msvs_target_platform': 'x64', |
551 }, | 552 }, |
552 }, | 553 }, |
553 }, | 554 }, |
554 ], | 555 ], |
555 }], | 556 }], |
556 ], | 557 ], |
557 } | 558 } |
OLD | NEW |