proprietary_vendor_sony/kitakami-common/Android.mk
Kevin F. Haggerty 76a986efb4 kitakami-common: Add prebuilt pn547 NFC HAL from 15.1
Change-Id: Icf76829a207e31ac064201776e4b35707f3a4e44
2020-02-10 22:15:18 +08:00

50 lines
1.6 KiB
Makefile

# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is generated by device/sony/kitakami-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter ivy karin karin_windy sumire suzuran,$(TARGET_DEVICE)),)
include $(CLEAR_VARS)
LOCAL_MODULE := libtime_genoff
LOCAL_MODULE_OWNER := sony
LOCAL_SRC_FILES_64 := proprietary/vendor/lib64/libtime_genoff.so
LOCAL_SRC_FILES_32 := proprietary/vendor/lib/libtime_genoff.so
LOCAL_MULTILIB := both
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
ifeq ($(strip $(BOARD_NFC_CHIPSET)),pn547)
include $(CLEAR_VARS)
LOCAL_MODULE := nfc_nci.msm8994
LOCAL_MODULE_OWNER := sony
LOCAL_MULTILIB := both
LOCAL_SRC_FILES_32 := proprietary/vendor/lib/hw/nfc_nci.msm8994.so
LOCAL_SRC_FILES_64 := proprietary/vendor/lib64/hw/nfc_nci.msm8994.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
endif
endif