1 # Copyright (C) 2015 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 LOCAL_PATH := $(call my-dir)
18 native_buffer_queue.cpp \
20 display_manager_client.cpp \
21 display_manager_client_impl.cpp \
23 dummy_native_window.cpp \
27 video_mesh_surface_client.cpp \
29 vsync_client_api.cpp \
30 screenshot_client.cpp \
34 $(LOCAL_PATH)/include \
35 frameworks/native/vulkan/include
57 libpdx_default_transport \
60 LOCAL_MODULE_TAGS := tests
61 LOCAL_SRC_FILES := $(sourceFiles)
62 LOCAL_C_INCLUDES := $(includeFiles)
63 #LOCAL_CPPFLAGS := -UNDEBUG -DDEBUG -O0 -g
64 LOCAL_CFLAGS += -DLOG_TAG=\"libdisplay\"
65 LOCAL_CFLAGS += -DTRACE=0
66 LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_GRAPHICS
67 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
68 LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles)
69 LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
70 LOCAL_STATIC_LIBRARIES := $(staticLibraries)
71 LOCAL_MODULE := libdisplay
72 include $(BUILD_STATIC_LIBRARY)
74 graphicsAppTestFiles := \
75 tests/graphics_app_tests.cpp
78 LOCAL_MODULE := graphics_app_tests
79 LOCAL_MODULE_TAGS := optional
82 $(graphicsAppTestFiles) \
87 LOCAL_SHARED_LIBRARIES := \
90 LOCAL_STATIC_LIBRARIES := \
94 include $(BUILD_NATIVE_TEST)
96 dummyNativeWindowTestFiles := \
97 tests/dummy_native_window_tests.cpp \
100 LOCAL_MODULE := dummy_native_window_tests
101 LOCAL_MODULE_TAGS := optional
104 $(dummyNativeWindowTestFiles) \
106 LOCAL_C_INCLUDES := \
109 LOCAL_SHARED_LIBRARIES := \
112 LOCAL_STATIC_LIBRARIES := \
115 include $(BUILD_NATIVE_TEST)