Jon Miranda | 16ea1b1 | 2017-12-12 14:52:48 -0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2017 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 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
| 20 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 21 | LOCAL_MODULE := wallpaper2-glide-target |
| 22 | LOCAL_SDK_VERSION := current |
| 23 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 24 | LOCAL_UNINSTALLABLE_MODULE := true |
| 25 | include $(BUILD_PREBUILT) |
| 26 | |
| 27 | include $(CLEAR_VARS) |
| 28 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 29 | LOCAL_MODULE := wallpaper2-disklrucache-target |
| 30 | LOCAL_SDK_VERSION := current |
| 31 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 32 | LOCAL_UNINSTALLABLE_MODULE := true |
| 33 | include $(BUILD_PREBUILT) |
| 34 | |
| 35 | include $(CLEAR_VARS) |
| 36 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 37 | LOCAL_MODULE := wallpaper2-gifdecoder-target |
| 38 | LOCAL_SDK_VERSION := current |
| 39 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 40 | LOCAL_UNINSTALLABLE_MODULE := true |
| 41 | include $(BUILD_PREBUILT) |
| 42 | |
| 43 | # |
| 44 | # Build app code. |
| 45 | # |
| 46 | include $(CLEAR_VARS) |
| 47 | |
| 48 | LOCAL_MODULE_TAGS := optional |
| 49 | |
| 50 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 51 | android-support-v4 \ |
| 52 | android-support-v7-appcompat \ |
| 53 | android-support-v7-cardview \ |
| 54 | android-support-v7-recyclerview \ |
| 55 | android-support-compat \ |
| 56 | android-support-design \ |
| 57 | android-support-exifinterface \ |
| 58 | android-support-media-compat \ |
| 59 | wallpaper2-glide-target \ |
| 60 | wallpaper2-disklrucache-target \ |
| 61 | wallpaper2-gifdecoder-target \ |
| 62 | volley \ |
| 63 | libbackup \ |
| 64 | icc_profiles |
| 65 | |
| 66 | LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |
| 67 | $(call all-java-files-under, src_override) \ |
| 68 | |
| 69 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \ |
| 70 | $(LOCAL_PATH)/res_override \ |
| 71 | prebuilts/sdk/current/support/v7/appcompat/res \ |
| 72 | prebuilts/sdk/current/support/v7/cardview/res \ |
| 73 | prebuilts/sdk/current/support/v7/recyclerview/res \ |
| 74 | prebuilts/sdk/current/support/compat/res \ |
| 75 | prebuilts/sdk/current/support/core-ui/res \ |
| 76 | prebuilts/sdk/current/support/design/res \ |
| 77 | prebuilts/sdk/current/support/media-compat/res \ |
| 78 | |
| 79 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 80 | LOCAL_PROGUARD_ENABLED := disabled |
| 81 | |
| 82 | LOCAL_AAPT_FLAGS := \ |
| 83 | --auto-add-overlay \ |
| 84 | --extra-packages android.support.v4 \ |
| 85 | --extra-packages android.support.v7.appcompat \ |
| 86 | --extra-packages android.support.v7.cardview \ |
| 87 | --extra-packages android.support.v7.recyclerview \ |
| 88 | --extra-packages android.support.compat \ |
| 89 | --extra-packages android.support.coreui \ |
| 90 | --extra-packages android.support.design \ |
| 91 | --extra-packages android.support.mediacompat \ |
| 92 | --extra-packages android.support.transition |
| 93 | |
| 94 | LOCAL_SDK_VERSION := 27 |
| 95 | LOCAL_PACKAGE_NAME := WallpaperPicker2 |
| 96 | |
| 97 | include $(BUILD_PACKAGE) |
| 98 | |
| 99 | # ================================================== |
| 100 | include $(call all-makefiles-under,$(LOCAL_PATH)) |