• 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 += -Wall -Werror -fvisibility=hidden -DLAYERNAME="A"
23LOCAL_SHARED_LIBRARIES := libandroid libvulkan libEGL libGLESv3 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 += -Wall -Werror -fvisibility=hidden -DLAYERNAME="B"
34LOCAL_SHARED_LIBRARIES := libandroid libvulkan libEGL libGLESv3 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 += -Wall -Werror -fvisibility=hidden -DLAYERNAME="C"
45LOCAL_SHARED_LIBRARIES := libandroid libvulkan libEGL libGLESv3 liblog
46LOCAL_NDK_STL_VARIANT := c++_static
47LOCAL_SDK_VERSION := current
48include $(BUILD_SHARED_LIBRARY)
49
50
51include $(CLEAR_VARS)
52LOCAL_MODULE := libGLES_glesLayerA
53LOCAL_MODULE_TAGS := tests
54LOCAL_SRC_FILES := jni/glesLayer.cpp
55LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME=A
56LOCAL_SHARED_LIBRARIES := libandroid libEGL libGLESv3 liblog
57LOCAL_NDK_STL_VARIANT := c++_static
58LOCAL_SDK_VERSION := current
59include $(BUILD_SHARED_LIBRARY)
60
61
62include $(CLEAR_VARS)
63LOCAL_MODULE := libGLES_glesLayerB
64LOCAL_MODULE_TAGS := tests
65LOCAL_SRC_FILES := jni/glesLayer.cpp
66LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME=B
67LOCAL_SHARED_LIBRARIES := libandroid libEGL libGLESv3 liblog
68LOCAL_NDK_STL_VARIANT := c++_static
69LOCAL_SDK_VERSION := current
70include $(BUILD_SHARED_LIBRARY)
71
72
73include $(CLEAR_VARS)
74LOCAL_MODULE := libGLES_glesLayerC
75LOCAL_MODULE_TAGS := tests
76LOCAL_SRC_FILES := jni/glesLayer.cpp
77LOCAL_CFLAGS += -std=c++14 -Wall -Werror -fvisibility=hidden -DLAYERNAME=C
78LOCAL_SHARED_LIBRARIES := libandroid libEGL libGLESv3 liblog
79LOCAL_NDK_STL_VARIANT := c++_static
80LOCAL_SDK_VERSION := current
81include $(BUILD_SHARED_LIBRARY)
82
83
84include $(CLEAR_VARS)
85
86LOCAL_MODULE_TAGS := tests
87
88LOCAL_PACKAGE_NAME := CtsGpuToolsRootlessGpuDebugApp-LAYERS
89LOCAL_SDK_VERSION := current
90
91# tag this module as a cts test artifact
92LOCAL_COMPATIBILITY_SUITE := cts
93
94LOCAL_MULTILIB := both
95
96LOCAL_JNI_SHARED_LIBRARIES := \
97libVkLayer_nullLayerA \
98libVkLayer_nullLayerB \
99libVkLayer_nullLayerC
100
101LOCAL_USE_EMBEDDED_NATIVE_LIBS := false
102
103include $(BUILD_CTS_SUPPORT_PACKAGE)
104
105
106include $(CLEAR_VARS)
107
108LOCAL_MODULE_TAGS := tests
109
110LOCAL_PACKAGE_NAME := CtsGpuToolsRootlessGpuDebugApp-GLES_LAYERS
111LOCAL_SDK_VERSION := current
112
113# tag this module as a cts test artifact
114LOCAL_COMPATIBILITY_SUITE := cts
115
116LOCAL_MULTILIB := both
117
118LOCAL_JNI_SHARED_LIBRARIES := \
119libGLES_glesLayerA \
120libGLES_glesLayerB \
121libGLES_glesLayerC
122
123LOCAL_USE_EMBEDDED_NATIVE_LIBS := false
124
125LOCAL_AAPT_FLAGS := \
126--rename-manifest-package android.rootlessgpudebug.GLES_LAYERS.app
127
128include $(BUILD_CTS_SUPPORT_PACKAGE)
129
130
131include $(call all-makefiles-under,$(LOCAL_PATH))
132