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