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

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: fix go group 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 | « build/go/rules.gni ('k') | mojo/go/BUILD.gn » ('j') | mojo/go/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/BUILD.gn
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn
index 2be3382754f4f9df7caf8a1a8946c3ff202f67b8..c17c0975f2a4ff1f14c4c32d795a0b19ae2aeb26 100644
--- a/mojo/BUILD.gn
+++ b/mojo/BUILD.gn
@@ -5,6 +5,9 @@
import("//build/config/ui.gni")
group("mojo") {
+ declare_args() {
+ mojo_use_go = false
+ }
deps = [
":tests",
"//mojo/common",
@@ -18,6 +21,11 @@ group("mojo") {
deps += [
"//mojo/python",
]
+ if (mojo_use_go) {
+ deps += [
+ "//mojo/go",
+ ]
+ }
}
}
« no previous file with comments | « build/go/rules.gni ('k') | mojo/go/BUILD.gn » ('j') | mojo/go/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698