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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19// Build the common utility library for use device-side 20java_library_static { 21 name: "sts-common-util-devicesidelib", 22 visibility: [ 23 "//platform_testing/libraries/sts-common-util/device-side", 24 "//platform_testing/libraries/sts-common-util/util/tests", 25 ], 26 sdk_version: "current", 27 srcs: ["src/**/*.java"], 28 static_libs: [ 29 "compatibility-common-util-devicesidelib", 30 "junit", 31 "platform-test-annotations", 32 ], 33} 34 35java_library { 36 name: "sts-common-util-lib", 37 visibility: [ 38 "//platform_testing/libraries/sts-common-util/host-side", 39 "//platform_testing/libraries/sts-common-util/util/tests", 40 ], 41 host_supported: true, 42 srcs: [ 43 "src/**/*.java", 44 ], 45 static_libs: [ 46 "compatibility-common-util-lib", 47 ], 48 libs: [ 49 "junit", 50 "platform-test-annotations", 51 ], 52} 53