These were added to allow tests to build against flagged off APIs, in legacy downstream branches that did not support the flagging infrastructure and stripped out flagged off APIs from the stubs. Flagged off APIs are part of the regular stubs in branches used today, so this is not needed anymore. Bug: 399365344 Test: atest Change-Id: Ica7df0c5c9be39d9dca49e0114711a7c43125c3d
59 lines
1.7 KiB
Text
59 lines
1.7 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_team: "trendy_team_fwk_thread_network",
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
android_test {
|
|
name: "CtsThreadNetworkTestCases",
|
|
defaults: [
|
|
"cts_defaults",
|
|
"framework-connectivity-test-defaults",
|
|
],
|
|
min_sdk_version: "33",
|
|
manifest: "AndroidManifest.xml",
|
|
test_config: "AndroidTest.xml",
|
|
srcs: [
|
|
"src/**/*.java",
|
|
],
|
|
test_suites: [
|
|
"cts",
|
|
"general-tests",
|
|
"mcts-tethering",
|
|
"mts-tethering",
|
|
],
|
|
static_libs: [
|
|
"androidx.test.ext.junit",
|
|
"compatibility-device-util-axt",
|
|
"com.android.net.thread.flags-aconfig-java",
|
|
"ctstestrunner-axt",
|
|
"guava",
|
|
"guava-android-testlib",
|
|
"net-tests-utils",
|
|
"ThreadNetworkTestUtils",
|
|
"truth",
|
|
],
|
|
libs: [
|
|
"android.test.base.stubs",
|
|
"android.test.runner.stubs",
|
|
],
|
|
// Test coverage system runs on different devices. Need to
|
|
// compile for all architectures.
|
|
compile_multilib: "both",
|
|
platform_apis: true,
|
|
}
|