summaryrefslogtreecommitdiff
authorXindong Xu <xindong.xu@amlogic.com>2017-11-30 06:42:31 (GMT)
committer Xindong Xu <xindong.xu@amlogic.com>2017-11-30 06:42:31 (GMT)
commite4db5e2baeda7c0dc257af4c9fe9658daede8114 (patch)
tree0634deaba99e83182ca3e96d883f5b94432f372c
parent5c8f3eb93aa813abb86e4bdf35a4a00811b7ec82 (diff)
downloadir_tools-o-amlogic.zip
ir_tools-o-amlogic.tar.gz
ir_tools-o-amlogic.tar.bz2
remotecfg: build static exe [1/1]
PD# NONE build static exe Change-Id: I34652d75819d86f5beb4e78c8a3d9144f57012a5
Diffstat
-rw-r--r--remotecfg/Android.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/remotecfg/Android.mk b/remotecfg/Android.mk
index 1b71b2d..66e9503 100644
--- a/remotecfg/Android.mk
+++ b/remotecfg/Android.mk
@@ -6,14 +6,20 @@ LOCAL_SRC_FILES:= \
parse.c \
device.c \
-LOCAL_SHARED_LIBRARIES:= \
+LOCAL_STATIC_LIBRARIES:= \
libcutils \
libc \
- liblog \
+ liblog
LOCAL_C_INCLUDES += \
bionic/libc/include \
LOCAL_MODULE:= remotecfg
+LOCAL_FORCE_STATIC_EXECUTABLE := true
+
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo OK),OK)
+LOCAL_PROPRIETARY_MODULE := true
+endif
+
include $(BUILD_EXECUTABLE) \ No newline at end of file