OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("shell_apk_version.gni") | 6 import("shell_apk_version.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # The origin URL of the WebAPK. Used to generate a unique package name for | 9 # The origin URL of the WebAPK. Used to generate a unique package name for |
10 # WebAPK. Example: "foo.com" | 10 # WebAPK. Example: "foo.com" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 android_library("shell_apk_javatests") { | 122 android_library("shell_apk_javatests") { |
123 testonly = true | 123 testonly = true |
124 java_files = | 124 java_files = |
125 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] | 125 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] |
126 deps = [ | 126 deps = [ |
127 ":webapk_java", | 127 ":webapk_java", |
128 "//base:base_java", | 128 "//base:base_java", |
129 "//base:base_java_test_support", | 129 "//base:base_java_test_support", |
130 "//chrome/android/webapk/libs/common:common_java", | 130 "//chrome/android/webapk/libs/common:common_java", |
131 "//content/public/test/android:content_java_test_support", | 131 "//content/public/test/android:content_java_test_support", |
| 132 "//third_party/android_support_test_runner:runner_java", |
132 ] | 133 ] |
133 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] | 134 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] |
134 } | 135 } |
135 | 136 |
136 junit_binary("webapk_shell_apk_junit_tests") { | 137 junit_binary("webapk_shell_apk_junit_tests") { |
137 java_files = [ | 138 java_files = [ |
138 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java", | 139 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java", |
139 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java", | 140 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java", |
140 ] | 141 ] |
141 deps = [ | 142 deps = [ |
142 ":webapk_java", | 143 ":webapk_java", |
143 "//chrome/android/webapk/libs/common:common_java", | 144 "//chrome/android/webapk/libs/common:common_java", |
144 "//chrome/android/webapk/test:junit_test_support", | 145 "//chrome/android/webapk/test:junit_test_support", |
145 ] | 146 ] |
146 } | 147 } |
OLD | NEW |