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 15LOCAL_PATH := $(call my-dir) 16 17# cts-api-signature-test java library 18# =================================== 19 20include $(CLEAR_VARS) 21 22# don't include this package in any target 23LOCAL_MODULE_TAGS := optional 24 25LOCAL_SRC_FILES := $(call all-java-files-under, src/java) 26 27LOCAL_MODULE := cts-api-signature-test 28 29LOCAL_SDK_VERSION := test_current 30 31LOCAL_STATIC_JAVA_LIBRARIES := \ 32 cts-signature-common \ 33 repackaged.android.test.base \ 34 repackaged.android.test.runner \ 35 36include $(BUILD_STATIC_JAVA_LIBRARY) 37 38include $(CLEAR_VARS) 39LOCAL_MODULE := libclassdescriptors 40LOCAL_MODULE_TAGS := optional 41LOCAL_SRC_FILES := src/jni/classdescriptors.cpp 42LOCAL_HEADER_LIBRARIES := jni_headers libopenjdkjvmti_headers 43LOCAL_SDK_VERSION := current 44LOCAL_NDK_STL_VARIANT := c++_static 45include $(BUILD_SHARED_LIBRARY) 46 47# hidden API lists 48# =================================== 49 50include $(CLEAR_VARS) 51LOCAL_MODULE := cts-hidden-api-blacklist 52LOCAL_MODULE_STEM := blacklist.api 53LOCAL_MODULE_CLASS := ETC 54LOCAL_MODULE_PATH = $(TARGET_OUT_DATA_ETC) 55LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 56include $(BUILD_SYSTEM)/base_rules.mk 57$(eval $(call copy-one-file,$(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST),$(LOCAL_BUILT_MODULE))) 58 59include $(CLEAR_VARS) 60LOCAL_MODULE := cts-hidden-api-dark-greylist 61LOCAL_MODULE_STEM := dark_greylist.api 62LOCAL_MODULE_CLASS := ETC 63LOCAL_MODULE_PATH = $(TARGET_OUT_DATA_ETC) 64LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 65include $(BUILD_SYSTEM)/base_rules.mk 66$(eval $(call copy-one-file,$(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST),$(LOCAL_BUILT_MODULE))) 67 68 69include $(call all-makefiles-under,$(LOCAL_PATH)) 70