micky387 | 2c66237 | 2021-04-10 05:27:21 +0200 | [diff] [blame] | 1 | # Copyright (C) 2018 The OmniROM Project |
| 2 | # |
| 3 | # This program is free software: you can redistribute it and/or modify |
| 4 | # it under the terms of the GNU General Public License as published by |
| 5 | # the Free Software Foundation, either version 2 of the License, or |
| 6 | # (at your option) any later version. |
| 7 | # |
| 8 | # This program is distributed in the hope that it will be useful, |
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | # GNU General Public License for more details. |
| 12 | # |
| 13 | # You should have received a copy of the GNU General Public License |
| 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | |
| 16 | LOCAL_PATH := $(call my-dir) |
| 17 | |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_PACKAGE_NAME := OmniDisplayManager |
| 21 | LOCAL_CERTIFICATE := platform |
| 22 | LOCAL_PRIVILEGED_MODULE := true |
| 23 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 24 | LOCAL_MODULE_TAGS := optional |
| 25 | LOCAL_USE_AAPT2 := true |
| 26 | |
| 27 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 28 | |
| 29 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 30 | androidx.core_core \ |
| 31 | androidx.preference_preference |
| 32 | |
| 33 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 34 | |
| 35 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 36 | |
| 37 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 38 | |
| 39 | LOCAL_DEX_PREOPT := false |
| 40 | |
| 41 | include packages/apps/OmniLib/common.mk |
| 42 | |
| 43 | include $(BUILD_PACKAGE) |