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

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

Powered by Google App Engine
This is Rietveld 408576698