• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10android_test_helper_app {
11    name: "BumbleBluetoothTestsApp",
12    defaults: ["framework-bluetooth-tests-defaults"],
13
14    min_sdk_version: "current",
15    target_sdk_version: "current",
16    libs: [
17        "android.test.base",
18        "android.test.runner",
19        "libprotobuf-java-micro",
20    ],
21
22    static_libs: [
23        "androidx.test.ext.truth",
24        "androidx.test.rules",
25        "androidx.core_core",
26        "grpc-java-lite",
27        "grpc-java-okhttp-client-lite",
28        "opencensus-java-contrib-grpc-metrics",
29        "pandora_experimental-grpc-java",
30        "pandora_experimental-proto-java",
31    ],
32
33    // Include all test java files.
34    srcs: ["src/**/*.java"],
35
36    platform_apis: true,
37    test_suites: [
38        "general-tests",
39    ],
40}
41
42// This empty test host is needed for building required host binary
43// "bumble_pandora_server" and include it in test zip
44java_test_host {
45    name: "BumbleBluetoothTests",
46
47    libs: [
48        "tradefed",
49    ],
50
51    data: [
52        ":BumbleBluetoothTestsApp",
53        ":bumble_pandora_server"
54    ],
55
56    required: ["bumble_pandora_server"],
57
58    test_suites: [
59        "general-tests",
60    ],
61}
62