OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)', | 8 'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)', |
9 'grit_out_dir': '<(grit_base_dir)/ios/today_extension', | 9 'grit_out_dir': '<(grit_base_dir)/ios/today_extension', |
10 }, | 10 }, |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
| 13 # GN version: //ios/chrome/today_extension:resources |
13 'target_name': 'ios_today_extension_resources', | 14 'target_name': 'ios_today_extension_resources', |
14 'type': 'none', | 15 'type': 'none', |
15 'dependencies': [ | 16 'dependencies': [ |
16 'ios_today_extension_strings_gen', | 17 'ios_today_extension_strings_gen', |
17 ], | 18 ], |
18 }, | 19 }, |
19 { | 20 { |
| 21 # GN version: //ios/chrome/today_extension/strings |
20 'target_name': 'ios_today_extension_strings_gen', | 22 'target_name': 'ios_today_extension_strings_gen', |
21 'type': 'none', | 23 'type': 'none', |
22 'hard_dependency': 1, | 24 'hard_dependency': 1, |
23 'actions': [ | 25 'actions': [ |
24 { | 26 { |
25 'action_name': 'generate_ios_today_extension_strings', | 27 'action_name': 'generate_ios_today_extension_strings', |
26 'variables': { | 28 'variables': { |
27 'grit_grd_file': 'today_extension/strings/ios_today_extension_string
s.grd', | 29 'grit_grd_file': 'today_extension/strings/ios_today_extension_string
s.grd', |
28 }, | 30 }, |
29 'includes': [ '../../build/grit_action.gypi' ], | 31 'includes': [ '../../build/grit_action.gypi' ], |
30 }, | 32 }, |
31 ], | 33 ], |
32 'includes': [ '../../build/grit_target.gypi' ], | 34 'includes': [ '../../build/grit_target.gypi' ], |
33 # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h | 35 # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h |
34 # should only be referenceable as ios/chrome/grit to allow DEPS-time | 36 # should only be referenceable as ios/chrome/grit to allow DEPS-time |
35 # checking of usage. | 37 # checking of usage. |
36 'direct_dependent_settings': { | 38 'direct_dependent_settings': { |
37 'include_dirs': [ | 39 'include_dirs': [ |
38 '<(grit_base_dir)', | 40 '<(grit_base_dir)', |
39 ], | 41 ], |
40 'include_dirs!': [ | 42 'include_dirs!': [ |
41 '<(grit_out_dir)', | 43 '<(grit_out_dir)', |
42 ], | 44 ], |
43 } | 45 } |
44 }, | 46 }, |
45 { | 47 { |
| 48 # GN version: //ios/chrome/today_extension:packed_resources |
46 'target_name': 'ios_today_extension_packed_resources', | 49 'target_name': 'ios_today_extension_packed_resources', |
47 'type': 'none', | 50 'type': 'none', |
48 'dependencies': [ | 51 'dependencies': [ |
49 'ios_today_extension_resources', | 52 'ios_today_extension_resources', |
50 ], | 53 ], |
51 'actions': [ | 54 'actions': [ |
52 { | 55 { |
53 'action_name': 'repack_ios_today_extension_locales', | 56 'action_name': 'repack_ios_today_extension_locales', |
54 'variables': { | 57 'variables': { |
55 'repack_locales_path': 'tools/build/ios_repack_extension_locales.py'
, | 58 'repack_locales_path': 'tools/build/ios_repack_extension_locales.py'
, |
(...skipping 22 matching lines...) Expand all Loading... |
78 '-s', '<(SHARED_INTERMEDIATE_DIR)', | 81 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
79 '-b', '<(branding_path_component)', | 82 '-b', '<(branding_path_component)', |
80 '<@(locales)', | 83 '<@(locales)', |
81 ], | 84 ], |
82 }, | 85 }, |
83 ], | 86 ], |
84 }, | 87 }, |
85 ], | 88 ], |
86 } | 89 } |
87 | 90 |
OLD | NEW |