blob: 8aae88deb4a87190d8e3a112fe74950b87cc2db8 [file] [log] [blame]
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08001# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 rild.c
8
9
10LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070011 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080012 libcutils \
Haitao Feng6f9c7dd2012-05-21 02:49:04 -040013 libril \
14 libdl
Doug Kwan13717552009-10-06 16:24:51 -070015
Dima Zavin8cc4c1d2013-05-22 11:30:17 -070016# temporary hack for broken vendor rils
17LOCAL_WHOLE_STATIC_LIBRARIES := \
18 librilutils_static
19
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080020LOCAL_CFLAGS := -DRIL_SHLIB
Etan Cohend3652192014-06-20 08:28:44 -070021#LOCAL_CFLAGS += -DANDROID_MULTI_SIM
22
23ifeq ($(SIM_COUNT), 2)
24 LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
25endif
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080026
27LOCAL_MODULE:= rild
Wink Saville5b16efd2012-05-30 16:20:55 -070028LOCAL_MODULE_TAGS := optional
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080029
Dheeraj Shetty27976c42014-07-02 21:27:57 +020030LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libril
31
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080032include $(BUILD_EXECUTABLE)
33
34# For radiooptions binary
35# =======================
36include $(CLEAR_VARS)
37
38LOCAL_SRC_FILES:= \
39 radiooptions.c
40
41LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070042 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080043 libcutils \
44
45LOCAL_CFLAGS := \
46
47LOCAL_MODULE:= radiooptions
Mike Lockwood19b7fb02009-03-27 19:01:43 -070048LOCAL_MODULE_TAGS := debug
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080049
50include $(BUILD_EXECUTABLE)