mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-10-31 23:37:35 +00:00
0d4bbaf7f1
Change-Id: I00750bad812dc263e9c74a504b48512a892376c8
49 lines
1 KiB
Makefile
49 lines
1 KiB
Makefile
# Copyright 2006 The Android Open Source Project
|
|
|
|
ifneq ($(BOARD_PROVIDES_LIBRIL),true)
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_VENDOR_MODULE := true
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
ril.cpp \
|
|
ril_event.cpp\
|
|
RilSapSocket.cpp \
|
|
ril_service.cpp \
|
|
sap_service.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libutils \
|
|
libcutils \
|
|
libhardware_legacy \
|
|
librilutils \
|
|
android.hardware.radio@1.0 \
|
|
android.hardware.radio.deprecated@1.0 \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
libhwbinder
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libprotobuf-c-nano-enable_malloc \
|
|
|
|
LOCAL_CFLAGS += -Wno-unused-parameter
|
|
|
|
ifeq ($(SIM_COUNT), 2)
|
|
LOCAL_CFLAGS += -DANDROID_MULTI_SIM -DDSDA_RILD1
|
|
LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
|
|
endif
|
|
|
|
LOCAL_C_INCLUDES += external/nanopb-c
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include
|
|
|
|
LOCAL_MODULE:= libril
|
|
LOCAL_CLANG := true
|
|
LOCAL_SANITIZE := integer
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
endif # BOARD_PROVIDES_LIBRIL
|