1# Copyright (C) 2013 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# 15# 16 17LOCAL_PATH := $(call my-dir) 18 19# Builds the Mockito source code, but does not include any run-time 20# dependencies. Most projects should use mockito-target instead, which includes 21# everything needed to run Mockito tests. 22include $(CLEAR_VARS) 23LOCAL_SRC_FILES := $(call all-java-files-under, src) 24LOCAL_JAVA_LIBRARIES := junit4-target objenesis-target 25LOCAL_MODULE := mockito-api 26LOCAL_SDK_VERSION := 10 27LOCAL_MODULE_TAGS := optional 28include $(BUILD_STATIC_JAVA_LIBRARY) 29 30# Main target for dependent projects. Bundles all the run-time dependencies 31# needed to run Mockito tests on the device. 32include $(CLEAR_VARS) 33LOCAL_MODULE := mockito-target 34LOCAL_STATIC_JAVA_LIBRARIES := mockito-api dexmaker dexmaker-mockmaker \ 35 objenesis-target junit4-target 36LOCAL_SDK_VERSION := 10 37LOCAL_MODULE_TAGS := optional 38include $(BUILD_STATIC_JAVA_LIBRARY) 39