1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "FlagManagerUnitTests", 21 srcs: [ 22 "src/FlagManagerUnitTests.java", 23 ], 24 static_libs: [ 25 "aconfig_device_paths_java", 26 "androidx.test.rules", 27 "aconfig_storage_file_java", 28 "configinfra_framework_flags_java_lib", 29 "junit", 30 "flag-junit", 31 ], 32 libs: [ 33 "framework-configinfrastructure.impl", 34 ], 35 sdk_version: "module_current", 36 test_suites: [ 37 "general-tests", 38 ], 39 jarjar_rules: ":framework-configinfrastructure-jarjar", 40 team: "trendy_team_android_core_experiments", 41 test_config: "AndroidUnitTest.xml", 42} 43 44android_test { 45 name: "AconfigPublicApiCtsTests", 46 srcs: [ 47 "src/AconfigPublicApiCtsTests.java", 48 ], 49 static_libs: [ 50 "aconfig_device_paths_java", 51 "androidx.test.rules", 52 "aconfig_storage_file_java", 53 "configinfra_framework_flags_java_lib", 54 "junit", 55 "flag-junit", 56 ], 57 libs: [ 58 "framework-configinfrastructure.impl", 59 ], 60 sdk_version: "module_current", 61 test_suites: [ 62 "general-tests", 63 "cts", 64 ], 65 jarjar_rules: ":framework-configinfrastructure-jarjar", 66 team: "trendy_team_android_core_experiments", 67 test_config: "AndroidCtsTest.xml", 68} 69 70android_test { 71 name: "AconfigPackageTests", 72 srcs: [ 73 "src/AconfigPackageInternalTests.java", 74 "src/AconfigPackageTests.java", 75 ], 76 static_libs: [ 77 "aconfig_device_paths_java_util", 78 "androidx.test.rules", 79 "aconfig_storage_file_java", 80 "junit", 81 ], 82 libs: [ 83 "framework-configinfrastructure.impl", 84 ], 85 sdk_version: "module_current", 86 test_suites: [ 87 "general-tests", 88 ], 89 jarjar_rules: ":framework-configinfrastructure-jarjar", 90 team: "trendy_team_android_core_experiments", 91} 92