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

Side by Side Diff: chrome/chrome_repack_locales.gypi

Issue 10830085: Allow "cross-compiling" with GRIT (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « chrome/chrome_dll.gypi ('k') | 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) 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 }
OLDNEW
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | chrome/chrome_repack_pseudo_locales.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698