Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: chrome/chrome_repack_locales.gypi

Issue 136793004: Only include ash_strings if use_ash==1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the comparison Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome_repack_pseudo_locales.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'repack_extra_flags%': [], 14 'repack_extra_flags%': [],
15 'repack_output_dir%': '<(SHARED_INTERMEDIATE_DIR)', 15 'repack_output_dir%': '<(SHARED_INTERMEDIATE_DIR)',
16 }, 16 },
17 'inputs': [ 17 'inputs': [
18 'tools/build/repack_locales.py', 18 'tools/build/repack_locales.py',
19 '<!@pymod_do_main(repack_locales -i -p <(OS) <(branding_flag) -g <(grit_out_ dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(repack_output_dir) <(repack_extra_flags) <(locales))' 19 '<!@pymod_do_main(repack_locales -i -p <(OS) <(branding_flag) -g <(grit_out_ dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(repack_output_dir) --use-ash <(use_ash) <(repack_extra_flags) <(locales))'
20 ], 20 ],
21 'outputs': [ 21 'outputs': [
22 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_ INTERMEDIATE_DIR) -x <(repack_output_dir) <(locales))' 22 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_ INTERMEDIATE_DIR) -x <(repack_output_dir) <(locales))'
23 ], 23 ],
24 'action': [ 24 'action': [
25 '<@(repack_locales_cmd)', 25 '<@(repack_locales_cmd)',
26 '<@(branding_flag)', 26 '<@(branding_flag)',
27 '-p', '<(OS)', 27 '-p', '<(OS)',
28 '-g', '<(grit_out_dir)', 28 '-g', '<(grit_out_dir)',
29 '-s', '<(SHARED_INTERMEDIATE_DIR)', 29 '-s', '<(SHARED_INTERMEDIATE_DIR)',
30 '-x', '<(repack_output_dir)/.', 30 '-x', '<(repack_output_dir)/.',
31 '--use-ash', '<(use_ash)',
31 '<@(repack_extra_flags)', 32 '<@(repack_extra_flags)',
32 '<@(locales)', 33 '<@(locales)',
33 ], 34 ],
34 } 35 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_repack_pseudo_locales.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698