Index: mojo/BUILD.gn |
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn |
index 276a4b956c6d1c2af959a2a8af355129cc1b85ee..f5af4296538a932786c7a08305c23b4afd1e6295 100644 |
--- a/mojo/BUILD.gn |
+++ b/mojo/BUILD.gn |
@@ -7,6 +7,9 @@ import("//build/config/ui.gni") |
group("mojo") { |
# Meta-target, don't link into production code. |
testonly = true |
+ declare_args() { |
+ mojo_use_go = false |
+ } |
deps = [ |
":tests", |
"//mojo/apps/js:mojo_js", |
@@ -21,6 +24,11 @@ group("mojo") { |
deps += [ |
"//mojo/python", |
] |
+ if (mojo_use_go) { |
+ deps += [ |
+ "//mojo/go", |
+ ] |
+ } |
} |
} |