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

Unified Diff: third_party/mojo/mojo_public.gyp

Issue 1465293002: Mojo C++ bindings: introduce public associated-interface-related types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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') | no next file » | 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 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"', {
« no previous file with comments | « third_party/mojo/mojo_edk_tests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698