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

Side by Side Diff: mojo/BUILD.gn

Issue 775343004: Move //mojo/shell to //shell (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 | « PRESUBMIT.py ('k') | mojo/android/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 # TODO(beng): this meta target should probably move to the root dir's BUILD.gn. 8 # TODO(beng): this meta target should probably move to the root dir's BUILD.gn.
9 group("mojo") { 9 group("mojo") {
10 # Meta-target, don't link into production code. 10 # Meta-target, don't link into production code.
11 testonly = true 11 testonly = true
12 declare_args() { 12 declare_args() {
13 mojo_use_go = false 13 mojo_use_go = false
14 } 14 }
15 deps = [ 15 deps = [
16 ":tests", 16 ":tests",
17 "//benchmarks", 17 "//benchmarks",
18 "//examples", 18 "//examples",
19 "//mojo/common", 19 "//mojo/common",
20 "//mojo/public", 20 "//mojo/public",
21 "//mojo/services", 21 "//mojo/services",
22 "//mojo/tools/package_manager", 22 "//mojo/tools/package_manager",
23 "//services", 23 "//services",
24 ] 24 ]
25 25
26 if (use_prebuilt_mojo_shell) {
27 deps += [ "//mojo/public/tools:copy_mojo_shell" ]
28 } else {
29 deps += [ "//mojo/shell:mojo_shell" ]
30 if (is_android) {
31 deps += [ "//mojo/shell:mojo_shell_apk" ]
32 }
33 }
34
35 if (is_android) { 26 if (is_android) {
36 deps += [ "//mojo/android" ] 27 deps += [ "//mojo/android" ]
37 } 28 }
38 29
39 if (mojo_use_go) { 30 if (mojo_use_go) {
40 deps += [ "//mojo/go" ] 31 deps += [ "//mojo/go" ]
41 } 32 }
42 33
43 if (is_linux) { 34 if (is_linux) {
44 deps += [ "//mojo/python" ] 35 deps += [ "//mojo/python" ]
45 } 36 }
46
47 if (!is_win) {
48 deps += [ "//mojo/shell:mojo_launcher" ]
49 }
50 } 37 }
51 38
52 group("tests") { 39 group("tests") {
53 testonly = true 40 testonly = true
54 deps = [ 41 deps = [
55 "//mojo/application_manager:mojo_application_manager_unittests", 42 "//mojo/application_manager:mojo_application_manager_unittests",
56 "//mojo/common:mojo_common_unittests", 43 "//mojo/common:mojo_common_unittests",
57 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", 44 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
58 "//mojo/edk/js/test:js_unittests", 45 "//mojo/edk/js/test:js_unittests",
59 "//mojo/edk/js/test:js_integration_tests", 46 "//mojo/edk/js/test:js_integration_tests",
60 "//mojo/edk/system:mojo_message_pipe_perftests", 47 "//mojo/edk/system:mojo_message_pipe_perftests",
61 "//mojo/edk/system:mojo_system_unittests", 48 "//mojo/edk/system:mojo_system_unittests",
62 "//mojo/public/c/system/tests:perftests", 49 "//mojo/public/c/system/tests:perftests",
63 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", 50 "//mojo/public/cpp/application/tests:mojo_public_application_unittests",
64 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", 51 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests",
65 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", 52 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests",
66 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", 53 "//mojo/public/cpp/system/tests:mojo_public_system_unittests",
67 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", 54 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests",
68 "//mojo/services/network:apptests", 55 "//mojo/services/network:apptests",
69 "//mojo/shell:external_application_unittests",
70 "//mojo/shell:mojo_shell_tests",
71 "//mojo/tools:message_generator", 56 "//mojo/tools:message_generator",
72 "//services/clipboard:apptests", 57 "//services/clipboard:apptests",
73 "//services/js:js_services_unittests", 58 "//services/js:js_services_unittests",
74 "//services/js:js_apptests", 59 "//services/js:js_apptests",
75 ] 60 ]
76 61
77 if (is_android) { 62 if (is_android) {
78 deps += [ "//mojo/edk/system:mojo_system_unittests_apk" ] 63 deps += [ "//mojo/edk/system:mojo_system_unittests_apk" ]
79 } 64 }
80 65
(...skipping 18 matching lines...) Expand all
99 sources = [ 84 sources = [
100 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 85 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
101 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 86 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
102 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 87 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
103 "../services/native_viewport/android/src/org/chromium/mojo/PlatformViewpor tAndroid.java", 88 "../services/native_viewport/android/src/org/chromium/mojo/PlatformViewpor tAndroid.java",
104 ] 89 ]
105 90
106 jni_package = "mojo" 91 jni_package = "mojo"
107 } 92 }
108 } 93 }
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | mojo/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698