George G | eae8c96 | 2016-08-20 21:16:29 +0300 | [diff] [blame] | 1 | # |
| 2 | # Inline Aosp Makefile for Masquerade |
| 3 | # |
| 4 | LOCAL_PATH:= $(call my-dir) |
xdevs23 | 066b40d | 2016-07-25 16:13:15 +0200 | [diff] [blame] | 5 | |
George G | eae8c96 | 2016-08-20 21:16:29 +0300 | [diff] [blame] | 6 | include $(CLEAR_VARS) |
xdevs23 | 066b40d | 2016-07-25 16:13:15 +0200 | [diff] [blame] | 7 | |
George G | eae8c96 | 2016-08-20 21:16:29 +0300 | [diff] [blame] | 8 | LOCAL_PACKAGE_NAME := masquerade |
| 9 | LOCAL_CERTIFICATE := platform |
| 10 | LOCAL_PRIVILEGED_MODULE := true |
| 11 | LOCAL_PROGUARD_ENABLED := disabled |
| 12 | LOCAL_MODULE_TAGS := optional |
| 13 | |
| 14 | LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml |
| 15 | LOCAL_SRC_FILES := $(call all-java-files-under, app/src/main) |
Surge1223 | bf57c24 | 2016-12-10 15:10:16 -0600 | [diff] [blame] | 16 | LOCAL_REQUIRED_MODULES := projekt.substratum.theme.xml |
George G | eae8c96 | 2016-08-20 21:16:29 +0300 | [diff] [blame] | 17 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/app/src/main/res |
| 18 | |
| 19 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 20 | LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true |
| 21 | |
| 22 | include $(BUILD_PACKAGE) |
| 23 | |
| 24 | include $(CLEAR_VARS) |
Surge1223 | bf57c24 | 2016-12-10 15:10:16 -0600 | [diff] [blame] | 25 | |
| 26 | LOCAL_MODULE := projekt.substratum.theme.xml |
| 27 | LOCAL_MODULE_CLASS := ETC |
| 28 | LOCAL_MODULE_TAGS := optional |
| 29 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions |
| 30 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 31 | |
| 32 | include $(BUILD_PREBUILT) |