summaryrefslogtreecommitdiff
path: root/halimpl
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-09-29 17:12:58 -0700
committerDan Willemsen <dwillemsen@google.com>2015-09-29 17:27:53 -0700
commit87425c1a55ec6bfae2cb434f5859188f96185bef (patch)
tree9bc33d105f3cc3e1fc2395f14218b3f4b3097550 /halimpl
parent37971912c6335af85caad8ca7950376f7d99bb14 (diff)
downloadlibnfc-nci-87425c1a55ec6bfae2cb434f5859188f96185bef.tar.gz
Use global all-cpp-files-under
The build system now has a better implementation of all-cpp-files-under Bug: 24204119 Change-Id: I295247b82c1d522f284963df79b94730c1f6017c
Diffstat (limited to 'halimpl')
-rw-r--r--halimpl/pn54x/Android.mk14
1 files changed, 1 insertions, 13 deletions
diff --git a/halimpl/pn54x/Android.mk b/halimpl/pn54x/Android.mk
index c923a46..d75a654 100644
--- a/halimpl/pn54x/Android.mk
+++ b/halimpl/pn54x/Android.mk
@@ -12,24 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
-# function to find all *.cpp files under a directory
-define all-cpp-files-under
-$(patsubst ./%,%, \
- $(shell cd $(LOCAL_PATH) ; \
- find $(1) -name "*.cpp" -and -not -name ".*") \
- )
-endef
-
-LOCAL_PRELINK_MODULE := false
-LOCAL_ARM_MODE := arm
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := nfc_nci.$(TARGET_DEVICE)
LOCAL_MODULE_RELATIVE_PATH := hw
-LOCAL_SRC_FILES := $(call all-c-files-under, .) $(call all-cpp-files-under, .)
+LOCAL_SRC_FILES := $(call all-subdir-c-files) $(call all-subdir-cpp-files)
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware_legacy libdl libhardware
-LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/utils \