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

Unified Diff: mojo/go/BUILD.gn

Issue 556813003: Add Go build support for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/go/BUILD.gn
diff --git a/mojo/go/BUILD.gn b/mojo/go/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0b2a941bf912dcae122e9e2570744117f4bf70cf
--- /dev/null
+++ b/mojo/go/BUILD.gn
@@ -0,0 +1,22 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/go/rules.gni")
+
+group("go") {
brettw 2014/09/16 22:58:55 I'm not really sure what this is supposed to be.
tburkard 2014/09/17 12:06:45 This group("go") was copied from qsr's python stuf
qsr 2014/09/17 12:30:25 I do not think I have an empty group anywhere. Whi
tburkard 2014/09/17 13:30:46 Fixed per discussion with qsr.
+
+}
+
+go_test_binary("system_test") {
+# go_base_module = "mojo"
+ sources = [
+ "tests/system_test.go",
qsr 2014/09/18 08:30:38 Why don't you depend on all the other .go files?
tburkard 2014/09/18 14:23:42 Yup, that's what I'm not sure, how to express thes
+ ]
+# deps = [
+# "//mojo/system",
+# ]
+# datadeps = [
+# "//mojo/public/python:system",
+# ]
+}

Powered by Google App Engine
This is Rietveld 408576698