| # Copyright (C) 2018 The OmniROM Project |
| # |
| # This program is free software: you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License as published by |
| # the Free Software Foundation, either version 2 of the License, or |
| # (at your option) any later version. |
| # |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| # You should have received a copy of the GNU General Public License |
| # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| |
| LOCAL_PATH := $(call my-dir) |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_PACKAGE_NAME := OmniDisplayManager |
| LOCAL_CERTIFICATE := platform |
| LOCAL_PRIVILEGED_MODULE := true |
| LOCAL_PRIVATE_PLATFORM_APIS := true |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_USE_AAPT2 := true |
| |
| LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| |
| LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| androidx.core_core \ |
| androidx.preference_preference |
| |
| LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| |
| LOCAL_AAPT_FLAGS := --auto-add-overlay |
| |
| LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| |
| LOCAL_DEX_PREOPT := false |
| |
| include packages/apps/OmniLib/common.mk |
| |
| include $(BUILD_PACKAGE) |