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

Unified Diff: mojo/public/tools/bindings/mojom.gni

Issue 549453004: GN: Fix compile errors with os==chromeos mojo/public build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@signed
Patch Set: Update description Created 6 years, 3 months 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 | « mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index 74e6153a9c093d9dfeb4b32d402afff755364850..e12d8e0af06daefd69d5354e352909e65f127487 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -12,7 +12,11 @@
# List of source .mojom files to compile.
#
# deps (optional)
+#
# public_deps (optional)
+#
+# testonly (optional)
+#
# visibility (optional)
template("mojom") {
assert(defined(invoker.sources),
@@ -107,6 +111,9 @@ template("mojom") {
if (defined(invoker.visibility)) {
visibility = invoker.visibility
}
+ if (defined(invoker.testonly)) {
+ testonly = invoker.testonly
+ }
sources = process_file_template(invoker.sources, generator_cpp_outputs)
data = process_file_template(invoker.sources, generator_js_outputs)
deps = [
« no previous file with comments | « mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698