summaryrefslogtreecommitdiff
path: root/chromium/fuchsia/mojom/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/fuchsia/mojom/BUILD.gn')
-rw-r--r--chromium/fuchsia/mojom/BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/fuchsia/mojom/BUILD.gn b/chromium/fuchsia/mojom/BUILD.gn
index d06caabf100..ed7c1eb4f85 100644
--- a/chromium/fuchsia/mojom/BUILD.gn
+++ b/chromium/fuchsia/mojom/BUILD.gn
@@ -10,6 +10,26 @@ import("//testing/test.gni")
mojom("example_interfaces") {
testonly = true
sources = [ "example.mojom" ]
+ cpp_typemaps = [
+ {
+ types = [
+ {
+ mojom = "fuchsia.test.mojom.TestInterfaceRequest"
+ cpp = "::fidl::InterfaceRequest<::base::fuchsia::testfidl::TestInterface>"
+ move_only = true
+ },
+ ]
+
+ traits_headers = [
+ "//base/fuchsia/testfidl/cpp/fidl.h",
+ "//fuchsia/mojom/test_interface_request_mojom_traits.h",
+ ]
+ traits_public_deps = [
+ ":traits",
+ "//base:testfidl",
+ ]
+ },
+ ]
}
source_set("traits") {