1/* 2 * Copyright (C) 2020 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 17// Targets for the Audio Test Harness Common Libraries. 18// These are libraries that can be used either host-side or device-side. 19// LIBRARIES ============================================================== 20 21package { 22 default_applicable_licenses: ["Android-Apache-2.0"], 23} 24 25java_library { 26 name: "audiotestharness-commonlib-lite", 27 host_supported: true, 28 srcs: [ 29 "src/main/java/com/android/media/audiotestharness/common/Defaults.java", 30 ], 31 libs: [ 32 "audiotestharness-commonprotolib-lite", 33 ], 34 java_version: "1.8", 35 sdk_version: "current", 36 proto: { 37 type: "lite", 38 }, 39} 40 41java_library_host { 42 name: "audiotestharness-commonlib-full", 43 srcs: [ 44 "src/main/java/com/android/media/audiotestharness/common/Defaults.java", 45 ], 46 libs: [ 47 "audiotestharness-commonprotolib-full", 48 ], 49 java_version: "1.8", 50 proto: { 51 type: "full", 52 }, 53} 54