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

Unified Diff: mojo/BUILD.gn

Issue 556813003: Add Go build support for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brettw feedback 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/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",
+ ]
+ }
}
}
« build/go/rules.gni ('K') | « build/go/rules.gni ('k') | mojo/go/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698