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