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