1 # 2 # Copyright (C) 2009 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 ######################## 20 include $(CLEAR_VARS) 21 22 LOCAL_MODULE := android.software.live_wallpaper.xml 23 24 LOCAL_MODULE_CLASS := ETC 25 26 LOCAL_MODULE_TAGS := optional 27 28 # This will install the file in /system/etc/permissions 29 # 30 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions 31 32 LOCAL_SRC_FILES := $(LOCAL_MODULE) 33 34 include $(BUILD_PREBUILT) 35 36 ######################## 37 include $(CLEAR_VARS) 38 39 LOCAL_MODULE_TAGS := optional 40 41 LOCAL_SRC_FILES := $(call all-subdir-java-files) 42 LOCAL_REQUIRED_MODULES := android.software.live_wallpaper.xml 43 44 LOCAL_PACKAGE_NAME := LiveWallpapersPicker 45 LOCAL_CERTIFICATE := platform 46 47 LOCAL_PROGUARD_FLAG_FILES := proguard.flags 48 49 LOCAL_STATIC_JAVA_LIBRARIES := \ 50 android-support-v7-appcompat \ 51 android-support-v4 \ 52 android-support-design 53 54 LOCAL_RESOURCE_DIR := \ 55 $(LOCAL_PATH)/res \ 56 frameworks/support/v7/appcompat/res \ 57 frameworks/support/design/res \ 58 59 LOCAL_AAPT_FLAGS := --auto-add-overlay \ 60 --extra-packages android.support.design \ 61 --extra-packages android.support.v7.appcompat 62 63 include $(BUILD_PACKAGE) 64