OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | |
7 'chromium_code': 1, | |
8 'grit_base_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui', | |
9 }, | |
10 'targets': [ | 6 'targets': [ |
11 { | 7 { |
12 'target_name': 'ui_strings', | 8 'target_name': 'ui_strings', |
13 'type': 'none', | 9 'type': 'none', |
| 10 'variables': { |
| 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/strings', |
| 12 }, |
14 'actions': [ | 13 'actions': [ |
15 { | 14 { |
16 'action_name': 'ui_strings', | 15 'action_name': 'generate_ui_strings', |
17 'variables': { | 16 'variables': { |
18 'grit_grd_file': 'ui_strings.grd', | 17 'grit_grd_file': 'ui_strings.grd', |
19 'grit_out_dir': '<(grit_base_out_dir)/strings', | |
20 }, | 18 }, |
21 'includes': [ '../../build/grit_action.gypi' ], | 19 'includes': [ '../../build/grit_action.gypi' ], |
22 }, | 20 }, |
23 { | 21 { |
24 'action_name': 'app_locale_settings', | 22 'action_name': 'generate_app_locale_settings', |
25 'variables': { | 23 'variables': { |
26 'grit_grd_file': 'app_locale_settings.grd', | 24 'grit_grd_file': 'app_locale_settings.grd', |
27 'grit_out_dir': '<(grit_base_out_dir)/app_locale_settings', | |
28 }, | 25 }, |
29 'includes': [ '../../build/grit_action.gypi' ], | 26 'includes': [ '../../build/grit_action.gypi' ], |
30 }, | 27 }, |
31 ], | 28 ], |
32 'direct_dependent_settings': { | 29 'includes': [ '../../build/grit_target.gypi' ], |
33 'include_dirs': [ | |
34 '<(grit_base_out_dir)/app_locale_settings', | |
35 '<(grit_base_out_dir)/strings', | |
36 ], | |
37 }, | |
38 }, | 30 }, |
39 ], | 31 ], |
40 } | 32 } |
OLD | NEW |