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 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_apk | |
20 android_apk("system_webview_shell_apk") { | |
21 apk_name = "SystemWebViewShell" | |
22 DEPRECATED_java_in_dir = "WebViewShell/src" | |
23 android_manifest = "WebViewShell/AndroidManifest.xml" | |
24 deps = [ | |
25 ":system_webview_shell_apk_resources", | |
26 "//base:base_java", | |
27 ] | |
28 } | |
29 | |
30 android_resources("system_webview_shell_apk_resources") { | |
31 resource_dirs = [ "WebViewShell/res" ] | |
32 custom_package = "org.chromium.webview_shell" | |
33 } | |
34 | |
35 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_page_cy
cler_apk | |
36 instrumentation_test_apk("system_webview_shell_page_cycler_apk") { | |
37 apk_name = "SystemWebViewShellPageCycler" | |
38 apk_under_test = ":system_webview_shell_apk" | |
39 android_manifest = "PageCycler/AndroidManifest.xml" | |
40 DEPRECATED_java_in_dir = "PageCycler/src" | |
41 deps = [ | |
42 "//base:base_java", | |
43 "//base:base_java_test_support", | |
44 "//content/public/android:content_java", | |
45 "//content/public/test/android:content_java_test_support", | |
46 "//testing/android/reporter:reporter_java", | |
47 ] | |
48 additional_apks = [ "//android_webview:system_webview_apk" ] | |
49 } | |
50 | |
51 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_layout_
test_apk | |
52 instrumentation_test_apk("system_webview_shell_layout_test_apk") { | |
53 apk_name = "SystemWebViewShellLayoutTest" | |
54 apk_under_test = ":system_webview_shell_apk" | |
55 android_manifest = "WebViewShellTest/AndroidManifest.xml" | |
56 DEPRECATED_java_in_dir = "WebViewShellTest/src" | |
57 isolate_file = "../system_webview_shell_test_apk.isolate" | |
58 deps = [ | |
59 "//base:base_java", | |
60 "//base:base_java_test_support", | |
61 "//testing/android/reporter:reporter_java", | |
62 ] | |
63 additional_apks = [ "//android_webview:system_webview_apk" ] | |
64 } | |
OLD | NEW |