Disable android-view feedback for distiller
[chromium-blink-merge.git] / chromecast / chromecast_locales.gyp
blob883a127ebd017bb070a046df45aea14eacb32252
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.
6   'variables': {
7     'chromecast_branding%': 'Chromium',
8     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast_strings',
9   },
10   'targets': [
11     {
12       'target_name': 'chromecast_settings',
13       'type': 'none',
14       'actions': [
15         {
16           'action_name': 'chromecast_settings',
17           'variables': {
18             'grit_grd_file': 'app/resources/chromecast_settings.grd',
19             'grit_resource_ids': 'app/resources/resource_ids',
20           },
21           'includes': [ '../build/grit_action.gypi' ],
22         },
23       ],
24       'includes': [ '../build/grit_target.gypi' ],
25     },
26     {
27       'target_name': 'chromecast_locales_pak',
28       'type': 'none',
29       'dependencies': [
30         'chromecast_settings',
31       ],
32       'conditions': [
33         ['chromecast_branding=="Chrome"', {
34           'dependencies': [
35             'internal/chromecast_locales.gyp:chromecast_app_strings',
36           ],
37         }],
38       ],
39       'actions': [
40         {
41           'action_name': 'repack_locales',
42           'message': 'Packing locale-specific resources',
43           'variables': {
44             'repack_python_cmd': '<(DEPTH)/chromecast/tools/build/chromecast_repack_locales.py',
45             'repack_output_dir': '<(PRODUCT_DIR)/chromecast_locales',
46             'repack_locales_cmd': [
47               'python',
48               '<(repack_python_cmd)'
49             ],
50           },
51           'inputs': [
52             '<(repack_python_cmd)',
53             '<!@pymod_do_main(chromecast_repack_locales -i -b <(chromecast_branding) -g <(grit_out_dir) -x <(repack_output_dir) <(locales))'
54           ],
55           'outputs': [
56             '<!@pymod_do_main(chromecast_repack_locales -o -b <(chromecast_branding) -g <(grit_out_dir) -x <(repack_output_dir) <(locales))'
57           ],
58           'action': [
59             '<@(repack_locales_cmd)',
60             '-b', '<(chromecast_branding)',
61             '-g', '<(grit_out_dir)',
62             '-x', '<(repack_output_dir)/.',
63             '<@(locales)',
64           ],
65         },
66       ],
67     },
68   ],