11ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# Copyright (C) 2012 The Android Open Source Project 21ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# 31ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# Licensed under the Apache License, Version 2.0 (the "License"); 41ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# you may not use this file except in compliance with the License. 51ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# You may obtain a copy of the License at 61ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# 71ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# http://www.apache.org/licenses/LICENSE-2.0 81ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# 91ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# Unless required by applicable law or agreed to in writing, software 101ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# distributed under the License is distributed on an "AS IS" BASIS, 111ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 121ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# See the License for the specific language governing permissions and 131ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# limitations under the License. 141ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# 151ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot# 161ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 171ecfda91236a8970119144e59e0ba6113dc22c0fBrett ChabotLOCAL_PATH := $(call my-dir) 181ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 194c7bb43300eeff0dfc173c18ef17e59e9ff66fa5Elliott Hughes# build for the host JVM 204c7bb43300eeff0dfc173c18ef17e59e9ff66fa5Elliott Hughes#----------------------- 214c7bb43300eeff0dfc173c18ef17e59e9ff66fa5Elliott Hughesinclude $(CLEAR_VARS) 221ecfda91236a8970119144e59e0ba6113dc22c0fBrett ChabotLOCAL_SRC_FILES := $(call all-java-files-under, src) 231ecfda91236a8970119144e59e0ba6113dc22c0fBrett ChabotLOCAL_MODULE := hamcrest-host 241ecfda91236a8970119144e59e0ba6113dc22c0fBrett ChabotLOCAL_MODULE_TAGS := optional 254c7bb43300eeff0dfc173c18ef17e59e9ff66fa5Elliott Hughesinclude $(BUILD_HOST_JAVA_LIBRARY) 261ecfda91236a8970119144e59e0ba6113dc22c0fBrett Chabot 271e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabot#------------------------------- 281e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabot# build a target jar 291e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabot 301e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabotinclude $(CLEAR_VARS) 311e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabot 321e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett ChabotLOCAL_SRC_FILES := $(call all-java-files-under, src) 331e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett ChabotLOCAL_MODULE := hamcrest 3484ee3dc21ec5d2dd99cee722d058029f1027e9efBrett ChabotLOCAL_SDK_VERSION := 4 351e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett ChabotLOCAL_MODULE_TAGS := optional 361e0972dccb32b15511bd87c40d47cfe3b8bc0624Brett Chabotinclude $(BUILD_STATIC_JAVA_LIBRARY) 37f5e9a2415ec42c425c2bb17db46f2a9649992d80Brett Chabot 38f5e9a2415ec42c425c2bb17db46f2a9649992d80Brett Chabotinclude $(call all-makefiles-under, $(LOCAL_PATH)) 39