android_packages_modules_Co.../thread/tests/unit/Android.bp
Zhanglong Xia 125a43c12b Add Thread resource overlay support
This CL adds resource overlay support to allow developers to
change the default configuration of using the location country code.

Bug: b/311324956
Test: Set the resource overlay in cuttlefish, check the default
      configuration via the command `dumpsys thread_network`.

Change-Id: Ide853975e8244f06a382b2eda4844e030539b95d
2024-01-03 00:29:55 +08:00

60 lines
1.8 KiB
Text

//
// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "ThreadNetworkUnitTests",
min_sdk_version: "33",
sdk_version: "module_current",
manifest: "AndroidManifest.xml",
test_config: "AndroidTest.xml",
srcs: [
"src/**/*.java",
],
test_suites: [
"general-tests",
],
static_libs: [
"frameworks-base-testutils",
"framework-connectivity-pre-jarjar",
"framework-connectivity-t-pre-jarjar",
"framework-location.stubs.module_lib",
"guava",
"guava-android-testlib",
"mockito-target-extended-minus-junit4",
"net-tests-utils",
"service-connectivity-pre-jarjar",
"service-thread-pre-jarjar",
"truth",
],
libs: [
"android.test.base",
"android.test.runner",
"ServiceConnectivityResources",
],
jarjar_rules: ":connectivity-jarjar-rules",
jni_libs: [
// these are needed for Extended Mockito
"libdexmakerjvmtiagent",
"libstaticjvmtiagent",
],
// Test coverage system runs on different devices. Need to
// compile for all architectures.
compile_multilib: "both",
}