summaryrefslogtreecommitdiff
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