| 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 # Whether or not browser sync code is built in. | 9 # Whether or not browser sync code is built in. |
| 10 'chrome_personalization': 1, | 10 'chrome_personalization': 1, |
| (...skipping 3129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3140 { | 3140 { |
| 3141 # Modify the Info.plist as needed. The script explains why this | 3141 # Modify the Info.plist as needed. The script explains why this |
| 3142 # is needed. This is also done in the helper_app target. | 3142 # is needed. This is also done in the helper_app target. |
| 3143 'postbuild_name': 'Tweak Info.plist', | 3143 'postbuild_name': 'Tweak Info.plist', |
| 3144 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 3144 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', |
| 3145 '-b<(mac_breakpad)', | 3145 '-b<(mac_breakpad)', |
| 3146 '-k<(mac_keystone)', | 3146 '-k<(mac_keystone)', |
| 3147 '-s1', # Include Subversion information | 3147 '-s1', # Include Subversion information |
| 3148 '<(branding)'], | 3148 '<(branding)'], |
| 3149 }, | 3149 }, |
| 3150 ], | 3150 { |
| 3151 'postbuild_name': 'Tweak Mac lproj folders', |
| 3152 'action': ['app/tweak_mac_lproj_folders'], |
| 3153 }, |
| 3154 ], # postbuilds |
| 3151 }, { # else: OS != "mac" | 3155 }, { # else: OS != "mac" |
| 3152 'conditions': [ | 3156 'conditions': [ |
| 3153 ['branding=="Chrome"', { | 3157 ['branding=="Chrome"', { |
| 3154 'product_name': 'chrome' | 3158 'product_name': 'chrome' |
| 3155 }, { # else: Branding!="Chrome" | 3159 }, { # else: Branding!="Chrome" |
| 3156 # TODO: change to: | 3160 # TODO: change to: |
| 3157 # 'product_name': 'chromium' | 3161 # 'product_name': 'chromium' |
| 3158 # whenever we convert the rest of the infrastructure | 3162 # whenever we convert the rest of the infrastructure |
| 3159 # (buildbots etc.) to use "gyp -Dbranding=Chrome". | 3163 # (buildbots etc.) to use "gyp -Dbranding=Chrome". |
| 3160 # NOTE: chrome/app/theme/chromium/BRANDING and | 3164 # NOTE: chrome/app/theme/chromium/BRANDING and |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3315 'conditions': [ | 3319 'conditions': [ |
| 3316 ['OS=="linux"', { | 3320 ['OS=="linux"', { |
| 3317 'outputs=': [ | 3321 'outputs=': [ |
| 3318 '<(INTERMEDIATE_DIR)/repack/default.pak', | 3322 '<(INTERMEDIATE_DIR)/repack/default.pak', |
| 3319 ] | 3323 ] |
| 3320 }], | 3324 }], |
| 3321 ], | 3325 ], |
| 3322 }, | 3326 }, |
| 3323 { | 3327 { |
| 3324 'action_name': 'repack_locales', | 3328 'action_name': 'repack_locales', |
| 3329 'process_outputs_as_mac_bundle_resources': 1, |
| 3325 'variables': { | 3330 'variables': { |
| 3326 'conditions': [ | 3331 'conditions': [ |
| 3327 ['branding=="Chrome"', { | 3332 ['branding=="Chrome"', { |
| 3328 'branding_flag': ['-b', 'google_chrome',], | 3333 'branding_flag': ['-b', 'google_chrome',], |
| 3329 }, { # else: branding!="Chrome" | 3334 }, { # else: branding!="Chrome" |
| 3330 'branding_flag': ['-b', 'chromium',], | 3335 'branding_flag': ['-b', 'chromium',], |
| 3331 }], | 3336 }], |
| 3332 ], | 3337 ], |
| 3333 }, | 3338 }, |
| 3334 'inputs': [ | 3339 'inputs': [ |
| 3335 'tools/build/repack_locales.py', | 3340 'tools/build/repack_locales.py', |
| 3336 # NOTE: Ideally the common command args would be shared amongst | 3341 # NOTE: Ideally the common command args would be shared amongst |
| 3337 # inputs/outputs/action, but the args include shell variables | 3342 # inputs/outputs/action, but the args include shell variables |
| 3338 # which need to be passed intact, and command expansion wants | 3343 # which need to be passed intact, and command expansion wants |
| 3339 # to expand the shell variables. Adding the explicit quoting | 3344 # to expand the shell variables. Adding the explicit quoting |
| 3340 # here was the only way it seemed to work. | 3345 # here was the only way it seemed to work. |
| 3341 '>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_d
ir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', | 3346 '>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_d
ir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| 3342 ], | 3347 ], |
| 3343 'conditions': [ | 3348 'outputs': [ |
| 3344 ['OS=="mac"', { | 3349 '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHAR
ED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| 3345 'process_outputs_as_mac_bundle_resources': 1, | |
| 3346 'variables': { | |
| 3347 'locales=': [ 'da', 'en-US', 'he', 'zh-TW', ], | |
| 3348 }, | |
| 3349 'outputs': [ | |
| 3350 '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak', | |
| 3351 '<(INTERMEDIATE_DIR)/repack/en.lproj/locale.pak', | |
| 3352 '<(INTERMEDIATE_DIR)/repack/he.lproj/locale.pak', | |
| 3353 '<(INTERMEDIATE_DIR)/repack/zh.lproj/locale.pak', | |
| 3354 ], | |
| 3355 }, { # else: OS!="mac" | |
| 3356 'outputs': [ | |
| 3357 '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(
SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', | |
| 3358 ], | |
| 3359 }], | |
| 3360 ], | 3350 ], |
| 3361 'action': ['<@(repack_locales_cmd)', | 3351 'action': ['<@(repack_locales_cmd)', |
| 3362 '<@(branding_flag)', | 3352 '<@(branding_flag)', |
| 3363 '-g', '<(grit_out_dir)', | 3353 '-g', '<(grit_out_dir)', |
| 3364 '-s', '<(SHARED_INTERMEDIATE_DIR)', | 3354 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| 3365 '-x', '<(INTERMEDIATE_DIR)', | 3355 '-x', '<(INTERMEDIATE_DIR)', |
| 3366 '<@(locales)', | 3356 '<@(locales)', |
| 3367 ], | 3357 ], |
| 3368 }, | 3358 }, |
| 3369 ], | 3359 ], |
| (...skipping 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5499 # Use outputs of this action as inputs for the main target build. | 5489 # Use outputs of this action as inputs for the main target build. |
| 5500 # Seems as a misnomer but makes this happy on Linux (scons). | 5490 # Seems as a misnomer but makes this happy on Linux (scons). |
| 5501 'process_outputs_as_sources': 1, | 5491 'process_outputs_as_sources': 1, |
| 5502 }, | 5492 }, |
| 5503 ], # 'actions' | 5493 ], # 'actions' |
| 5504 }, | 5494 }, |
| 5505 ] | 5495 ] |
| 5506 }], | 5496 }], |
| 5507 ], # 'conditions' | 5497 ], # 'conditions' |
| 5508 } | 5498 } |
| OLD | NEW |