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