summaryrefslogtreecommitdiffstats
path: root/nfc-extras/tests/Android.mk
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-11-14 14:21:57 -0800
committerNick Pelly <npelly@google.com>2011-11-14 15:28:47 -0800
commit314252360b3e5e50e45f49800bea5a487e4c8872 (patch)
tree31e90b79968fff1678d3da8f6ad504d64fa48eef /nfc-extras/tests/Android.mk
parent678a7025ddb250de2a26cabc51402ff4e67752a8 (diff)
downloadframeworks_base-314252360b3e5e50e45f49800bea5a487e4c8872.zip
frameworks_base-314252360b3e5e50e45f49800bea5a487e4c8872.tar.gz
frameworks_base-314252360b3e5e50e45f49800bea5a487e4c8872.tar.bz2
Move nfc-extras tests into frameworks/base/nfc-extras/tests.
The new NFC Extras access control allows us to run these tests without a vendor specific certificate. Change-Id: I9425e08e557214cf6a74276622402c5682bbaef4
Diffstat (limited to 'nfc-extras/tests/Android.mk')
-rw-r--r--nfc-extras/tests/Android.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/nfc-extras/tests/Android.mk b/nfc-extras/tests/Android.mk
new file mode 100644
index 0000000..3eca76d
--- /dev/null
+++ b/nfc-extras/tests/Android.mk
@@ -0,0 +1,32 @@
+# Copyright 2011, The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+# We only want this apk build for tests.
+LOCAL_MODULE_TAGS := tests
+
+LOCAL_JAVA_LIBRARIES := \
+ android.test.runner \
+ com.android.nfc_extras
+
+# Include all test java files.
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_PACKAGE_NAME := NfcExtrasTests
+
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_PACKAGE)