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

Side by Side Diff: mojo/BUILD.gn

Issue 681393002: -Build configuration for a sample Go application that can be run in Mojo (on Android). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tabs Created 6 years, 1 month 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 | « build/go/rules.gni ('k') | mojo/go/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/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 7
8 group("mojo") { 8 group("mojo") {
9 # Meta-target, don't link into production code. 9 # Meta-target, don't link into production code.
10 testonly = true 10 testonly = true
(...skipping 16 matching lines...) Expand all
27 } else { 27 } else {
28 deps += [ "//mojo/shell:mojo_shell" ] 28 deps += [ "//mojo/shell:mojo_shell" ]
29 } 29 }
30 30
31 if (is_android) { 31 if (is_android) {
32 deps += [ 32 deps += [
33 "//mojo/android", 33 "//mojo/android",
34 ] 34 ]
35 } 35 }
36 36
37 if (mojo_use_go) {
38 deps += [
39 "//mojo/go",
40 ]
41 }
42
37 if (is_linux) { 43 if (is_linux) {
38 deps += [ 44 deps += [
39 "//mojo/python", 45 "//mojo/python",
40 ] 46 ]
41 if (mojo_use_go) {
42 deps += [
43 "//mojo/go",
44 ]
45 }
46 } 47 }
47 } 48 }
48 49
49 group("tests") { 50 group("tests") {
50 testonly = true 51 testonly = true
51 deps = [ 52 deps = [
52 "//mojo/application_manager:mojo_application_manager_unittests", 53 "//mojo/application_manager:mojo_application_manager_unittests",
53 "//mojo/apps/js/test:apps_js_unittests", 54 "//mojo/apps/js/test:apps_js_unittests",
54 "//mojo/bindings/js/tests:js_unittests", 55 "//mojo/bindings/js/tests:js_unittests",
55 "//mojo/common:mojo_common_unittests", 56 "//mojo/common:mojo_common_unittests",
(...skipping 29 matching lines...) Expand all
85 sources = [ 86 sources = [
86 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 87 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
87 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 88 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
88 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 89 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
89 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 90 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
90 ] 91 ]
91 92
92 jni_package = "mojo" 93 jni_package = "mojo"
93 } 94 }
94 } 95 }
OLDNEW
« no previous file with comments | « build/go/rules.gni ('k') | mojo/go/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698