• 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
17include $(CLEAR_VARS)
18LOCAL_MODULE := libctsgputools_jni
19LOCAL_SRC_FILES := \
20    jni/CtsGpuToolsJniOnLoad.cpp \
21    jni/android_gputools_cts_RootlessGpuDebug.cpp
22LOCAL_CFLAGS += -Wall -Werror
23LOCAL_SHARED_LIBRARIES := libandroid libvulkan liblog
24LOCAL_SHARED_LIBRARIES := libandroid libvulkan libEGL libGLESv3 liblog
25LOCAL_NDK_STL_VARIANT := c++_static
26LOCAL_SDK_VERSION := current
27include $(BUILD_SHARED_LIBRARY)
28
29
30include $(CLEAR_VARS)
31LOCAL_SRC_FILES := $(call all-java-files-under, src)
32LOCAL_MODULE_TAGS := tests
33LOCAL_PACKAGE_NAME := CtsGpuToolsRootlessGpuDebugApp-DEBUG
34LOCAL_SDK_VERSION := current
35
36# tag this module as a cts test artifact
37LOCAL_COMPATIBILITY_SUITE := cts
38
39LOCAL_MULTILIB := both
40
41LOCAL_JNI_SHARED_LIBRARIES := \
42libctsgputools_jni
43
44LOCAL_AAPT_FLAGS := \
45--rename-manifest-package android.rootlessgpudebug.DEBUG.app \
46--debug-mode
47
48LOCAL_USE_EMBEDDED_NATIVE_LIBS := false
49
50include $(BUILD_CTS_SUPPORT_PACKAGE)
51
52
53include $(CLEAR_VARS)
54LOCAL_SRC_FILES := $(call all-java-files-under, src)
55LOCAL_MODULE_TAGS := tests
56LOCAL_PACKAGE_NAME := CtsGpuToolsRootlessGpuDebugApp-RELEASE
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 := \
65libctsgputools_jni \
66libVkLayer_nullLayerC \
67libGLES_glesLayerC
68
69LOCAL_AAPT_FLAGS := \
70--rename-manifest-package android.rootlessgpudebug.RELEASE.app
71
72LOCAL_USE_EMBEDDED_NATIVE_LIBS := false
73
74include $(BUILD_CTS_SUPPORT_PACKAGE)
75
76include $(call all-makefiles-under,$(LOCAL_PATH))
77