Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Fixed nfc-extras build files
Browse files Browse the repository at this point in the history
The com.android.nfc_extras target was including the test class.
The nfc-extras/tests/Android.mk file was not being included so
was not being built by continuous build and could not be built
using make NfcExtrasTests.

Bug: 38487370
Bug: 30188076
Test: make checkbuild
Change-Id: I17f6723b899f26de329a2e74177bd02ba864b7b2
  • Loading branch information
paulduffin committed May 23, 2017
1 parent ec1f25a commit 1f0b6c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nfc-extras/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
LOCAL_SRC_FILES := $(call all-java-files-under, java)

LOCAL_MODULE:= com.android.nfc_extras

include $(BUILD_JAVA_LIBRARY)

include $(call all-makefiles-under,$(LOCAL_PATH))
2 changes: 2 additions & 0 deletions nfc-extras/tests/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ LOCAL_JAVA_LIBRARIES := \
android.test.runner \
com.android.nfc_extras

LOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)

Expand Down

0 comments on commit 1f0b6c8

Please sign in to comment.