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

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

Issue 754963008: Simplify //mojo/public/c/system targets (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
« no previous file with comments | « examples/device_name/BUILD.gn ('k') | mojo/gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
19 "//mojo/public/platform/native:system",
19 ] 20 ]
20 } 21 }
21 } else if (is_linux) { 22 } else if (is_linux) {
22 group("go") { 23 group("go") {
23 deps = [ 24 deps = [
24 ":system_test", 25 ":system_test",
25 ] 26 ]
26 } 27 }
27 go_test_binary("system_test") { 28 go_test_binary("system_test") {
28 sources = [ 29 sources = [
29 "tests/system_test.go", 30 "tests/system_test.go",
30 ] 31 ]
31 static_library_sources = [ 32 static_library_sources = [
32 "c_embedder/c_embedder.cc", 33 "c_embedder/c_embedder.cc",
33 "c_embedder/c_embedder.h", 34 "c_embedder/c_embedder.h",
34 ] 35 ]
35 deps = [ 36 deps = [
36 "//mojo/edk/system", 37 "//mojo/edk/system",
37 ] 38 ]
38 } 39 }
39 } 40 }
OLDNEW
« no previous file with comments | « examples/device_name/BUILD.gn ('k') | mojo/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698