blob: ba28cbdf8b4bdb615a2d859d3f9e40f9ba882d12 [file] [log] [blame]
micky3872c662372021-04-10 05:27:21 +02001# 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
16LOCAL_PATH := $(call my-dir)
17
18include $(CLEAR_VARS)
19
20LOCAL_PACKAGE_NAME := OmniDisplayManager
21LOCAL_CERTIFICATE := platform
22LOCAL_PRIVILEGED_MODULE := true
23LOCAL_PRIVATE_PLATFORM_APIS := true
24LOCAL_MODULE_TAGS := optional
25LOCAL_USE_AAPT2 := true
26
27LOCAL_PROGUARD_FLAG_FILES := proguard.flags
28
29LOCAL_STATIC_ANDROID_LIBRARIES := \
30 androidx.core_core \
31 androidx.preference_preference
32
33LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
34
35LOCAL_AAPT_FLAGS := --auto-add-overlay
36
37LOCAL_SRC_FILES := $(call all-java-files-under, src)
38
39LOCAL_DEX_PREOPT := false
40
41include packages/apps/OmniLib/common.mk
42
43include $(BUILD_PACKAGE)