2020-03-20 18:42:25 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017-2020 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
|
|
|
|
LOCAL_PACKAGE_NAME := XiaomiParts
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
|
|
|
LOCAL_PRIVILEGED_MODULE := true
|
|
|
|
|
|
|
|
LOCAL_USE_AAPT2 := true
|
|
|
|
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
|
|
|
androidx.core_core \
|
|
|
|
androidx.preference_preference
|
|
|
|
|
2019-06-14 04:54:30 -04:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
|
|
vendor.xiaomi.hardware.motor-V1.0-java
|
|
|
|
|
2020-03-20 18:42:25 -04:00
|
|
|
LOCAL_RESOURCE_DIR := \
|
|
|
|
$(LOCAL_PATH)/res \
|
|
|
|
$(TOP)/packages/resources/devicesettings/res
|
|
|
|
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
|
|
|
|
|
|
include frameworks/base/packages/SettingsLib/common.mk
|
|
|
|
|
|
|
|
include $(BUILD_PACKAGE)
|