diff options
-rw-r--r-- | libaudio/Android.mk | 6 | ||||
-rwxr-xr-x | setup-makefiles.sh | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk index 4230fb2..3ea6267 100644 --- a/libaudio/Android.mk +++ b/libaudio/Android.mk @@ -53,7 +53,11 @@ ifeq ($(BOARD_HAVE_BLUETOOTH),true) endif ifneq ($(NO_IPC_ALSA_RILD),true) +ifeq ($(BOARD_USES_LIBSECRIL_STUB),true) + LOCAL_SHARED_LIBRARIES += libsecril-client-stub +else LOCAL_SHARED_LIBRARIES += libsecril-client +endif LOCAL_CFLAGS += -DIPC_ALSA_RILD endif include $(BUILD_SHARED_LIBRARY) @@ -82,7 +86,7 @@ ifeq ($(BOARD_USES_LIBSECRIL_STUB),true) # A stub to replace libsecril-client at build time include $(CLEAR_VARS) LOCAL_SRC_FILES := secril_stub.c -LOCAL_MODULE := libsecril-client +LOCAL_MODULE := libsecril-client-stub LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) endif diff --git a/setup-makefiles.sh b/setup-makefiles.sh index f79403b..793af69 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -76,6 +76,8 @@ BOARD_GPS_LIBRARIES := libgps USE_CAMERA_STUB := false BOARD_USES_GENERIC_AUDIO := false + +BOARD_USES_LIBSECRIL_STUB := false EOF mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout |