blob: 70a365503921d38aa3dc89d30be2645414147887 [file] [log] [blame]
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +00001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000018 default_team: "trendy_team_fwk_core_networking",
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000019 // See: http://go/android-license-faq
Baligh Uddin36847132021-05-23 16:38:40 +000020 default_applicable_licenses: ["Android-Apache-2.0"],
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000021}
22
Aaron Huang1ed8aff2021-09-28 15:37:49 +080023// FrameworksNetDeflakeTest depends on FrameworksNetTests so it should be disabled
24// if FrameworksNetTests is disabled.
25enable_frameworks_net_deflake_test = true
26// Placeholder
27// This is a placeholder comment to minimize merge conflicts, as enable_frameworks_net_deflake_test
28// may have different values depending on the branch
29// Placeholder
30
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000031java_test_host {
32 name: "FrameworksNetDeflakeTest",
Aaron Huang1ed8aff2021-09-28 15:37:49 +080033 enabled: enable_frameworks_net_deflake_test,
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000034 srcs: ["src/**/*.kt"],
35 libs: [
36 "junit",
37 "tradefed",
38 ],
39 static_libs: [
40 "kotlin-test",
41 "net-host-tests-utils",
42 ],
Cole Faust9ff8f4c2024-10-22 16:31:00 -070043 device_common_data: [":FrameworksNetTests"],
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000044 test_suites: ["device-tests"],
Aaron Huang1ed8aff2021-09-28 15:37:49 +080045 // It will get build error if just set enabled to true. It fails with "windows_common"
46 // depends on some disabled modules that are used by this test and it looks like set
47 // enable_frameworks_net_deflake_test to true also enables "windows" variant. Thus,
48 // disable this on target windows.
49 // TODO: Remove this when b/201754360 is fixed.
50 target: {
51 windows: {
52 enabled: false,
53 },
54 },
Remi NGUYEN VAN31022d62021-05-11 13:37:06 +000055}