OSDN Git Service

am 11e8b232: Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
[android-x86/hardware-ril.git] / rild / Android.mk
1 # Copyright 2006 The Android Open Source Project
2
3 LOCAL_PATH:= $(call my-dir)
4 include $(CLEAR_VARS)
5
6 LOCAL_SRC_FILES:= \
7         rild.c
8
9
10 LOCAL_SHARED_LIBRARIES := \
11         liblog \
12         libcutils \
13         libril \
14         libdl
15
16 # temporary hack for broken vendor rils
17 LOCAL_WHOLE_STATIC_LIBRARIES := \
18         librilutils_static
19
20 LOCAL_CFLAGS := -DRIL_SHLIB
21 #LOCAL_CFLAGS += -DANDROID_MULTI_SIM
22
23 ifeq ($(SIM_COUNT), 2)
24     LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
25 endif
26
27 LOCAL_MODULE:= rild
28 LOCAL_MODULE_TAGS := optional
29
30 include $(BUILD_EXECUTABLE)
31
32 # For radiooptions binary
33 # =======================
34 include $(CLEAR_VARS)
35
36 LOCAL_SRC_FILES:= \
37         radiooptions.c
38
39 LOCAL_SHARED_LIBRARIES := \
40         liblog \
41         libcutils \
42
43 LOCAL_CFLAGS := \
44
45 LOCAL_MODULE:= radiooptions
46 LOCAL_MODULE_TAGS := debug
47
48 include $(BUILD_EXECUTABLE)