1 # Copyright 2014 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.
7 'chromecast_branding%': 'Chromium',
8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast_strings',
12 'target_name': 'chromecast_settings',
16 'action_name': 'chromecast_settings',
18 'grit_grd_file': 'shell/settings/chromecast_settings.grd',
19 'grit_resource_ids': 'shell/browser/resources/resource_ids',
21 'includes': [ '../build/grit_action.gypi' ],
24 'includes': [ '../build/grit_target.gypi' ],
27 'target_name': 'chromecast_locales_pak',
30 'chromecast_settings',
33 ['chromecast_branding=="Chrome"', {
35 'internal/chromecast_locales.gyp:chromecast_app_strings',
41 'action_name': 'repack_locales',
42 'message': 'Packing locale-specific resources',
44 'repack_python_cmd': '<(DEPTH)/chromecast/tools/build/chromecast_repack_locales.py',
45 'repack_output_dir': '<(PRODUCT_DIR)/chromecast_locales',
46 'repack_locales_cmd': [
48 '<(repack_python_cmd)'
52 '<(repack_python_cmd)',
53 '<!@pymod_do_main(chromecast_repack_locales -i -b <(chromecast_branding) -g <(grit_out_dir) -x <(repack_output_dir) <(locales))'
56 '<!@pymod_do_main(chromecast_repack_locales -o -b <(chromecast_branding) -g <(grit_out_dir) -x <(repack_output_dir) <(locales))'
59 '<@(repack_locales_cmd)',
60 '-b', '<(chromecast_branding)',
61 '-g', '<(grit_out_dir)',
62 '-x', '<(repack_output_dir)/.',