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

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: set proper upstream 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
« no previous file with comments | « third_party/mojo/mojo_edk_tests.gyp ('k') | third_party/mojo/mojom_bindings_generator.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dependencies': [
383 'mojo_public_test_interfaces_mojom',
384 ],
385 },
386 {
387 'target_name': 'mojo_public_test_interfaces_mojom_chromium',
388 'type': 'none',
389 'variables': {
390 'mojom_variant': 'chromium',
391 'mojom_extra_generator_args': [
392 '--typemap', '<(DEPTH)/mojo/public/interfaces/bindings/tests/chromium_ test.typemap',
393 ],
394 'mojom_files': [
395 '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
396 ],
397 },
398 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
399 'dependencies': [
400 'mojo_public_test_interfaces_mojom',
401 ],
402 },
403 {
367 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces 404 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
368 'target_name': 'mojo_public_test_interfaces', 405 'target_name': 'mojo_public_test_interfaces',
369 'type': 'static_library', 406 'type': 'static_library',
370 'export_dependent_settings': [ 407 'export_dependent_settings': [
371 'mojo_cpp_bindings', 408 'mojo_cpp_bindings',
372 ], 409 ],
373 'dependencies': [ 410 'dependencies': [
374 'mojo_public_test_interfaces_mojom', 411 'mojo_public_test_interfaces_mojom',
375 'mojo_cpp_bindings', 412 'mojo_cpp_bindings',
376 ], 413 ],
377 }, 414 },
378 { 415 {
416 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_blin k
417 'target_name': 'mojo_public_test_interfaces_blink',
418 'type': 'static_library',
419 'export_dependent_settings': [
420 'mojo_cpp_bindings',
421 ],
422 'dependencies': [
423 'mojo_public_test_interfaces_mojom_blink',
424 'mojo_cpp_bindings',
425 ],
426 },
427 {
428 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_chro mium
429 'target_name': 'mojo_public_test_interfaces_chromium',
430 'type': 'static_library',
431 'export_dependent_settings': [
432 'mojo_cpp_bindings',
433 ],
434 'dependencies': [
435 'mojo_public_test_interfaces_mojom_chromium',
436 'mojo_cpp_bindings',
437 ],
438 },
439 {
379 'target_name': 'mojo_public_test_associated_interfaces_mojom', 440 'target_name': 'mojo_public_test_associated_interfaces_mojom',
380 'type': 'none', 441 'type': 'none',
381 'variables': { 442 'variables': {
382 # These files are not included in the mojo_public_test_interfaces_mojom 443 # These files are not included in the mojo_public_test_interfaces_mojom
383 # target because associated interfaces are not supported by all bindings 444 # target because associated interfaces are not supported by all bindings
384 # languages yet. 445 # languages yet.
385 'mojom_files': [ 446 'mojom_files': [
386 '../../mojo/public/interfaces/bindings/tests/test_associated_interface s.mojom', 447 '../../mojo/public/interfaces/bindings/tests/test_associated_interface s.mojom',
387 '../../mojo/public/interfaces/bindings/tests/validation_test_associate d_interfaces.mojom', 448 '../../mojo/public/interfaces/bindings/tests/validation_test_associate d_interfaces.mojom',
388 ], 449 ],
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 'mojo_interface_bindings_java_sources', 495 'mojo_interface_bindings_java_sources',
435 'mojo_public_java', 496 'mojo_public_java',
436 '<(DEPTH)/base/base.gyp:base_java', 497 '<(DEPTH)/base/base.gyp:base_java',
437 ], 498 ],
438 'includes': [ '../../build/java.gypi' ], 499 'includes': [ '../../build/java.gypi' ],
439 }, 500 },
440 ], 501 ],
441 }], 502 }],
442 ], 503 ],
443 } 504 }
OLDNEW
« no previous file with comments | « third_party/mojo/mojo_edk_tests.gyp ('k') | third_party/mojo/mojom_bindings_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698