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 # To use this the following variables need to be defined:
6 # pak_locales: string: the list of all the locales that need repacking
9 'repack_locales_path': 'tools/build/repack_locales.py',
11 ['branding=="Chrome"', {
12 'branding_flag': ['-b', 'google_chrome',],
13 }, { # else: branding!="Chrome"
14 'branding_flag': ['-b', 'chromium',],
19 '<(repack_locales_path)',
20 '<!@pymod_do_main(repack_locales -i -p <(OS) <(branding_flag) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) --use-ash <(use_ash) <(pak_locales))'
23 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(pak_locales))'
27 '<(repack_locales_path)',
30 '-g', '<(grit_out_dir)',
31 '-s', '<(SHARED_INTERMEDIATE_DIR)',
32 '-x', '<(SHARED_INTERMEDIATE_DIR)/.',
33 '--use-ash', '<(use_ash)',