blob: 9622073024a3ea5d0f4ff11897ba01a1d552516c [file] [log] [blame]
John Reck94c40fe2014-10-08 09:28:43 -07001#
2# Copyright (C) 2014 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17local_target_dir := $(TARGET_OUT_DATA)/local/tmp
18LOCAL_PATH:= $(call my-dir)
19include $(CLEAR_VARS)
20
21LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
22LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\"
23
24LOCAL_SRC_FILES:= \
25 TestContext.cpp \
26 main.cpp
27
28LOCAL_C_INCLUDES += \
29 $(LOCAL_PATH)/.. \
30 external/skia/src/core
31
32LOCAL_SHARED_LIBRARIES := \
33 liblog \
34 libcutils \
35 libutils \
36 libskia \
37 libgui \
38 libui \
39 libhwui
40
41ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
42 LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
43endif
44
45LOCAL_MODULE_PATH := $(local_target_dir)
46LOCAL_MODULE:= hwuitest
47LOCAL_MODULE_TAGS := tests
48LOCAL_MULTILIB := both
49LOCAL_MODULE_STEM_32 := hwuitest
50LOCAL_MODULE_STEM_64 := hwuitest64
51
52include external/stlport/libstlport.mk
53include $(BUILD_EXECUTABLE)
54
55include $(call all-makefiles-under,$(LOCAL_PATH))