1// 2// Copyright (C) 2022 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 16package { 17 default_team: "trendy_team_mainline_modularization", 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21android_test { 22 name: "InternalAnnotationsTests", 23 24 sdk_version: "module_current", 25 min_sdk_version: "29", 26 27 srcs: ["*.java"], 28 29 static_libs: [ 30 "androidx.test.rules", 31 "androidx.test.runner", 32 "framework-annotations-lib", 33 ], 34 35 libs: ["android.test.runner"], 36 37 // Note: We explicitly optimize this test target to validate post-optimized 38 // code paths and their interop with annotations. 39 optimize: { 40 enabled: true, 41 optimize: true, 42 shrink: true, 43 proguard_flags_files: ["proguard.flags"], 44 }, 45 46 test_suites: ["general-tests"], 47} 48