1# 2# Copyright (C) 2016 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 17LOCAL_PATH:= $(call my-dir) 18 19include $(CLEAR_VARS) 20 21LOCAL_SRC_FILES := $(call all-java-files-under, src) 22 23LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 24 25LOCAL_MODULE := car-media-common 26 27LOCAL_MODULE_TAGS := optional 28 29LOCAL_PRIVILEGED_MODULE := true 30 31LOCAL_PROGUARD_ENABLED := disabled 32 33LOCAL_STATIC_ANDROID_LIBRARIES += \ 34 android-support-car \ 35 android-support-constraint-layout \ 36 car-apps-common 37 38LOCAL_STATIC_JAVA_LIBRARIES += \ 39 car-media-common-glide-target \ 40 car-media-common-gifdecoder-target \ 41 car-media-common-disklrucache-target \ 42 android-support-constraint-layout-solver 43 44LOCAL_USE_AAPT2 := true 45 46include $(BUILD_STATIC_JAVA_LIBRARY) 47 48include $(CLEAR_VARS) 49 50LOCAL_MODULE_CLASS := JAVA_LIBRARIES 51LOCAL_MODULE := car-media-common-disklrucache-target 52LOCAL_SDK_VERSION := current 53LOCAL_SRC_FILES := ../../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) 54LOCAL_UNINSTALLABLE_MODULE := true 55 56include $(BUILD_PREBUILT) 57 58include $(CLEAR_VARS) 59 60LOCAL_MODULE_CLASS := JAVA_LIBRARIES 61LOCAL_MODULE := car-media-common-gifdecoder-target 62LOCAL_SDK_VERSION := current 63LOCAL_SRC_FILES := ../../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) 64LOCAL_UNINSTALLABLE_MODULE := true 65 66include $(BUILD_PREBUILT) 67 68include $(CLEAR_VARS) 69 70LOCAL_MODULE_CLASS := JAVA_LIBRARIES 71LOCAL_MODULE := car-media-common-glide-target 72LOCAL_SDK_VERSION := current 73LOCAL_SRC_FILES := ../../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) 74LOCAL_UNINSTALLABLE_MODULE := true 75 76include $(BUILD_PREBUILT) 77