1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library_static {
name: "PandoraServerLib",
srcs: ["src/**/*.kt"],
sdk_version: "core_platform",
libs: [
// Access to hidden apis in Bluetooth:
"framework-bluetooth.impl",
"framework",
],
static_libs: [
"androidx.test.runner",
"androidx.test.core",
"androidx.test.uiautomator_uiautomator",
"grpc-java-netty-shaded-test",
"grpc-java-lite",
"guava",
"opencensus-java-api",
"kotlin-test",
"kotlinx_coroutines",
"pandora_experimental-grpc-java",
"pandora_experimental-proto-java",
"opencensus-java-contrib-grpc-metrics",
],
}
android_test_helper_app {
name: "PandoraServer",
static_libs: [
"PandoraServerLib",
],
dex_preopt: {
enabled: false,
},
optimize: {
enabled: false,
},
test_suites: [
"general-tests",
"device-tests",
"mts-bluetooth",
],
}
android_test {
name: "pts-bot",
required: ["PandoraServer"],
test_config: "configs/PtsBotTest.xml",
data: [
"configs/pts_bot_tests_config.json",
":mmi2grpc"
],
test_suites: ["device-tests"],
}
android_test {
name: "pts-bot-mts",
required: ["PandoraServer"],
test_config: "configs/PtsBotTestMts.xml",
data: [
"configs/pts_bot_tests_config.json",
":mmi2grpc"
],
test_suites: ["mts-bluetooth"],
}
|