OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/android/rules.gni") | |
6 import("//testing/test.gni") | |
7 | |
8 # Mark all targets as test only. | |
9 testonly = true | |
10 | |
11 group("tools") { | |
12 deps = [ | |
13 ":system_webview_shell_apk", | |
14 ":system_webview_shell_layout_test_apk", | |
15 ":system_webview_shell_page_cycler_apk", | |
16 ] | |
17 } | |
18 | |
19 android_apk("system_webview_shell_apk") { | |
20 apk_name = "SystemWebViewShell" | |
21 DEPRECATED_java_in_dir = "WebViewShell/src" | |
michaelbai
2015/12/28 18:47:36
What's your plan to fix this?
agrieve
2015/12/28 19:00:48
https://code.google.com/p/chromium/issues/detail?i
michaelbai
2015/12/28 19:34:08
That's interesting.
| |
22 android_manifest = "WebViewShell/AndroidManifest.xml" | |
23 deps = [ | |
24 ":system_webview_shell_apk_resources", | |
25 "//base:base_java", | |
26 ] | |
27 } | |
28 | |
29 android_resources("system_webview_shell_apk_resources") { | |
30 resource_dirs = [ "WebViewShell/res" ] | |
31 custom_package = "org.chromium.webview_shell" | |
32 } | |
33 | |
34 instrumentation_test_apk("system_webview_shell_page_cycler_apk") { | |
35 apk_name = "SystemWebViewShellPageCycler" | |
36 apk_under_test = ":system_webview_shell_apk" | |
37 android_manifest = "PageCycler/AndroidManifest.xml" | |
38 DEPRECATED_java_in_dir = "PageCycler/src" | |
39 deps = [ | |
40 "//base:base_java", | |
41 "//base:base_java_test_support", | |
42 "//content/public/android:content_java", | |
43 "//content/public/test/android:content_java_test_support", | |
44 "//testing/android/reporter:reporter_java", | |
45 ] | |
46 } | |
47 | |
48 instrumentation_test_apk("system_webview_shell_layout_test_apk") { | |
49 apk_name = "SystemWebViewShellLayoutTest" | |
50 apk_under_test = ":system_webview_shell_apk" | |
51 android_manifest = "WebViewShellTest/AndroidManifest.xml" | |
52 DEPRECATED_java_in_dir = "WebViewShellTest/src" | |
53 isolate_file = "../system_webview_shell_test_apk.isolate" | |
54 deps = [ | |
55 "//base:base_java", | |
56 "//base:base_java_test_support", | |
57 "//testing/android/reporter:reporter_java", | |
58 ] | |
59 } | |
OLD | NEW |