1# Copyright (C) 2017 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# This file is meant to be included for every host-side test case to 16# have common build system code. 17# 18# For example: 19# 20# LOCAL_PATH := $(call my-dir) 21# 22# include $(CLEAR_VARS) 23# 24# LOCAL_MODULE := CtsJvmtiRunTest902HostTestCases 25# 26# include $(LOCAL_PATH)/../host_side.mk 27# 28 29 30ifndef LOCAL_PATH 31 $(error LOCAL_PATH not defined) 32endif 33ifndef LOCAL_MODULE 34 $(error LOCAL_MODULE not defined) 35endif 36 37LOCAL_STATIC_JAVA_LIBRARIES := CtsJvmtiHostTestBase 38LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt 39LOCAL_MODULE_TAGS := tests 40LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 41 42include $(BUILD_HOST_JAVA_LIBRARY) 43 44include $(call all-makefiles-under,$(LOCAL_PATH)) 45 46