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

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: Created 6 years, 1 month 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/test_embedder.h » ('j') | mojo/edk/embedder/test_embedder.h » ('J')
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "//mojo/tools:message_generator", 85 "//mojo/tools:message_generator",
86 "//services/js:js_services_unittests", 86 "//services/js:js_services_unittests",
87 ] 87 ]
88 88
89 if (!is_win) { 89 if (!is_win) {
90 deps += [ 90 deps += [
91 "//mojo/shell:external_application_tests", 91 "//mojo/shell:external_application_tests",
92 ] 92 ]
93 } 93 }
94 94
95 if (is_android) {
96 deps += [
97 "//mojo/edk/system:mojo_system_unittests_apk",
98 ]
99 }
100
95 if (use_aura) { 101 if (use_aura) {
96 deps += [ 102 deps += [
97 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests", 103 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests",
98 "//mojo/services/view_manager:view_manager_unittests", 104 "//mojo/services/view_manager:view_manager_unittests",
99 "//mojo/services/view_manager:view_manager_server_apptests", 105 "//mojo/services/view_manager:view_manager_server_apptests",
100 "//mojo/services/window_manager:window_manager_unittests", 106 "//mojo/services/window_manager:window_manager_unittests",
101 ] 107 ]
102 } 108 }
103 } 109 }
104 110
105 if (is_android) { 111 if (is_android) {
106 import("//build/config/android/rules.gni") 112 import("//build/config/android/rules.gni")
107 113
108 generate_jni("jni_headers") { 114 generate_jni("jni_headers") {
109 sources = [ 115 sources = [
110 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 116 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
111 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 117 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
112 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 118 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
113 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 119 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
114 ] 120 ]
115 121
116 jni_package = "mojo" 122 jni_package = "mojo"
117 } 123 }
118 } 124 }
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/embedder/test_embedder.h » ('j') | mojo/edk/embedder/test_embedder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698