sanders: Build a 32 bit version of rild and fp service

For now we're using 32 bits from stock, for both services. So use it until 64 bits blobs are ready

Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
jhenrique09
2018-01-05 13:31:25 -02:00
committed by therootlord
parent b516265ac6
commit 050a82ccae
7 changed files with 77 additions and 3 deletions

33
rild/Android.mk Normal file
View File

@@ -0,0 +1,33 @@
# Copyright 2006 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
../../../../hardware/ril/rild/rild.c
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl \
liblog \
libril
# Temporary hack for broken vendor RILs.
LOCAL_WHOLE_STATIC_LIBRARIES := \
librilutils_static
LOCAL_CFLAGS := -DRIL_SHLIB
LOCAL_CFLAGS += -Wall -Wextra -Werror
ifeq ($(SIM_COUNT), 2)
LOCAL_CFLAGS += -DANDROID_MULTI_SIM
LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
endif
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true
LOCAL_32_BIT_ONLY := true
LOCAL_MODULE := rild_32
include $(BUILD_EXECUTABLE)