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

Unified Diff: mojo/go/rules.gni

Issue 1276653003: Update version of Go to 1.5 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: go.mobile no longer needed Created 5 years, 4 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/rules.gni
diff --git a/mojo/go/rules.gni b/mojo/go/rules.gni
index 328640575e3c24185fce14c4376c9bdba351e027..60714f0f088381de992ef2900567d747a55395de 100644
--- a/mojo/go/rules.gni
+++ b/mojo/go/rules.gni
@@ -137,11 +137,8 @@ template("go_mojo_application") {
"-I" + rebase_path("//"),
"-L" + rebase_path(target_out_dir) + " -l" + static_library_name + "",
"build",
- "-ldflags=-shared",
]
- if (is_linux) {
- args += [ "-buildmode=c-shared" ]
- }
+ args += [ "-buildmode=c-shared" ]
args += rebase_path(invoker.sources, build_dir)
}
« examples/go/echo_server.go ('K') | « mojo/go/go.py ('k') | tools/go/VERSION_LINUX » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698