62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "system_bt_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["system_bt_license"],
|
|
}
|
|
|
|
android_test_helper_app {
|
|
name: "BumbleBluetoothTestsApp",
|
|
defaults: ["framework-bluetooth-tests-defaults"],
|
|
|
|
min_sdk_version: "current",
|
|
target_sdk_version: "current",
|
|
libs: [
|
|
"android.test.base",
|
|
"android.test.runner",
|
|
"libprotobuf-java-micro",
|
|
],
|
|
|
|
static_libs: [
|
|
"androidx.test.ext.truth",
|
|
"androidx.test.rules",
|
|
"androidx.core_core",
|
|
"grpc-java-lite",
|
|
"grpc-java-okhttp-client-lite",
|
|
"opencensus-java-contrib-grpc-metrics",
|
|
"pandora_experimental-grpc-java",
|
|
"pandora_experimental-proto-java",
|
|
],
|
|
|
|
// Include all test java files.
|
|
srcs: ["src/**/*.java"],
|
|
|
|
platform_apis: true,
|
|
test_suites: [
|
|
"general-tests",
|
|
],
|
|
}
|
|
|
|
// This empty test host is needed for building required host binary
|
|
// "bumble_pandora_server" and include it in test zip
|
|
java_test_host {
|
|
name: "BumbleBluetoothTests",
|
|
|
|
libs: [
|
|
"tradefed",
|
|
],
|
|
|
|
data: [
|
|
":BumbleBluetoothTestsApp",
|
|
":bumble_pandora_server"
|
|
],
|
|
|
|
required: ["bumble_pandora_server"],
|
|
|
|
test_suites: [
|
|
"general-tests",
|
|
],
|
|
}
|