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 'action_name': 'repack_locales', | 5 'action_name': 'repack_locales', |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['branding=="Chrome"', { | 8 ['branding=="Chrome"', { |
9 'branding_flag': ['-b', 'google_chrome',], | 9 'branding_flag': ['-b', 'google_chrome',], |
10 }, { # else: branding!="Chrome" | 10 }, { # else: branding!="Chrome" |
11 'branding_flag': ['-b', 'chromium',], | 11 'branding_flag': ['-b', 'chromium',], |
12 }], | 12 }], |
13 ], | 13 ], |
14 }, | 14 }, |
15 'inputs': [ | 15 'inputs': [ |
16 'tools/build/repack_locales.py', | 16 'tools/build/repack_locales.py', |
17 '<!@pymod_do_main(repack_locales -i <(branding_flag) -g <(grit_out_dir) -s <
(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))' | 17 '<!@pymod_do_main(repack_locales -i -p <(OS) <(branding_flag) -g <(grit_out_
dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) <(locales))' |
18 ], | 18 ], |
19 'outputs': [ | 19 'outputs': [ |
20 '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDI
ATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))' | 20 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))' |
21 ], | 21 ], |
22 'action': [ | 22 'action': [ |
23 '<@(repack_locales_cmd)', | 23 '<@(repack_locales_cmd)', |
24 '<@(branding_flag)', | 24 '<@(branding_flag)', |
25 '-g', '<(grit_out_dir)', | 25 '-g', '<(grit_out_dir)', |
26 '-s', '<(SHARED_INTERMEDIATE_DIR)', | 26 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
27 '-x', '<(SHARED_INTERMEDIATE_DIR)/.', | 27 '-x', '<(SHARED_INTERMEDIATE_DIR)/.', |
28 '<@(locales)', | 28 '<@(locales)', |
29 ], | 29 ], |
30 } | 30 } |
OLD | NEW |