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

Side by Side Diff: chrome/chrome_repack_pseudo_locales.gypi

Issue 216013003: Clean up repack.py and repack_locale.py usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 {
5 'action_name': 'repack_pseudo_locales',
6 'variables': {
7 'conditions': [
8 ['branding=="Chrome"', {
9 'branding_flag': ['-b', 'google_chrome',],
10 }, { # else: branding!="Chrome"
11 'branding_flag': ['-b', 'chromium',],
12 }],
13 ],
14 },
15 'inputs': [
16 'tools/build/repack_locales.py',
17 '<!@pymod_do_main(repack_locales -i -p <(OS) <(branding_flag) -g <(grit_out_ dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(INTERMEDIATE_DIR) --use-ash <(use_ash) < (pseudo_locales))'
18 ],
19 'conditions': [
20 ['OS == "mac" or OS == "ios"', {
21 'outputs': [
22 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHA RED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(pseudo_locales))'
23 ],
24 }, { # else 'OS != "mac"'
25 'outputs': [
26 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak'
27 ],
28 }],
29 ],
30 'action': [
31 '<@(repack_locales_cmd)',
32 '<@(branding_flag)',
33 '-p', '<(OS)',
34 '-g', '<(grit_out_dir)',
35 '-s', '<(SHARED_INTERMEDIATE_DIR)',
36 '-x', '<(SHARED_INTERMEDIATE_DIR)/.',
37 '--use-ash', '<(use_ash)',
38 '<@(pseudo_locales)',
39 ],
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698