OLD | NEW |
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 group("mojo") { | 5 group("mojo") { |
6 deps = [ | 6 deps = [ |
| 7 ":tests", |
7 "//mojo/common", | 8 "//mojo/common", |
8 "//mojo/examples", | 9 "//mojo/examples", |
9 "//mojo/public", | 10 "//mojo/public", |
10 "//mojo/services", | 11 "//mojo/services", |
11 "//mojo/shell:mojo_shell", | 12 "//mojo/shell:mojo_shell", |
12 "//mojo/shell:mojo_shell_tests", | |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
| 16 group("tests") { |
| 17 deps = [ |
| 18 "//mojo/application_manager:mojo_application_manager_unittests", |
| 19 "//mojo/apps/js/test:mojo_apps_js_unittests", |
| 20 "//mojo/common:mojo_common_unittests", |
| 21 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", |
| 22 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", |
| 23 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", |
| 24 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", |
| 25 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", |
| 26 "//mojo/public/js/bindings/tests:mojo_js_unittests", |
| 27 "//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests", |
| 28 "//mojo/shell:mojo_shell_tests", |
| 29 "//mojo/system:mojo_system_unittests", |
| 30 ] |
| 31 } |
| 32 |
16 if (is_android) { | 33 if (is_android) { |
17 import("//build/config/android/rules.gni") | 34 import("//build/config/android/rules.gni") |
18 | 35 |
19 generate_jni("jni_headers") { | 36 generate_jni("jni_headers") { |
20 sources = [ | 37 sources = [ |
21 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", | 38 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", |
22 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 39 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
23 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", | 40 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", |
24 ] | 41 ] |
25 | 42 |
26 jni_package = "mojo" | 43 jni_package = "mojo" |
27 } | 44 } |
28 } | 45 } |
OLD | NEW |