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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/mojo_public.gyp
diff --git a/third_party/mojo/mojo_public.gyp b/third_party/mojo/mojo_public.gyp
index 80b021813227de6b030da5a1ab64bae14432a6a0..71c3dd9a1ab21934f65937e7ba617c5fce323f64 100644
--- a/third_party/mojo/mojo_public.gyp
+++ b/third_party/mojo/mojo_public.gyp
@@ -357,13 +357,44 @@
'../../mojo/public/interfaces/bindings/tests/sample_service.mojom',
'../../mojo/public/interfaces/bindings/tests/scoping.mojom',
'../../mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom',
+ '../../mojo/public/interfaces/bindings/tests/test_constants.mojom',
+ '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
'../../mojo/public/interfaces/bindings/tests/test_structs.mojom',
+ '../../mojo/public/interfaces/bindings/tests/test_unions.mojom',
'../../mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom',
],
},
'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
},
{
+ 'target_name': 'mojo_public_test_interfaces_mojom_blink',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_variant': 'blink',
+ 'mojom_extra_generator_args': [
+ '--typemap', '<(DEPTH)/mojo/public/interfaces/bindings/tests/blink_test.typemap',
+ ],
+ 'mojom_files': [
+ '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
+ ],
+ },
+ 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
+ },
+ {
+ 'target_name': 'mojo_public_test_interfaces_mojom_chromium',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_variant': 'chromium',
+ 'mojom_extra_generator_args': [
+ '--typemap', '<(DEPTH)/mojo/public/interfaces/bindings/tests/chromium_test.typemap',
+ ],
+ 'mojom_files': [
+ '../../mojo/public/interfaces/bindings/tests/test_native_types.mojom',
+ ],
+ },
+ 'includes': [ 'mojom_bindings_generator_explicit.gypi' ],
+ },
+ {
# GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
'target_name': 'mojo_public_test_interfaces',
'type': 'static_library',
@@ -376,6 +407,30 @@
],
},
{
+ # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_blink
+ 'target_name': 'mojo_public_test_interfaces_blink',
+ 'type': 'static_library',
+ 'export_dependent_settings': [
+ 'mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ 'mojo_public_test_interfaces_mojom_blink',
+ 'mojo_cpp_bindings',
+ ],
+ },
+ {
+ # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_chromium
+ 'target_name': 'mojo_public_test_interfaces_chromium',
+ 'type': 'static_library',
+ 'export_dependent_settings': [
+ 'mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ 'mojo_public_test_interfaces_mojom_chromium',
+ 'mojo_cpp_bindings',
+ ],
+ },
+ {
'target_name': 'mojo_public_test_associated_interfaces_mojom',
'type': 'none',
'variables': {

Powered by Google App Engine
This is Rietveld 408576698