blob: 05712d4185c145df1187453aec6f729d0411c1ef [file] [log] [blame]
Santiago Etchebehere0c696912018-11-29 18:03:48 -08001#
2# Copyright (C) 2018 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
18LOCAL_PATH := $(call my-dir)
19WALLPAPER_PATH := ../WallpaperPicker2
20
21#
22# Build rule for ThemePicker app.
23#
24include $(CLEAR_VARS)
25LOCAL_USE_AAPT2 := true
26LOCAL_MODULE_TAGS := optional
27
28LOCAL_STATIC_ANDROID_LIBRARIES := WallpaperPicker2CommonDepsLib
29
30LOCAL_PROGUARD_ENABLED := disabled
31
32LOCAL_SDK_VERSION := system_current
33
34LOCAL_PACKAGE_NAME := ThemePicker
35LOCAL_PRIVILEGED_MODULE := true
36LOCAL_OVERRIDES_PACKAGES := WallpaperPicker2
37
38LOCAL_SRC_FILES := $(call all-java-files-under, $(WALLPAPER_PATH)/src) \
39 $(call all-java-files-under, src) \
40 $(call all-java-files-under, src_override)
41
42LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
43
44LOCAL_MANIFEST_FILE := AndroidManifest.xml
45
46include $(BUILD_PACKAGE)
47
48
49# ==================================================
50include $(call all-makefiles-under,$(LOCAL_PATH))