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 18 include $(CLEAR_VARS) 19 LOCAL_MODULE := libVkLayer_nullLayerA 20 LOCAL_MODULE_TAGS := tests 21 LOCAL_SRC_FILES := jni/nullLayer.cpp 22 LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME="A" 23 LOCAL_SHARED_LIBRARIES := libandroid libvulkan liblog 24 LOCAL_NDK_STL_VARIANT := c++_static 25 LOCAL_SDK_VERSION := current 26 include $(BUILD_SHARED_LIBRARY) 27 28 29 include $(CLEAR_VARS) 30 LOCAL_MODULE := libVkLayer_nullLayerB 31 LOCAL_MODULE_TAGS := tests 32 LOCAL_SRC_FILES := jni/nullLayer.cpp 33 LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME="B" 34 LOCAL_SHARED_LIBRARIES := libandroid libvulkan liblog 35 LOCAL_NDK_STL_VARIANT := c++_static 36 LOCAL_SDK_VERSION := current 37 include $(BUILD_SHARED_LIBRARY) 38 39 40 include $(CLEAR_VARS) 41 LOCAL_MODULE := libVkLayer_nullLayerC 42 LOCAL_MODULE_TAGS := tests 43 LOCAL_SRC_FILES := jni/nullLayer.cpp 44 LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME="C" 45 LOCAL_SHARED_LIBRARIES := libandroid libvulkan liblog 46 LOCAL_NDK_STL_VARIANT := c++_static 47 LOCAL_SDK_VERSION := current 48 include $(BUILD_SHARED_LIBRARY) 49 50 51 52 include $(CLEAR_VARS) 53 54 LOCAL_MODULE_TAGS := tests 55 56 LOCAL_PACKAGE_NAME := CtsGpuToolsRootlessGpuDebugApp-LAYERS 57 LOCAL_SDK_VERSION := current 58 59 # tag this module as a cts test artifact 60 LOCAL_COMPATIBILITY_SUITE := cts 61 62 LOCAL_MULTILIB := both 63 64 LOCAL_JNI_SHARED_LIBRARIES := \ 65 libVkLayer_nullLayerA \ 66 libVkLayer_nullLayerB \ 67 libVkLayer_nullLayerC 68 69 include $(call all-makefiles-under,$(LOCAL_PATH)) 70 71 include $(BUILD_CTS_SUPPORT_PACKAGE) 72