Index: third_party/mojo/mojo_public.gyp |
diff --git a/third_party/mojo/mojo_public.gyp b/third_party/mojo/mojo_public.gyp |
index 63c9b0ad04560c35d33ebf3e460ee0168d464863..32edb13617a3ab5622e0d48e93564d2cedb9073c 100644 |
--- a/third_party/mojo/mojo_public.gyp |
+++ b/third_party/mojo/mojo_public.gyp |
@@ -97,6 +97,11 @@ |
], |
'sources': [ |
'../../mojo/public/cpp/bindings/array.h', |
+ '../../mojo/public/cpp/bindings/associated_binding.h', |
+ '../../mojo/public/cpp/bindings/associated_group.h', |
+ '../../mojo/public/cpp/bindings/associated_interface_ptr.h', |
+ '../../mojo/public/cpp/bindings/associated_interface_ptr_info.h', |
+ '../../mojo/public/cpp/bindings/associated_interface_request.h', |
'../../mojo/public/cpp/bindings/binding.h', |
'../../mojo/public/cpp/bindings/callback.h', |
'../../mojo/public/cpp/bindings/interface_ptr.h', |
@@ -104,6 +109,8 @@ |
'../../mojo/public/cpp/bindings/lib/array_internal.cc', |
'../../mojo/public/cpp/bindings/lib/array_internal.h', |
'../../mojo/public/cpp/bindings/lib/array_serialization.h', |
+ '../../mojo/public/cpp/bindings/lib/associated_group.cc', |
+ '../../mojo/public/cpp/bindings/lib/associated_interface_ptr_internal.h', |
'../../mojo/public/cpp/bindings/lib/bindings_internal.h', |
'../../mojo/public/cpp/bindings/lib/bindings_serialization.cc', |
'../../mojo/public/cpp/bindings/lib/bindings_serialization.h', |
@@ -369,6 +376,31 @@ |
'mojo_cpp_bindings', |
], |
}, |
+ { |
+ 'target_name': 'mojo_public_test_associated_interfaces_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ # These files are not included in the mojo_public_test_interfaces_mojom |
+ # target because associated interfaces are not supported by all bindings |
+ # languages yet. |
+ 'mojom_files': [ |
+ '../../mojo/public/interfaces/bindings/tests/test_associated_interfaces.mojom', |
+ ], |
+ }, |
+ 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ # GN version: //mojo/public/interfaces/bindings/tests:test_associated_interfaces |
+ 'target_name': 'mojo_public_test_associated_interfaces', |
+ 'type': 'static_library', |
+ 'export_dependent_settings': [ |
+ 'mojo_cpp_bindings', |
+ ], |
+ 'dependencies': [ |
+ 'mojo_public_test_associated_interfaces_mojom', |
+ 'mojo_cpp_bindings', |
+ ], |
+ }, |
], |
'conditions': [ |
['OS == "android"', { |