1// Copyright (C) 2022 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// 15 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_library { 21 name: "platform-parametric-runner-lib", 22 manifest: "AndroidManifest.xml", 23 platform_apis: true, 24 min_sdk_version: "Tiramisu", 25 lint: { 26 test: true, 27 }, 28 optimize: { 29 enabled: false, 30 }, 31 srcs: [ 32 "src/main/java/**/*.java", 33 ], 34 libs: [ 35 "Robolectric_all-target_upstream", 36 ], 37 static_libs: [], 38} 39 40android_test { 41 name: "platform-parametric-runner-lib-test", 42 team: "trendy_team_test_infrastructure", 43 srcs: [ 44 "src/test/java/**/*.java", 45 "src/test/java/**/*.kt", 46 ], 47 static_libs: [ 48 "platform-parametric-runner-lib", 49 ], 50 51 sdk_version: "current", 52 53 test_suites: ["general-tests"], 54} 55