aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-09-30 20:38:31 -0700
committerDan Willemsen <dwillemsen@google.com>2015-10-01 15:39:34 -0700
commit85ff721d2fb0640fbf6f8f4e05c327759d08d3c1 (patch)
tree462ebf7ca0d9cb157a64f478e8f43c02831eb439
parente6e02e397e643cfabf0f4e2f54cc61ad6e0ac517 (diff)
downloadxmlrpcpp-85ff721d2fb0640fbf6f8f4e05c327759d08d3c1.tar.gz
Use all-subdir-cpp-files instead of $(wildcard)
Bug: 24204119 Change-Id: I91cd75293a09a673a29b8d52e932ef85874fc239
-rw-r--r--Android.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index defa384..cb5a73e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,18 +1,13 @@
LOCAL_PATH := $(call my-dir)
-ifeq ($(HOST_OS), linux)
include $(CLEAR_VARS)
LOCAL_MODULE := libxmlrpc++
+LOCAL_MODULE_HOST_OS := linux
LOCAL_CLANG := true
LOCAL_RTTI_FLAG := -frtti
LOCAL_CPPFLAGS := -Wall -fexceptions
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/src
-xmlrpc_src_files := \
- $(wildcard $(LOCAL_PATH)/src/*.cpp)
-LOCAL_SRC_FILES := \
- $(xmlrpc_src_files:$(LOCAL_PATH)/%=%)
+LOCAL_SRC_FILES := $(call all-cpp-files-under,src)
include $(BUILD_SHARED_LIBRARY)
-
-endif # HOST_OS == linux