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.
5 'action_name': 'repack_pseudo_locales',
8 ['branding=="Chrome"', {
9 'branding_flag': ['-b', 'google_chrome',],
10 }, { # else: branding!="Chrome"
11 'branding_flag': ['-b', 'chromium',],
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) <(pseudo_locales))'
20 ['OS == "mac" or OS == "ios"', {
22 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(pseudo_locales))'
24 }, { # else 'OS != "mac"'
26 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak'
31 '<@(repack_locales_cmd)',
34 '-g', '<(grit_out_dir)',
35 '-s', '<(SHARED_INTERMEDIATE_DIR)',
36 '-x', '<(SHARED_INTERMEDIATE_DIR)/.',