1bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# Copyright (C) 2012 The Android Open Source Project 2bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# 3bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# Licensed under the Apache License, Version 2.0 (the "License"); 4bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# you may not use this file except in compliance with the License. 5bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# You may obtain a copy of the License at 6bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# 7bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# http://www.apache.org/licenses/LICENSE-2.0 8bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# 9bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# Unless required by applicable law or agreed to in writing, software 10bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# distributed under the License is distributed on an "AS IS" BASIS, 11bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# See the License for the specific language governing permissions and 13bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# limitations under the License. 14bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# 15bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot# 16bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 17a9407644f9c2d397b473b45775991cffcafa192fBrett Chabot# build unit tests for android-support-test 18bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 19bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett ChabotLOCAL_PATH := $(call my-dir) 20bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabotinclude $(CLEAR_VARS) 21bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 22bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett ChabotLOCAL_SRC_FILES := $(call all-java-files-under, src) 23bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 24a9407644f9c2d397b473b45775991cffcafa192fBrett ChabotLOCAL_PACKAGE_NAME := AndroidSupportTestTests 25bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 260e1d66fcd74344182e3bfca913744b1a66e7a188Brett ChabotLOCAL_MODULE_TAGS := tests 27bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 28f5108571f4241880580059bbf067970425cabdf5Brett Chabot# SDK 10 needed for mockito/objnesis. Otherwise 8 would work 29f5108571f4241880580059bbf067970425cabdf5Brett ChabotLOCAL_SDK_VERSION := 10 30bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 31bac1a737514945ce33a2be2f9b8c5d63430b5234Brett ChabotLOCAL_STATIC_JAVA_LIBRARIES := android-support-test mockito-target dexmaker hamcrest-library hamcrest-integration 32bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 33bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett ChabotLOCAL_PROGUARD_ENABLED := disabled 34bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 35bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabotinclude $(BUILD_PACKAGE) 36bb23e68d4dc19a37df318b8d169e3dfd0dd1c20eBrett Chabot 37