2020-11-04 04:21:14 +00:00
|
|
|
// Copyright (C) 2014 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.
|
|
|
|
|
|
2024-01-31 11:08:57 +00:00
|
|
|
next_app_data = [":CtsHostsideNetworkTestsAppNext"]
|
2023-02-20 18:40:36 +09:00
|
|
|
|
|
|
|
|
// The above line is put in place to prevent any future automerger merge conflict between aosp,
|
|
|
|
|
// downstream branches. The CtsHostsideNetworkTestsAppNext target will not exist in
|
|
|
|
|
// some downstream branches, but it should exist in aosp and some downstream branches.
|
|
|
|
|
|
2021-02-12 14:45:04 -08:00
|
|
|
package {
|
2024-01-31 11:08:57 +00:00
|
|
|
default_team: "trendy_team_fwk_core_networking",
|
2021-02-12 14:45:04 -08:00
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-20 13:40:10 +09:00
|
|
|
java_defaults {
|
|
|
|
|
name: "CtsHostsideNetworkTestsAllAppDefaults",
|
|
|
|
|
platform_apis: true,
|
|
|
|
|
min_sdk_version: "30",
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-04 04:21:14 +00:00
|
|
|
java_test_host {
|
|
|
|
|
name: "CtsHostsideNetworkTests",
|
|
|
|
|
defaults: ["cts_defaults"],
|
|
|
|
|
// Only compile source java files in this apk.
|
2024-01-19 15:22:28 -08:00
|
|
|
srcs: [
|
|
|
|
|
"src/**/*.java",
|
|
|
|
|
],
|
2020-11-04 04:21:14 +00:00
|
|
|
libs: [
|
2023-07-26 13:58:06 +08:00
|
|
|
"net-tests-utils-host-device-common",
|
2020-11-04 04:21:14 +00:00
|
|
|
"cts-tradefed",
|
|
|
|
|
"tradefed",
|
|
|
|
|
],
|
2022-01-07 18:48:25 +00:00
|
|
|
static_libs: [
|
|
|
|
|
"modules-utils-build-testing",
|
|
|
|
|
],
|
2020-11-04 04:21:14 +00:00
|
|
|
// Tag this module as a cts test artifact
|
|
|
|
|
test_suites: [
|
|
|
|
|
"cts",
|
|
|
|
|
"general-tests",
|
2023-12-25 04:01:43 +00:00
|
|
|
"mcts-tethering",
|
|
|
|
|
"mts-tethering",
|
2024-01-31 11:08:57 +00:00
|
|
|
"sts",
|
2020-11-04 04:21:14 +00:00
|
|
|
],
|
2022-04-06 17:29:37 +08:00
|
|
|
data: [
|
|
|
|
|
":CtsHostsideNetworkTestsApp",
|
|
|
|
|
":CtsHostsideNetworkTestsApp2",
|
2023-01-27 17:05:07 +09:00
|
|
|
":CtsHostsideNetworkCapTestsAppWithoutProperty",
|
|
|
|
|
":CtsHostsideNetworkCapTestsAppWithProperty",
|
|
|
|
|
":CtsHostsideNetworkCapTestsAppSdk33",
|
2023-02-20 18:40:36 +09:00
|
|
|
] + next_app_data,
|
2022-04-06 17:29:37 +08:00
|
|
|
per_testcase_directory: true,
|
2020-11-04 04:21:14 +00:00
|
|
|
}
|