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

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: 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/mojo_public.gyp
diff --git a/third_party/mojo/mojo_public.gyp b/third_party/mojo/mojo_public.gyp
index aee8162a3a9eb104a7535dde76874c75118273c7..d62e57e0c5811c3f06198f7b6aab2f360bf23c0f 100644
--- a/third_party/mojo/mojo_public.gyp
+++ b/third_party/mojo/mojo_public.gyp
@@ -357,13 +357,50 @@
'../../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' ],
+ 'dependencies': [
+ 'mojo_public_test_interfaces_mojom',
+ ],
+ },
+ {
+ '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' ],
+ 'dependencies': [
+ 'mojo_public_test_interfaces_mojom',
+ ],
+ },
+ {
# GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
'target_name': 'mojo_public_test_interfaces',
'type': 'static_library',
@@ -376,6 +413,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': {
« 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