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

Side by Side Diff: url/url.gyp

Issue 2036683002: [iOS] Remove dependency third_party/WebKit on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment explaining why target are conditionally defined Created 4 years, 6 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 }, 8 },
9 'includes': [ 9 'includes': [
10 'url_srcs.gypi', 10 'url_srcs.gypi',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 'mojo/url.mojom', 127 'mojo/url.mojom',
128 ], 128 ],
129 'mojom_typemaps': [ 129 'mojom_typemaps': [
130 'mojo/gurl.typemap', 130 'mojo/gurl.typemap',
131 'mojo/origin.typemap', 131 'mojo/origin.typemap',
132 ], 132 ],
133 }, 133 },
134 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 134 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
135 }, 135 },
136 { 136 {
137 'target_name': 'url_interfaces_mojom_for_blink',
138 'type': 'none',
139 'variables': {
140 'for_blink': 'true',
141 'mojom_files': [
142 'mojo/origin.mojom',
143 'mojo/url.mojom',
144 ],
145 'mojom_typemaps': [
146 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
147 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap',
148 ],
149 },
150 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
151 },
152 {
153 # GN version: //url/mojo:url_mojom_gurl and //url/mojo:url_mojom_origin 137 # GN version: //url/mojo:url_mojom_gurl and //url/mojo:url_mojom_origin
154 'target_name': 'url_mojom', 138 'target_name': 'url_mojom',
155 'type': 'static_library', 139 'type': 'static_library',
156 'export_dependent_settings': [ 140 'export_dependent_settings': [
157 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 141 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
158 ], 142 ],
159 'dependencies': [ 143 'dependencies': [
160 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 144 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
161 'url_interfaces_mojom', 145 'url_interfaces_mojom',
162 'url_lib', 146 'url_lib',
163 ], 147 ],
164 }, 148 },
165 { 149 {
166 # GN version: //url/mojo:url_mojom_gurl_blink and //url/mojo:url_mojom_ori gin_blink
167 'target_name': 'url_mojom_for_blink',
168 'type': 'static_library',
169 'export_dependent_settings': [
170 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
171 ],
172 'dependencies': [
173 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
174 'url_interfaces_mojom_for_blink',
175 'url_lib',
176 ],
177 },
178 {
179 # GN version: //url/mojo:test_url_mojom_gurl 150 # GN version: //url/mojo:test_url_mojom_gurl
180 'target_name': 'url_test_interfaces_mojom', 151 'target_name': 'url_test_interfaces_mojom',
181 'type': 'none', 152 'type': 'none',
182 'variables': { 153 'variables': {
183 'mojom_files': [ 154 'mojom_files': [
184 'mojo/url_test.mojom', 155 'mojo/url_test.mojom',
185 ], 156 ],
186 'mojom_typemaps': [ 157 'mojom_typemaps': [
187 'mojo/gurl.typemap', 158 'mojo/gurl.typemap',
188 'mojo/origin.typemap', 159 'mojo/origin.typemap',
189 ], 160 ],
190 }, 161 },
191 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 162 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
192 'dependencies': [ 163 'dependencies': [
193 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 164 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
194 ], 165 ],
195 }, 166 },
196 { 167 {
197 # GN version: //url/mojo:test_url_mojom_gurl_blink
198 'target_name': 'url_test_interfaces_mojom_for_blink',
199 'type': 'none',
200 'variables': {
201 'for_blink': 'true',
202 'mojom_files': [
203 'mojo/url_test.mojom',
204 ],
205 'mojom_typemaps': [
206 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
207 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap',
208 ],
209 },
210 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
211 'dependencies': [
212 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
213 ],
214 },
215 {
216 'target_name': 'url_test_mojom', 168 'target_name': 'url_test_mojom',
217 'type': 'static_library', 169 'type': 'static_library',
218 'export_dependent_settings': [ 170 'export_dependent_settings': [
219 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 171 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
220 ], 172 ],
221 'dependencies': [ 173 'dependencies': [
222 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 174 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
223 'url_lib', 175 'url_lib',
224 'url_mojom', 176 'url_mojom',
225 'url_test_interfaces_mojom', 177 'url_test_interfaces_mojom',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 'variables': { 209 'variables': {
258 'java_in_dir': '../url/android/java', 210 'java_in_dir': '../url/android/java',
259 }, 211 },
260 'dependencies': [ 212 'dependencies': [
261 '../base/base.gyp:base', 213 '../base/base.gyp:base',
262 ], 214 ],
263 'includes': [ '../build/java.gypi' ], 215 'includes': [ '../build/java.gypi' ],
264 }, 216 },
265 ], 217 ],
266 }], 218 }],
219 ['OS!="ios"', {
220 'targets': [
221 {
222 'target_name': 'url_interfaces_mojom_for_blink',
223 'type': 'none',
224 'variables': {
225 'for_blink': 'true',
226 'mojom_files': [
227 'mojo/origin.mojom',
228 'mojo/url.mojom',
229 ],
230 'mojom_typemaps': [
231 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
232 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ',
233 ],
234 },
235 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
236 },
237 {
238 # GN version: //url/mojo:url_mojom_gurl_blink and //url/mojo:url_mojom _origin_blink
239 'target_name': 'url_mojom_for_blink',
240 'type': 'static_library',
241 'export_dependent_settings': [
242 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
243 ],
244 'dependencies': [
245 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
246 'url_interfaces_mojom_for_blink',
247 'url_lib',
248 ],
249 },
250 {
251 # GN version: //url/mojo:test_url_mojom_gurl_blink
252 'target_name': 'url_test_interfaces_mojom_for_blink',
253 'type': 'none',
254 'variables': {
255 'for_blink': 'true',
256 'mojom_files': [
257 'mojo/url_test.mojom',
258 ],
259 'mojom_typemaps': [
260 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
261 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ',
262 ],
263 },
264 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
265 'dependencies': [
266 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
267 ],
268 },
269 ],
270 }],
267 ['test_isolation_mode != "noop"', { 271 ['test_isolation_mode != "noop"', {
268 'targets': [ 272 'targets': [
269 { 273 {
270 'target_name': 'url_unittests_run', 274 'target_name': 'url_unittests_run',
271 'type': 'none', 275 'type': 'none',
272 'dependencies': [ 276 'dependencies': [
273 'url_unittests', 277 'url_unittests',
274 ], 278 ],
275 'includes': [ 279 'includes': [
276 '../build/isolate.gypi', 280 '../build/isolate.gypi',
277 ], 281 ],
278 'sources': [ 282 'sources': [
279 'url_unittests.isolate', 283 'url_unittests.isolate',
280 ], 284 ],
281 }, 285 },
282 ], 286 ],
283 }], 287 }],
284 ], 288 ],
285 } 289 }
OLDNEW
« third_party/WebKit/Source/wtf/wtf.gyp ('K') | « tools/clang/scripts/blink_gc_plugin_flags.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698