Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: ios/chrome/ios_chrome_resources.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/chrome/ios_chrome_resources_bundle.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2012 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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/chrome',
9 'ui_string_overrider_inputs': [
10 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_locale_sett ings.h',
11 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strings.h',
12 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_strings.h',
13 ],
14 'ui_string_overrider_output_basename':
15 'ios/chrome/browser/variations/ios_ui_string_overrider_factory',
16 'ui_string_overrider_script_name':
17 '../../components/variations/service/generate_ui_string_overrider.py',
18 'conditions': [
19 ['branding=="Chromium"', {
20 'ui_string_overrider_inputs': [
21 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_chromiu m_strings.h',
22 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_chromium_strings.h',
23 ],
24 }],
25 ['branding=="Chrome"', {
26 'ui_string_overrider_inputs': [
27 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_google_ chrome_strings.h',
28 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/grit/ios_google_chrome_strings. h',
29 ],
30 }],
31 ],
32 },
33 'targets': [
34 {
35 'target_name': 'ios_chrome_resources',
36 'type': 'none',
37 'dependencies': [
38 'ios_resources_gen',
39 'ios_strings_gen',
40 'ios_theme_resources_gen',
41 ],
42 },
43 {
44 # GN version: //ios/chrome/app/strings
45 'target_name': 'ios_strings_gen',
46 'type': 'none',
47 'hard_dependency': 1,
48 'actions': [
49 {
50 # GN version: //ios/chrome/app/strings:ios_strings
51 'action_name': 'generate_ios_strings',
52 'variables': {
53 'grit_grd_file': 'app/strings/ios_strings.grd',
54 },
55 'includes': [ '../../build/grit_action.gypi' ],
56 },
57 {
58 # GN version: //ios/chrome/app/strings:ios_chromium_strings
59 'action_name': 'generate_ios_chromium_strings',
60 'variables': {
61 'grit_grd_file': 'app/strings/ios_chromium_strings.grd',
62 },
63 'includes': [ '../../build/grit_action.gypi' ],
64 },
65 {
66 # GN version: //ios/chrome/app/strings:ios_google_chrome_strings
67 'action_name': 'generate_ios_google_chrome_strings',
68 'variables': {
69 'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd',
70 },
71 'includes': [ '../../build/grit_action.gypi' ],
72 },
73 ],
74 'direct_dependent_settings': {
75 'include_dirs': [
76 '<(SHARED_INTERMEDIATE_DIR)',
77 ],
78 },
79 },
80 {
81 # GN version: //ios/chrome/app/resources
82 'target_name': 'ios_resources_gen',
83 'type': 'none',
84 'hard_dependency': 1,
85 'actions': [
86 {
87 'action_name': 'ios_resources',
88 'variables': {
89 'grit_grd_file': 'app/resources/ios_resources.grd',
90 },
91 'includes': [ '../../build/grit_action.gypi' ],
92 },
93 ],
94 'direct_dependent_settings': {
95 'include_dirs': [
96 '<(SHARED_INTERMEDIATE_DIR)',
97 ],
98 },
99 },
100 {
101 # GN version: //ios/chrome/app/theme
102 'target_name': 'ios_theme_resources_gen',
103 'type': 'none',
104 'hard_dependency': 1,
105 'actions': [
106 {
107 'action_name': 'ios_theme_resources',
108 'variables': {
109 'grit_grd_file': 'app/theme/ios_theme_resources.grd',
110 },
111 'includes': [ '../../build/grit_action.gypi' ],
112 },
113 ],
114 'direct_dependent_settings': {
115 'include_dirs': [
116 '<(SHARED_INTERMEDIATE_DIR)',
117 ],
118 },
119 },
120 {
121 # GN version: //ios/chrome/app/resources:packed_resources
122 'target_name': 'ios_packed_resources',
123 'type': 'none',
124 'dependencies': [
125 '../../components/components_strings.gyp:components_strings',
126 '../../net/net.gyp:net_resources',
127 '../../ui/resources/ui_resources.gyp:ui_resources',
128 '../../ui/strings/ui_strings.gyp:ui_strings',
129 'ios_chrome_resources',
130 ],
131 'actions': [
132 {
133 # GN version: //ios/chrome/app/resources:repack_locales
134 'action_name': 'repack_ios_locales',
135 'variables': {
136 'repack_locales_path': 'tools/build/ios_repack_locales.py',
137 },
138 'inputs': [
139 '<(repack_locales_path)',
140 '<!@pymod_do_main(ios_repack_locales -i '
141 '-s <(SHARED_INTERMEDIATE_DIR) '
142 '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
143 '-b <(branding_path_component) '
144 '<(locales))'
145 ],
146 'outputs': [
147 '<!@pymod_do_main(ios_repack_locales -o '
148 '-s <(SHARED_INTERMEDIATE_DIR) '
149 '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
150 '<(locales))'
151 ],
152 'action': [
153 'python',
154 '<(repack_locales_path)',
155 '-x', '<(SHARED_INTERMEDIATE_DIR)/repack_ios',
156 '-s', '<(SHARED_INTERMEDIATE_DIR)',
157 '-b', '<(branding_path_component)',
158 '<@(locales)',
159 ],
160 },
161 {
162 # GN version: //ios/chrome/app/resources:repack_scalable_resources
163 'action_name': 'repack_ios_resources_100_percent',
164 'variables': {
165 'pak_inputs': [
166 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_pe rcent.pak',
167 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_100_per cent.pak',
168 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent. pak',
169 ],
170 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_100_perc ent.pak',
171 },
172 'includes': [ '../../build/repack_action.gypi' ],
173 },
174 {
175 # GN version: //ios/chrome/app/resources:repack_scalable_resources
176 'action_name': 'repack_ios_resources_200_percent',
177 'variables': {
178 'pak_inputs': [
179 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_200_pe rcent.pak',
180 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_200_per cent.pak',
181 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_200_percent. pak',
182 ],
183 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_200_perc ent.pak',
184 },
185 'includes': [ '../../build/repack_action.gypi' ],
186 },
187 {
188 # GN version: //ios/chrome/app/resources:repack_scalable_resources
189 'action_name': 'repack_ios_resources_300_percent',
190 'variables': {
191 'pak_inputs': [
192 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_300_pe rcent.pak',
193 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_300_per cent.pak',
194 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_300_percent. pak',
195 ],
196 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_300_perc ent.pak',
197 },
198 'includes': [ '../../build/repack_action.gypi' ],
199 },
200 {
201 # GN version: //ios/chrome/app/resources:repack_unscaled_resources
202 'action_name': 'repack_ios_resources',
203 'variables': {
204 'pak_inputs': [
205 '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
206 '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_resources.pak',
207 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
208 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
209 ],
210 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/resources.pak',
211 },
212 'includes': [ '../../build/repack_action.gypi' ],
213 },
214 ],
215 },
216 {
217 # GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrid er_factory
218 'target_name': 'ios_chrome_ui_string_overrider_factory_gen',
219 'type': 'none',
220 'hard_dependency': 1,
221 'direct_dependent_settings': {
222 'include_dirs': [
223 '<(SHARED_INTERMEDIATE_DIR)',
224 ],
225 },
226 'dependencies': [
227 '../../components/components_strings.gyp:components_strings',
228 'ios_strings_gen',
229 ],
230 'actions': [
231 {
232 'action_name': 'generate_ios_ui_string_overrider',
233 'inputs': [
234 '<(ui_string_overrider_script_name)',
235 '<@(ui_string_overrider_inputs)',
236 ],
237 'outputs': [
238 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).c c',
239 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h ',
240 ],
241 'action': [
242 'python',
243 '<(ui_string_overrider_script_name)',
244 '-o', '<(SHARED_INTERMEDIATE_DIR)',
245 '-S', '<(ui_string_overrider_output_basename).cc',
246 '-H', '<(ui_string_overrider_output_basename).h',
247 '<@(ui_string_overrider_inputs)',
248 ],
249 },
250 ],
251 },
252 {
253 # GN version: //ios/chrome/browser/variations:ios_chrome_ui_string_overrid er_factory
254 'target_name': 'ios_chrome_ui_string_overrider_factory',
255 'type': 'static_library',
256 'dependencies': [
257 '../../components/components.gyp:variations_service',
258 'ios_chrome_ui_string_overrider_factory_gen',
259 ],
260 'sources': [
261 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).cc',
262 '<(SHARED_INTERMEDIATE_DIR)/<(ui_string_overrider_output_basename).h',
263 ],
264 },
265 ],
266 }
OLDNEW
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/chrome/ios_chrome_resources_bundle.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698