Hugo Hudson | 01f8aec | 2012-01-11 15:29:28 +0000 | [diff] [blame] | 1 | # Copyright (C) 2011 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 | LOCAL_PATH := $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | # Include all the java files. |
Brett Chabot | 8d4cf4f | 2012-01-17 15:48:23 -0800 | [diff] [blame] | 19 | LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java src/dx/java) |
Hugo Hudson | 01f8aec | 2012-01-11 15:29:28 +0000 | [diff] [blame] | 20 | |
Brett Chabot | 34f760b | 2013-01-31 13:57:15 -0800 | [diff] [blame] | 21 | LOCAL_SDK_VERSION := 10 |
Hugo Hudson | 01f8aec | 2012-01-11 15:29:28 +0000 | [diff] [blame] | 22 | |
| 23 | # The name of the jar file to create. |
| 24 | LOCAL_MODULE := dexmaker |
| 25 | |
| 26 | # Build a static jar file. |
| 27 | include $(BUILD_STATIC_JAVA_LIBRARY) |
Ian Parkinson | 24d9a91 | 2013-01-30 22:16:22 +0000 | [diff] [blame] | 28 | |
| 29 | # Build Dexmaker's MockMaker, a plugin to Mockito |
| 30 | include $(CLEAR_VARS) |
| 31 | LOCAL_MODULE := dexmaker-mockmaker |
Brett Chabot | 34f760b | 2013-01-31 13:57:15 -0800 | [diff] [blame] | 32 | LOCAL_SDK_VERSION := 10 |
Ian Parkinson | 24d9a91 | 2013-01-30 22:16:22 +0000 | [diff] [blame] | 33 | LOCAL_SRC_FILES := $(call all-java-files-under, src/mockito/java) |
| 34 | LOCAL_JAVA_RESOURCE_DIRS := src/mockito/resources |
| 35 | LOCAL_JAVA_LIBRARIES := dexmaker mockito-api |
| 36 | include $(BUILD_STATIC_JAVA_LIBRARY) |