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

Side by Side Diff: url/url.gyp

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default Created 4 years, 5 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 | « url/mojo/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 'type': 'none', 123 'type': 'none',
124 'variables': { 124 'variables': {
125 'mojom_files': [ 125 'mojom_files': [
126 'mojo/origin.mojom', 126 'mojo/origin.mojom',
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 'use_new_wrapper_types': 'false',
133 }, 134 },
134 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 135 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
135 }, 136 },
136 { 137 {
137 # GN version: //url/mojo:url_mojom_gurl and //url/mojo:url_mojom_origin 138 # GN version: //url/mojo:url_mojom_gurl and //url/mojo:url_mojom_origin
138 'target_name': 'url_mojom', 139 'target_name': 'url_mojom',
139 'type': 'static_library', 140 'type': 'static_library',
140 'export_dependent_settings': [ 141 'export_dependent_settings': [
141 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 142 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
142 ], 143 ],
(...skipping 12 matching lines...) Expand all
155 'target_name': 'url_test_interfaces_mojom', 156 'target_name': 'url_test_interfaces_mojom',
156 'type': 'none', 157 'type': 'none',
157 'variables': { 158 'variables': {
158 'mojom_files': [ 159 'mojom_files': [
159 'mojo/url_test.mojom', 160 'mojo/url_test.mojom',
160 ], 161 ],
161 'mojom_typemaps': [ 162 'mojom_typemaps': [
162 'mojo/gurl.typemap', 163 'mojo/gurl.typemap',
163 'mojo/origin.typemap', 164 'mojo/origin.typemap',
164 ], 165 ],
166 'use_new_wrapper_types': 'false',
165 }, 167 },
166 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 168 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
167 'dependencies': [ 169 'dependencies': [
168 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 170 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
169 ], 171 ],
170 }, 172 },
171 { 173 {
172 'target_name': 'url_test_mojom', 174 'target_name': 'url_test_mojom',
173 'type': 'static_library', 175 'type': 'static_library',
174 'export_dependent_settings': [ 176 'export_dependent_settings': [
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 'variables': { 230 'variables': {
229 'for_blink': 'true', 231 'for_blink': 'true',
230 'mojom_files': [ 232 'mojom_files': [
231 'mojo/origin.mojom', 233 'mojo/origin.mojom',
232 'mojo/url.mojom', 234 'mojo/url.mojom',
233 ], 235 ],
234 'mojom_typemaps': [ 236 'mojom_typemaps': [
235 '../third_party/WebKit/Source/platform/mojo/KURL.typemap', 237 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
236 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ', 238 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ',
237 ], 239 ],
240 'use_new_wrapper_types': 'false',
238 }, 241 },
239 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 242 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
240 }, 243 },
241 { 244 {
242 # GN version: //url/mojo:url_mojom_gurl_blink and //url/mojo:url_mojom _origin_blink 245 # GN version: //url/mojo:url_mojom_gurl_blink and //url/mojo:url_mojom _origin_blink
243 'target_name': 'url_mojom_for_blink', 246 'target_name': 'url_mojom_for_blink',
244 'type': 'static_library', 247 'type': 'static_library',
245 'export_dependent_settings': [ 248 'export_dependent_settings': [
246 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 249 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
247 ], 250 ],
248 'dependencies': [ 251 'dependencies': [
249 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 252 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
250 'url_interfaces_mojom_for_blink', 253 'url_interfaces_mojom_for_blink',
251 'url_lib', 254 'url_lib',
252 ], 255 ],
253 }, 256 },
254 { 257 {
255 # GN version: //url/mojo:test_url_mojom_gurl_blink 258 # GN version: //url/mojo:test_url_mojom_gurl_blink
256 'target_name': 'url_test_interfaces_mojom_for_blink', 259 'target_name': 'url_test_interfaces_mojom_for_blink',
257 'type': 'none', 260 'type': 'none',
258 'variables': { 261 'variables': {
259 'for_blink': 'true', 262 'for_blink': 'true',
260 'mojom_files': [ 263 'mojom_files': [
261 'mojo/url_test.mojom', 264 'mojo/url_test.mojom',
262 ], 265 ],
263 'mojom_typemaps': [ 266 'mojom_typemaps': [
264 '../third_party/WebKit/Source/platform/mojo/KURL.typemap', 267 '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
265 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ', 268 '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap ',
266 ], 269 ],
270 'use_new_wrapper_types': 'false',
267 }, 271 },
268 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], 272 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
269 'dependencies': [ 273 'dependencies': [
270 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 274 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
271 ], 275 ],
272 }, 276 },
273 ], 277 ],
274 }], 278 }],
275 ['test_isolation_mode != "noop"', { 279 ['test_isolation_mode != "noop"', {
276 'targets': [ 280 'targets': [
277 { 281 {
278 'target_name': 'url_unittests_run', 282 'target_name': 'url_unittests_run',
279 'type': 'none', 283 'type': 'none',
280 'dependencies': [ 284 'dependencies': [
281 'url_unittests', 285 'url_unittests',
282 ], 286 ],
283 'includes': [ 287 'includes': [
284 '../build/isolate.gypi', 288 '../build/isolate.gypi',
285 ], 289 ],
286 'sources': [ 290 'sources': [
287 'url_unittests.isolate', 291 'url_unittests.isolate',
288 ], 292 ],
289 }, 293 },
290 ], 294 ],
291 }], 295 }],
292 ], 296 ],
293 } 297 }
OLDNEW
« no previous file with comments | « url/mojo/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698