1# Copyright (C) 2010 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 15LOCAL_PATH := $(call my-dir) 16 17# the cts-api-coverage script 18# ============================================================ 19include $(CLEAR_VARS) 20LOCAL_IS_HOST_MODULE := true 21LOCAL_MODULE_CLASS := EXECUTABLES 22LOCAL_MODULE := cts-api-coverage 23LOCAL_SRC_FILES := etc/$(LOCAL_MODULE) 24LOCAL_ADDITIONAL_DEPENDENCIES := $(HOST_OUT_JAVA_LIBRARIES)/$(LOCAL_MODULE)$(COMMON_JAVA_PACKAGE_SUFFIX) 25 26include $(BUILD_PREBUILT) 27 28# the ndk-api-report script 29# ============================================================ 30include $(CLEAR_VARS) 31LOCAL_IS_HOST_MODULE := true 32LOCAL_MODULE_CLASS := EXECUTABLES 33LOCAL_MODULE := ndk-api-report 34LOCAL_SRC_FILES := etc/$(LOCAL_MODULE) 35 36include $(BUILD_PREBUILT) 37 38# cts-api-coverage java library 39# ============================================================ 40include $(CLEAR_VARS) 41 42LOCAL_SRC_FILES := \ 43 $(call all-subdir-java-files) \ 44 $(call all-proto-files-under, proto) 45 46LOCAL_PROTOC_OPTIMIZE_TYPE := full 47LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/proto/ 48 49LOCAL_JAVA_RESOURCE_DIRS := res 50LOCAL_JAR_MANIFEST := MANIFEST.mf 51 52LOCAL_STATIC_JAVA_LIBRARIES := \ 53 compatibility-host-util \ 54 dexlib2 55 56LOCAL_MODULE := cts-api-coverage 57 58# This tool is not checking any dependencies or metadata, so all of the 59# dependencies of all of the tests must be on its classpath. This is 60# super fragile. 61LOCAL_STATIC_JAVA_LIBRARIES += \ 62 tradefed hosttestlib \ 63 platformprotos 64 65include $(BUILD_HOST_JAVA_LIBRARY) 66