summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorQijiang Fan <fqj@chromium.org>2020-03-19 17:59:27 +0900
committerQijiang Fan <fqj@chromium.org>2020-03-19 18:08:54 +0900
commitf433fa8ed4e6f220ccf4d0faffee2585c21989b8 (patch)
treec15aac44940f70cbe8e999faadfe6c5e3878bebd /BUILD.gn
parent675e1c7c61517f12283873c787ad1500a940e4a6 (diff)
downloadplatform_external_libchrome-f433fa8ed4e6f220ccf4d0faffee2585c21989b8.tar.gz
platform_external_libchrome-f433fa8ed4e6f220ccf4d0faffee2585c21989b8.tar.bz2
platform_external_libchrome-f433fa8ed4e6f220ccf4d0faffee2585c21989b8.zip
libchrome: set typemap for mojom_bindings_gen
This will have module.mojom.h to correctly include the public headers. BUG=chromium:1055379 TEST=emerge libchrome Change-Id: I79ce9d1384cd90d7d8aed76f8c57ccde31d4489a
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f8f9ad3ee..cf0e1a9a5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -594,6 +594,7 @@ if (use.mojo) {
}
generate_mojom_bindings_gen("mojom_bindings_gen") {
mojom_bindings_generator = "mojo/public/tools/bindings/mojom_bindings_generator.py"
+ typemaps = get_target_outputs(":mojom_type_mappings")
sources = [
"ipc/ipc.mojom",
"mojo/public/mojom/base/big_buffer.mojom",