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

Side by Side Diff: mojo/go/BUILD.gn

Issue 773283006: Run gn format on all BUILD.gn files (gn version 306668) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/go/rules.gni") 5 import("//build/go/rules.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 group("go") { 8 group("go") {
9 deps = [ 9 deps = [
10 ":go_sample_app", 10 ":go_sample_app",
11 ] 11 ]
12 } 12 }
13 go_shared_library("go_sample_app") { 13 go_shared_library("go_sample_app") {
14 sources = [ 14 sources = [
15 "sample_app/app.go", 15 "sample_app/app.go",
16 ] 16 ]
17 deps = [ 17 deps = [
18 "//mojo/public/c/system:for_shared_library", 18 "//mojo/public/c/system:for_shared_library",
19 ] 19 ]
20 } 20 }
21 } else if (is_linux) { 21 } else if (is_linux) {
22 group("go") { 22 group("go") {
23 deps = [ 23 deps = [
24 ":system_test", 24 ":system_test",
25 ] 25 ]
26 } 26 }
27 go_test_binary("system_test") { 27 go_test_binary("system_test") {
28 sources = [ 28 sources = [
29 "tests/system_test.go", 29 "tests/system_test.go",
30 ] 30 ]
31 static_library_sources = [ 31 static_library_sources = [
32 "c_embedder/c_embedder.cc", 32 "c_embedder/c_embedder.cc",
33 "c_embedder/c_embedder.h", 33 "c_embedder/c_embedder.h",
34 ] 34 ]
35 deps = [ 35 deps = [
36 "//mojo/edk/system", 36 "//mojo/edk/system",
37 ] 37 ]
38 } 38 }
39 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698