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