OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //ash/strings | 8 # GN version: //ash/common/strings |
9 'target_name': 'ash_strings', | 9 'target_name': 'ash_strings', |
10 'type': 'none', | 10 'type': 'none', |
11 'variables': { | 11 'variables': { |
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/strings', | 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/common/strings', |
13 }, | 13 }, |
14 'actions': [ | 14 'actions': [ |
15 { | 15 { |
16 'action_name': 'generate_ash_strings', | 16 'action_name': 'generate_ash_strings', |
17 'variables': { | 17 'variables': { |
18 'grit_grd_file': 'ash_strings.grd', | 18 'grit_grd_file': 'ash_strings.grd', |
19 }, | 19 }, |
20 'includes': [ '../build/grit_action.gypi' ], | 20 'includes': [ '../build/grit_action.gypi' ], |
21 }, | 21 }, |
22 ], | 22 ], |
23 'includes': [ '../build/grit_target.gypi' ], | 23 'includes': [ '../build/grit_target.gypi' ], |
24 }, | 24 }, |
25 { | 25 { |
26 # Creates a pak file containing strings for ash_unittests, etc. | 26 # Creates a pak file containing strings for ash_unittests, etc. |
27 # GN version: //ash/strings:ash_test_strings | 27 # GN version: //ash/common/strings:ash_test_strings |
28 'target_name': 'ash_test_strings', | 28 'target_name': 'ash_test_strings', |
29 'type': 'none', | 29 'type': 'none', |
30 'dependencies': [ | 30 'dependencies': [ |
31 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', | 31 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', |
32 'ash_strings.gyp:ash_strings', | 32 'ash_strings.gyp:ash_strings', |
33 ], | 33 ], |
34 'actions': [ | 34 'actions': [ |
35 { | 35 { |
36 'action_name': 'repack_ash_test_strings', | 36 'action_name': 'repack_ash_test_strings', |
37 'variables': { | 37 'variables': { |
38 'pak_output': '<(PRODUCT_DIR)/ash_test_strings.pak', | 38 'pak_output': '<(PRODUCT_DIR)/ash_test_strings.pak', |
39 'pak_inputs': [ | 39 'pak_inputs': [ |
40 '<(SHARED_INTERMEDIATE_DIR)/ash/strings/ash_strings_en-US.pak', | 40 '<(SHARED_INTERMEDIATE_DIR)/ash/common/strings/ash_strings_en-US.p
ak', |
41 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', | 41 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', |
42 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 42 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
43 ], | 43 ], |
44 'conditions': [ | 44 'conditions': [ |
45 ['chromeos==1', { | 45 ['chromeos==1', { |
46 'pak_inputs': [ | 46 'pak_inputs': [ |
47 '<(SHARED_INTERMEDIATE_DIR)/device/bluetooth/strings/bluetooth
_strings_en-US.pak', | 47 '<(SHARED_INTERMEDIATE_DIR)/device/bluetooth/strings/bluetooth
_strings_en-US.pak', |
48 '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/strings/ui_chromeos_st
rings_en-US.pak', | 48 '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/strings/ui_chromeos_st
rings_en-US.pak', |
49 ], | 49 ], |
50 }], | 50 }], |
51 ], | 51 ], |
52 }, | 52 }, |
53 'includes': [ '../build/repack_action.gypi' ], | 53 'includes': [ '../build/repack_action.gypi' ], |
54 }, | 54 }, |
55 ], | 55 ], |
56 'conditions': [ | 56 'conditions': [ |
57 ['chromeos==1', { | 57 ['chromeos==1', { |
58 'dependencies': [ | 58 'dependencies': [ |
59 '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:bluetooth_strings', | 59 '<(DEPTH)/device/bluetooth/bluetooth_strings.gyp:bluetooth_strings', |
60 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', | 60 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', |
61 ], | 61 ], |
62 }], | 62 }], |
63 ], | 63 ], |
64 }, | 64 }, |
65 ], | 65 ], |
66 } | 66 } |
OLD | NEW |