194c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#
294c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# Copyright (C) 2014 The Android Open Source Project
394c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#
494c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# Licensed under the Apache License, Version 2.0 (the "License");
594c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# you may not use this file except in compliance with the License.
694c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# You may obtain a copy of the License at
794c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#
894c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#      http://www.apache.org/licenses/LICENSE-2.0
994c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#
1094c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# Unless required by applicable law or agreed to in writing, software
1194c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# distributed under the License is distributed on an "AS IS" BASIS,
1294c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1394c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# See the License for the specific language governing permissions and
1494c40fe92117f301c7758de2861ab0c1d6cfded0John Reck# limitations under the License.
1594c40fe92117f301c7758de2861ab0c1d6cfded0John Reck#
1694c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
1794c40fe92117f301c7758de2861ab0c1d6cfded0John Recklocal_target_dir := $(TARGET_OUT_DATA)/local/tmp
1894c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_PATH:= $(call my-dir)
1994c40fe92117f301c7758de2861ab0c1d6cfded0John Reckinclude $(CLEAR_VARS)
2094c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
2194c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
22b5a5435a77bae40b55053ccde93b1ed45d0e8329Chris CraikLOCAL_CFLAGS += -Wno-unused-parameter
2394c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\"
2494c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
2594c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_SRC_FILES:= \
2694c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	TestContext.cpp \
2794c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	main.cpp
2894c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
2994c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_C_INCLUDES += \
3094c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	$(LOCAL_PATH)/.. \
3194c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	external/skia/src/core
3294c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
3394c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_SHARED_LIBRARIES := \
3494c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	liblog \
3594c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libcutils \
3694c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libutils \
3794c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libskia \
3894c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libgui \
3994c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libui \
4094c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	libhwui
4194c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
4294c40fe92117f301c7758de2861ab0c1d6cfded0John Reckifeq ($(WITH_MALLOC_LEAK_CHECK),true)
4394c40fe92117f301c7758de2861ab0c1d6cfded0John Reck	LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
4494c40fe92117f301c7758de2861ab0c1d6cfded0John Reckendif
4594c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
4694c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MODULE_PATH := $(local_target_dir)
4794c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MODULE:= hwuitest
4894c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MODULE_TAGS := tests
4994c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MULTILIB := both
5094c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MODULE_STEM_32 := hwuitest
5194c40fe92117f301c7758de2861ab0c1d6cfded0John ReckLOCAL_MODULE_STEM_64 := hwuitest64
5294c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
5394c40fe92117f301c7758de2861ab0c1d6cfded0John Reckinclude external/stlport/libstlport.mk
5494c40fe92117f301c7758de2861ab0c1d6cfded0John Reckinclude $(BUILD_EXECUTABLE)
5594c40fe92117f301c7758de2861ab0c1d6cfded0John Reck
5694c40fe92117f301c7758de2861ab0c1d6cfded0John Reckinclude $(call all-makefiles-under,$(LOCAL_PATH))
57