1// Copyright (C) 2019 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 15android_library { 16 name: "tv-common", 17 srcs: [ 18 "src/**/*.java", 19 "src/**/*.proto", 20 ], 21 22 sdk_version: "system_current", 23 24 proto: { 25 type: "lite", 26 }, 27 28 resource_dirs: ["res"], 29 30 libs: [ 31 "tv-auto-value-jar", 32 "tv-auto-factory-jar", 33 "android-support-annotations", 34 "tv-error-prone-annotations-jar", 35 "tv-guava-android-jar", 36 "jsr330", 37 "tv-lib-dagger", 38 "tv-lib-exoplayer", 39 "tv-lib-exoplayer-v2-core", 40 "android-support-compat", 41 "android-support-core-ui", 42 "android-support-v7-recyclerview", 43 "android-support-v17-leanback", 44 ], 45 46 static_libs: ["tv-lib-dagger-android"], 47 48 plugins: [ 49 "tv-auto-value", 50 "tv-auto-factory", 51 "tv-lib-dagger-android-processor", 52 "tv-lib-dagger-compiler", 53 ], 54 55 56 min_sdk_version: "23", 57 58 // TODO(b/77284273): generate build config after dagger supports libraries 59 //include $(LOCAL_PATH)/buildconfig.mk 60 61} 62