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

Side by Side Diff: third_party/mojo/mojo_public.gyp

Issue 1517043004: [mojo] Add typemap and variant support to generators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pickle3
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'includes': [ 6 'includes': [
7 'mojo_variables.gypi', 7 'mojo_variables.gypi',
8 ], 8 ],
9 'target_defaults' : { 9 'target_defaults' : {
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 '../../mojo/public/interfaces/bindings/tests/ping_service.mojom', 350 '../../mojo/public/interfaces/bindings/tests/ping_service.mojom',
351 '../../mojo/public/interfaces/bindings/tests/rect.mojom', 351 '../../mojo/public/interfaces/bindings/tests/rect.mojom',
352 '../../mojo/public/interfaces/bindings/tests/regression_tests.mojom', 352 '../../mojo/public/interfaces/bindings/tests/regression_tests.mojom',
353 '../../mojo/public/interfaces/bindings/tests/sample_factory.mojom', 353 '../../mojo/public/interfaces/bindings/tests/sample_factory.mojom',
354 '../../mojo/public/interfaces/bindings/tests/sample_import.mojom', 354 '../../mojo/public/interfaces/bindings/tests/sample_import.mojom',
355 '../../mojo/public/interfaces/bindings/tests/sample_import2.mojom', 355 '../../mojo/public/interfaces/bindings/tests/sample_import2.mojom',
356 '../../mojo/public/interfaces/bindings/tests/sample_interfaces.mojom', 356 '../../mojo/public/interfaces/bindings/tests/sample_interfaces.mojom',
357 '../../mojo/public/interfaces/bindings/tests/sample_service.mojom', 357 '../../mojo/public/interfaces/bindings/tests/sample_service.mojom',
358 '../../mojo/public/interfaces/bindings/tests/scoping.mojom', 358 '../../mojo/public/interfaces/bindings/tests/scoping.mojom',
359 '../../mojo/public/interfaces/bindings/tests/serialization_test_struct s.mojom', 359 '../../mojo/public/interfaces/bindings/tests/serialization_test_struct s.mojom',
360 '../../mojo/public/interfaces/bindings/tests/test_constants.mojom',
361 '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
360 '../../mojo/public/interfaces/bindings/tests/test_structs.mojom', 362 '../../mojo/public/interfaces/bindings/tests/test_structs.mojom',
363 '../../mojo/public/interfaces/bindings/tests/test_unions.mojom',
361 '../../mojo/public/interfaces/bindings/tests/validation_test_interface s.mojom', 364 '../../mojo/public/interfaces/bindings/tests/validation_test_interface s.mojom',
362 ], 365 ],
363 }, 366 },
364 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], 367 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
365 }, 368 },
366 { 369 {
370 'target_name': 'mojo_public_test_interfaces_mojom_blink',
371 'type': 'none',
372 'variables': {
373 'mojom_variant': 'blink',
374 'mojom_extra_generator_args': [
375 '--typemap', '<(DEPTH)/mojo/public/interfaces/bindings/tests/blink_tes t.typemap',
376 ],
377 'mojom_files': [
378 '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
379 ],
380 },
381 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
382 },
383 {
384 'target_name': 'mojo_public_test_interfaces_mojom_chromium',
385 'type': 'none',
386 'variables': {
387 'mojom_variant': 'chromium',
388 'mojom_extra_generator_args': [
389 '--typemap', '<(DEPTH)/mojo/public/interfaces/bindings/tests/chromium_ test.typemap',
390 ],
391 'mojom_files': [
392 '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
393 ],
394 },
395 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
396 },
397 {
367 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces 398 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
368 'target_name': 'mojo_public_test_interfaces', 399 'target_name': 'mojo_public_test_interfaces',
369 'type': 'static_library', 400 'type': 'static_library',
370 'export_dependent_settings': [ 401 'export_dependent_settings': [
371 'mojo_cpp_bindings', 402 'mojo_cpp_bindings',
372 ], 403 ],
373 'dependencies': [ 404 'dependencies': [
374 'mojo_public_test_interfaces_mojom', 405 'mojo_public_test_interfaces_mojom',
375 'mojo_cpp_bindings', 406 'mojo_cpp_bindings',
376 ], 407 ],
377 }, 408 },
378 { 409 {
410 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_blin k
411 'target_name': 'mojo_public_test_interfaces_blink',
412 'type': 'static_library',
413 'export_dependent_settings': [
414 'mojo_cpp_bindings',
415 ],
416 'dependencies': [
417 'mojo_public_test_interfaces_mojom_blink',
418 'mojo_cpp_bindings',
419 ],
420 },
421 {
422 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_chro mium
423 'target_name': 'mojo_public_test_interfaces_chromium',
424 'type': 'static_library',
425 'export_dependent_settings': [
426 'mojo_cpp_bindings',
427 ],
428 'dependencies': [
429 'mojo_public_test_interfaces_mojom_chromium',
430 'mojo_cpp_bindings',
431 ],
432 },
433 {
379 'target_name': 'mojo_public_test_associated_interfaces_mojom', 434 'target_name': 'mojo_public_test_associated_interfaces_mojom',
380 'type': 'none', 435 'type': 'none',
381 'variables': { 436 'variables': {
382 # These files are not included in the mojo_public_test_interfaces_mojom 437 # These files are not included in the mojo_public_test_interfaces_mojom
383 # target because associated interfaces are not supported by all bindings 438 # target because associated interfaces are not supported by all bindings
384 # languages yet. 439 # languages yet.
385 'mojom_files': [ 440 'mojom_files': [
386 '../../mojo/public/interfaces/bindings/tests/test_associated_interface s.mojom', 441 '../../mojo/public/interfaces/bindings/tests/test_associated_interface s.mojom',
387 '../../mojo/public/interfaces/bindings/tests/validation_test_associate d_interfaces.mojom', 442 '../../mojo/public/interfaces/bindings/tests/validation_test_associate d_interfaces.mojom',
388 ], 443 ],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 'dependencies': [ 488 'dependencies': [
434 'mojo_interface_bindings_java_sources', 489 'mojo_interface_bindings_java_sources',
435 'mojo_public_java', 490 'mojo_public_java',
436 ], 491 ],
437 'includes': [ '../../build/java.gypi' ], 492 'includes': [ '../../build/java.gypi' ],
438 }, 493 },
439 ], 494 ],
440 }], 495 }],
441 ], 496 ],
442 } 497 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698