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") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 group("mojo") { | 7 group("mojo") { |
8 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
9 testonly = true | 9 testonly = true |
10 declare_args() { | 10 declare_args() { |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 } | 34 } |
35 | 35 |
36 group("tests") { | 36 group("tests") { |
37 testonly = true | 37 testonly = true |
38 deps = [ | 38 deps = [ |
39 "//mojo/application_manager:mojo_application_manager_unittests", | 39 "//mojo/application_manager:mojo_application_manager_unittests", |
40 "//mojo/apps/js/test:mojo_apps_js_unittests", | 40 "//mojo/apps/js/test:mojo_apps_js_unittests", |
41 "//mojo/bindings/js/tests:mojo_js_unittests", | 41 "//mojo/bindings/js/tests:mojo_js_unittests", |
42 "//mojo/common:mojo_common_unittests", | 42 "//mojo/common:mojo_common_unittests", |
| 43 "//mojo/edk/system:mojo_message_pipe_perftests", |
| 44 "//mojo/edk/system:mojo_system_unittests", |
43 "//mojo/public/c/system/tests:perftests", | 45 "//mojo/public/c/system/tests:perftests", |
44 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", | 46 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", |
45 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", | 47 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", |
46 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", | 48 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", |
47 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", | 49 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", |
48 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", | 50 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", |
49 "//mojo/services/clipboard:mojo_clipboard_unittests", | 51 "//mojo/services/clipboard:mojo_clipboard_unittests", |
50 "//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests", | 52 "//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests", |
51 "//mojo/shell:mojo_external_application_tests", | 53 "//mojo/shell:mojo_external_application_tests", |
52 "//mojo/shell:mojo_shell_tests", | 54 "//mojo/shell:mojo_shell_tests", |
53 "//mojo/system:mojo_message_pipe_perftests", | |
54 "//mojo/system:mojo_system_unittests", | |
55 "//mojo/tools:message_generator", | 55 "//mojo/tools:message_generator", |
56 ] | 56 ] |
57 | 57 |
58 if (use_aura) { | 58 if (use_aura) { |
59 deps += [ | 59 deps += [ |
60 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt
ests", | 60 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt
ests", |
61 "//mojo/services/view_manager:mojo_view_manager_unittests", | 61 "//mojo/services/view_manager:mojo_view_manager_unittests", |
62 "//mojo/services/window_manager:mojo_core_window_manager_unittests", | 62 "//mojo/services/window_manager:mojo_core_window_manager_unittests", |
63 ] | 63 ] |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 if (is_android) { | 67 if (is_android) { |
68 import("//build/config/android/rules.gni") | 68 import("//build/config/android/rules.gni") |
69 | 69 |
70 generate_jni("jni_headers") { | 70 generate_jni("jni_headers") { |
71 sources = [ | 71 sources = [ |
72 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", | 72 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", |
73 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, | 73 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, |
74 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 74 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
75 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", | 75 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", |
76 ] | 76 ] |
77 | 77 |
78 jni_package = "mojo" | 78 jni_package = "mojo" |
79 } | 79 } |
80 } | 80 } |
OLD | NEW |