diff options
author | John Reck <jreck@google.com> | 2014-12-18 13:14:40 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-12-18 13:14:40 -0800 |
commit | 35cf58ab283a784b0dbdeeb8fa5a620a34030b35 (patch) | |
tree | 1fa08c88768cf663cb19dcac584993755a05ce43 /libs/hwui/tests | |
parent | fcc0788419daf9a9697bdc42a3fc42f452ba1c9b (diff) | |
download | frameworks_base-35cf58ab283a784b0dbdeeb8fa5a620a34030b35.zip frameworks_base-35cf58ab283a784b0dbdeeb8fa5a620a34030b35.tar.gz frameworks_base-35cf58ab283a784b0dbdeeb8fa5a620a34030b35.tar.bz2 |
Split hwui's makefile
Change-Id: I7ad1a692e708cad052e8ca5b412c17e25992862c
Diffstat (limited to 'libs/hwui/tests')
-rw-r--r-- | libs/hwui/tests/Android.mk | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/libs/hwui/tests/Android.mk b/libs/hwui/tests/Android.mk index 14739af..2fff07d 100644 --- a/libs/hwui/tests/Android.mk +++ b/libs/hwui/tests/Android.mk @@ -15,35 +15,9 @@ # local_target_dir := $(TARGET_OUT_DATA)/local/tmp -LOCAL_PATH:= $(call my-dir) +LOCAL_PATH:= $(call my-dir)/.. include $(CLEAR_VARS) -LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -LOCAL_CFLAGS += -Wno-unused-parameter -LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" -LOCAL_CFLAGS += -Wno-unused-parameter - -LOCAL_SRC_FILES:= \ - TestContext.cpp \ - main.cpp - -LOCAL_C_INCLUDES += \ - $(LOCAL_PATH)/.. \ - external/skia/src/core - -LOCAL_SHARED_LIBRARIES := \ - liblog \ - libcutils \ - libutils \ - libskia \ - libgui \ - libui \ - libhwui - -ifeq ($(WITH_MALLOC_LEAK_CHECK),true) - LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK -endif - LOCAL_MODULE_PATH := $(local_target_dir) LOCAL_MODULE:= hwuitest LOCAL_MODULE_TAGS := tests @@ -51,6 +25,10 @@ LOCAL_MULTILIB := both LOCAL_MODULE_STEM_32 := hwuitest LOCAL_MODULE_STEM_64 := hwuitest64 -include $(BUILD_EXECUTABLE) +include $(LOCAL_PATH)/Android.common.mk -include $(call all-makefiles-under,$(LOCAL_PATH)) +LOCAL_SRC_FILES += \ + tests/TestContext.cpp \ + tests/main.cpp + +include $(BUILD_EXECUTABLE) |