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

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: Include new complete static library attribute on libmojo_sdk 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
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index d1637395e5b193f3ec6d6498a29067d39f49e5d3..e2bf68a7361eae974db5d25792de8b9862248ea4 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -13,6 +13,8 @@
#
# deps (optional)
#
+# testonly (optional)
+#
# visibility (optional)
# Normal meaning. However, this must be a list (normal visibility
# allows a single string).
@@ -109,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 = [
« build/toolchain/cros/BUILD.gn ('K') | « 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