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

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: Do not introduce IsInitialzed() 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_win) { 90 if (!is_win) {
91 deps += [ 91 deps += [
92 "//mojo/shell:external_application_tests", 92 "//mojo/shell:external_application_tests",
93 ] 93 ]
94 } 94 }
95 95
96 if (is_android) {
97 deps += [
98 "//mojo/edk/system:mojo_system_unittests_apk",
99 ]
100 }
101
96 if (use_aura) { 102 if (use_aura) {
97 deps += [ 103 deps += [
98 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests", 104 "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unitt ests",
99 "//mojo/services/view_manager:view_manager_service_apptests", 105 "//mojo/services/view_manager:view_manager_service_apptests",
100 "//mojo/services/view_manager:view_manager_service_unittests", 106 "//mojo/services/view_manager:view_manager_service_unittests",
101 "//mojo/services/view_manager:view_manager_unittests", 107 "//mojo/services/view_manager:view_manager_unittests",
102 "//mojo/services/window_manager:window_manager_unittests", 108 "//mojo/services/window_manager:window_manager_unittests",
103 ] 109 ]
104 } 110 }
105 } 111 }
106 112
107 if (is_android) { 113 if (is_android) {
108 import("//build/config/android/rules.gni") 114 import("//build/config/android/rules.gni")
109 115
110 generate_jni("jni_headers") { 116 generate_jni("jni_headers") {
111 sources = [ 117 sources = [
112 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", 118 "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
113 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" , 119 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java" ,
114 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", 120 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
115 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java", 121 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn droid.java",
116 ] 122 ]
117 123
118 jni_package = "mojo" 124 jni_package = "mojo"
119 } 125 }
120 } 126 }
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