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 | 8 |
9 'variables': { | 9 'variables': { |
10 'version_py_path': 'tools/build/version.py', | 10 'version_py_path': 'tools/build/version.py', |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 ], | 133 ], |
134 },], | 134 },], |
135 ['OS=="linux"', { | 135 ['OS=="linux"', { |
136 'nacl_defines': [ | 136 'nacl_defines': [ |
137 'NACL_WINDOWS=0', | 137 'NACL_WINDOWS=0', |
138 'NACL_LINUX=1', | 138 'NACL_LINUX=1', |
139 'NACL_OSX=0', | 139 'NACL_OSX=0', |
140 ], | 140 ], |
141 },], | 141 },], |
142 ['OS=="mac"', { | 142 ['OS=="mac"', { |
| 143 'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist', |
143 'nacl_defines': [ | 144 'nacl_defines': [ |
144 'NACL_WINDOWS=0', | 145 'NACL_WINDOWS=0', |
145 'NACL_LINUX=0', | 146 'NACL_LINUX=0', |
146 'NACL_OSX=1', | 147 'NACL_OSX=1', |
147 ], | 148 ], |
148 'conditions': [ | 149 'conditions': [ |
149 ['branding=="Chrome"', { | 150 ['branding=="Chrome"', { |
150 'mac_bundle_id': 'com.google.Chrome', | 151 'mac_bundle_id': 'com.google.Chrome', |
151 'mac_creator': 'rimZ', | 152 'mac_creator': 'rimZ', |
152 }, { # else: branding!="Chrome" | 153 }, { # else: branding!="Chrome" |
(...skipping 3408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3561 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(versio
n_full)', | 3562 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(versio
n_full)', |
3562 ], | 3563 ], |
3563 }, | 3564 }, |
3564 { | 3565 { |
3565 # Modify the Info.plist as needed. The script explains why this | 3566 # Modify the Info.plist as needed. The script explains why this |
3566 # is needed. This is also done in the helper_app and chrome_dll | 3567 # is needed. This is also done in the helper_app and chrome_dll |
3567 # targets. Use -b0 and -k0 to not include any Breakpad or | 3568 # targets. Use -b0 and -k0 to not include any Breakpad or |
3568 # Keystone information; that all goes into the framework's | 3569 # Keystone information; that all goes into the framework's |
3569 # Info.plist. Use -s1 to include Subversion information. | 3570 # Info.plist. Use -s1 to include Subversion information. |
3570 'postbuild_name': 'Tweak Info.plist', | 3571 'postbuild_name': 'Tweak Info.plist', |
3571 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 3572 'action': ['<(tweak_info_plist_path)', |
3572 '-b0', | 3573 '-b0', |
3573 '-k0', | 3574 '-k0', |
3574 '-s1', | 3575 '-s1', |
3575 '<(branding)'], | 3576 '<(branding)', |
| 3577 '<(mac_bundle_id)'], |
3576 }, | 3578 }, |
3577 { | 3579 { |
3578 'postbuild_name': 'Tweak Mac lproj folders', | 3580 'postbuild_name': 'Tweak Mac lproj folders', |
3579 'action': ['app/tweak_mac_lproj_folders'], | 3581 'action': ['app/tweak_mac_lproj_folders'], |
3580 }, | 3582 }, |
3581 { | 3583 { |
3582 # TODO(mark): Remove after October 20, 2009. | 3584 # TODO(mark): Remove after October 20, 2009. |
3583 'postbuild_name': 'Clean up old resources', | 3585 'postbuild_name': 'Clean up old resources', |
3584 'action': ['app/clean_mac_resources'], | 3586 'action': ['app/clean_mac_resources'], |
3585 }, | 3587 }, |
(...skipping 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5232 ], | 5234 ], |
5233 'postbuilds': [ | 5235 'postbuilds': [ |
5234 { | 5236 { |
5235 # Modify the Info.plist as needed. The script explains why | 5237 # Modify the Info.plist as needed. The script explains why |
5236 # this is needed. This is also done in the chrome target. | 5238 # this is needed. This is also done in the chrome target. |
5237 # The framework needs the Breakpad and Keystone keys if | 5239 # The framework needs the Breakpad and Keystone keys if |
5238 # those features are enabled. It doesn't currently use the | 5240 # those features are enabled. It doesn't currently use the |
5239 # Subversion keys for anything, but this seems like a really | 5241 # Subversion keys for anything, but this seems like a really |
5240 # good place to store them. | 5242 # good place to store them. |
5241 'postbuild_name': 'Tweak Info.plist', | 5243 'postbuild_name': 'Tweak Info.plist', |
5242 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 5244 'action': ['<(tweak_info_plist_path)', |
5243 '-b<(mac_breakpad)', | 5245 '-b<(mac_breakpad)', |
5244 '-k<(mac_keystone)', | 5246 '-k<(mac_keystone)', |
5245 '-s1', | 5247 '-s1', |
5246 '<(branding)'], | 5248 '<(branding)', |
| 5249 '<(mac_bundle_id)'], |
5247 }, | 5250 }, |
5248 { | 5251 { |
5249 'postbuild_name': 'Tweak Mac lproj folders', | 5252 'postbuild_name': 'Tweak Mac lproj folders', |
5250 'action': ['app/tweak_mac_lproj_folders'], | 5253 'action': ['app/tweak_mac_lproj_folders'], |
5251 }, | 5254 }, |
5252 { | 5255 { |
5253 'postbuild_name': 'Symlink Libraries', | 5256 'postbuild_name': 'Symlink Libraries', |
5254 'action': [ | 5257 'action': [ |
5255 'ln', | 5258 'ln', |
5256 '-fhs', | 5259 '-fhs', |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5456 ], | 5459 ], |
5457 }, | 5460 }, |
5458 { | 5461 { |
5459 # Modify the Info.plist as needed. The script explains why this | 5462 # Modify the Info.plist as needed. The script explains why this |
5460 # is needed. This is also done in the chrome and chrome_dll | 5463 # is needed. This is also done in the chrome and chrome_dll |
5461 # targets. In this case, -b0 and -k0 are used because Breakpad | 5464 # targets. In this case, -b0 and -k0 are used because Breakpad |
5462 # and Keystone keys are never placed into the helper, only into | 5465 # and Keystone keys are never placed into the helper, only into |
5463 # the framework. -s0 is used because Subversion keys are only | 5466 # the framework. -s0 is used because Subversion keys are only |
5464 # placed into the main app. | 5467 # placed into the main app. |
5465 'postbuild_name': 'Tweak Info.plist', | 5468 'postbuild_name': 'Tweak Info.plist', |
5466 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 5469 'action': ['<(tweak_info_plist_path)', |
5467 '-b0', | 5470 '-b0', |
5468 '-k0', | 5471 '-k0', |
5469 '-s0', | 5472 '-s0', |
5470 '<(branding)'], | 5473 '<(branding)', |
| 5474 '<(mac_bundle_id)'], |
5471 }, | 5475 }, |
5472 { | 5476 { |
5473 'postbuild_name': 'Tweak Mac lproj folders', | 5477 'postbuild_name': 'Tweak Mac lproj folders', |
5474 'action': ['app/tweak_mac_lproj_folders'], | 5478 'action': ['app/tweak_mac_lproj_folders'], |
5475 }, | 5479 }, |
5476 ], | 5480 ], |
5477 'conditions': [ | 5481 'conditions': [ |
5478 ['mac_breakpad==1', { | 5482 ['mac_breakpad==1', { |
5479 'variables': { | 5483 'variables': { |
5480 # A real .dSYM is needed for dump_syms to operate on. | 5484 # A real .dSYM is needed for dump_syms to operate on. |
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6839 ], # targets when chrome_personalization==1 | 6843 ], # targets when chrome_personalization==1 |
6840 }], | 6844 }], |
6841 ], # 'conditions' | 6845 ], # 'conditions' |
6842 } | 6846 } |
6843 | 6847 |
6844 # Local Variables: | 6848 # Local Variables: |
6845 # tab-width:2 | 6849 # tab-width:2 |
6846 # indent-tabs-mode:nil | 6850 # indent-tabs-mode:nil |
6847 # End: | 6851 # End: |
6848 # vim: set expandtab tabstop=2 shiftwidth=2: | 6852 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |