• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5android_test {
6    name: "BluetoothInstrumentationTests",
7
8    // We only want this apk build for tests.
9    certificate: "platform",
10
11    libs: [
12        "javax.obex",
13        "android.test.runner",
14        "telephony-common",
15        "libprotobuf-java-micro",
16        "android.test.base",
17        "android.test.mock",
18    ],
19
20    static_libs: [
21        "androidx.test.ext.truth",
22        "androidx.test.rules",
23        "mockito-target",
24        "androidx.test.espresso.intents",
25        "gson-prebuilt-jar",
26        "androidx.room_room-migration",
27        "androidx.room_room-runtime",
28        "androidx.room_room-testing",
29        "truth-prebuilt",
30    ],
31
32    asset_dirs: ["src/com/android/bluetooth/btservice/storage/schemas"],
33
34    // Include all test java files.
35    srcs: ["src/**/*.java"],
36
37    platform_apis: true,
38
39    test_suites: ["device-tests"],
40
41    instrumentation_for: "Bluetooth",
42
43}
44