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

Side by Side Diff: mojo/BUILD.gn

Issue 728783003: Add infrastructure to run tests on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review 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 | « no previous file | mojo/edk/embedder/embedder_unittest.cc » ('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.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", 80 "//mojo/public/cpp/system/tests:mojo_public_system_unittests",
81 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", 81 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests",
82 "//mojo/services/clipboard:clipboard_unittests", 82 "//mojo/services/clipboard:clipboard_unittests",
83 "//mojo/services/network:apptests", 83 "//mojo/services/network:apptests",
84 "//mojo/shell:external_application_unittests", 84 "//mojo/shell:external_application_unittests",
85 "//mojo/shell:mojo_shell_tests", 85 "//mojo/shell:mojo_shell_tests",
86 "//mojo/tools:message_generator", 86 "//mojo/tools:message_generator",
87 "//services/js:js_services_unittests", 87 "//services/js:js_services_unittests",
88 ] 88 ]
89 89
90 if (is_android) {
91 deps += [
92 "//mojo/edk/system:mojo_system_unittests_apk",
93 ]
94 }
95
90 if (use_aura) { 96 if (use_aura) {
91 deps += [ 97 deps += [
92 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests", 98 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests",
93 "//mojo/services/view_manager:view_manager_service_apptests", 99 "//mojo/services/view_manager:view_manager_service_apptests",
94 "//mojo/services/view_manager:view_manager_service_unittests", 100 "//mojo/services/view_manager:view_manager_service_unittests",
95 "//mojo/services/view_manager:view_manager_unittests", 101 "//mojo/services/view_manager:view_manager_unittests",
96 "//mojo/services/window_manager:window_manager_unittests", 102 "//mojo/services/window_manager:window_manager_unittests",
97 ] 103 ]
98 } 104 }
99 } 105 }
100 106
101 if (is_android) { 107 if (is_android) {
102 import("//build/config/android/rules.gni") 108 import("//build/config/android/rules.gni")
103 109
104 generate_jni("jni_headers") { 110 generate_jni("jni_headers") {
105 sources = [ 111 sources = [
106 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 112 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
107 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 113 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
108 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 114 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
109 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 115 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
110 ] 116 ]
111 117
112 jni_package = "mojo" 118 jni_package = "mojo"
113 } 119 }
114 } 120 }
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698