John Reck | 94c40fe | 2014-10-08 09:28:43 -0700 | [diff] [blame^] | 1 | # |
| 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 | |
| 17 | local_target_dir := $(TARGET_OUT_DATA)/local/tmp |
| 18 | LOCAL_PATH:= $(call my-dir) |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES |
| 22 | LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" |
| 23 | |
| 24 | LOCAL_SRC_FILES:= \ |
| 25 | TestContext.cpp \ |
| 26 | main.cpp |
| 27 | |
| 28 | LOCAL_C_INCLUDES += \ |
| 29 | $(LOCAL_PATH)/.. \ |
| 30 | external/skia/src/core |
| 31 | |
| 32 | LOCAL_SHARED_LIBRARIES := \ |
| 33 | liblog \ |
| 34 | libcutils \ |
| 35 | libutils \ |
| 36 | libskia \ |
| 37 | libgui \ |
| 38 | libui \ |
| 39 | libhwui |
| 40 | |
| 41 | ifeq ($(WITH_MALLOC_LEAK_CHECK),true) |
| 42 | LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK |
| 43 | endif |
| 44 | |
| 45 | LOCAL_MODULE_PATH := $(local_target_dir) |
| 46 | LOCAL_MODULE:= hwuitest |
| 47 | LOCAL_MODULE_TAGS := tests |
| 48 | LOCAL_MULTILIB := both |
| 49 | LOCAL_MODULE_STEM_32 := hwuitest |
| 50 | LOCAL_MODULE_STEM_64 := hwuitest64 |
| 51 | |
| 52 | include external/stlport/libstlport.mk |
| 53 | include $(BUILD_EXECUTABLE) |
| 54 | |
| 55 | include $(call all-makefiles-under,$(LOCAL_PATH)) |