blob: 1b2643d27fc1da9051237a4c695a49eb8f8e0f6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
android_fmradio.cpp \
android_fmradio_Receiver.cpp \
android_fmradio_Transmitter.cpp
LOCAL_C_INCLUDES += \
$(JNI_H_INCLUDE)\
$(TOP)/frameworks/base/fmradio/include \
$(TOP)/hardware/libhardware/include/hardware
LOCAL_SHARED_LIBRARIES := \
libcutils \
libhardware \
libhardware_legacy \
libnativehelper \
libsystem_server \
libutils \
libdl \
libui \
libmedia \
ifeq ($(TARGET_SIMULATOR),true)
ifeq ($(TARGET_OS),linux)
ifeq ($(TARGET_ARCH),x86)
LOCAL_LDLIBS += -lpthread -ldl -lrt
endif
endif
endif
ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
endif
LOCAL_MODULE:= libanalogradiobroadcasting
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
|