| Xia Wang | 4c87516 | 2011-08-30 18:48:11 -0700 | [diff] [blame] | 1 | # Build the unit tests, | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 2 | LOCAL_PATH:= $(call my-dir) | 
 | 3 | include $(CLEAR_VARS) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 4 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 5 |  | 
| Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame] | 6 | LOCAL_MODULE := libgui_test | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 7 |  | 
| Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 8 | LOCAL_MODULE_TAGS := tests | 
 | 9 |  | 
 | 10 | LOCAL_SRC_FILES := \ | 
| Jamie Gennis | 9e75ddd | 2012-08-31 15:32:45 -0700 | [diff] [blame] | 11 |     BufferQueue_test.cpp \ | 
| Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame] | 12 |     CpuConsumer_test.cpp \ | 
| Dan Stoza | cb1fcde | 2013-12-03 12:37:36 -0800 | [diff] [blame] | 13 |     FillBuffer.cpp \ | 
| Dan Stoza | f3730fb | 2013-11-26 15:10:10 -0800 | [diff] [blame] | 14 |     GLTest.cpp \ | 
| Igor Murashkin | 7ea777f | 2013-11-18 16:58:36 -0800 | [diff] [blame] | 15 |     IGraphicBufferProducer_test.cpp \ | 
| Dan Stoza | cb1fcde | 2013-12-03 12:37:36 -0800 | [diff] [blame] | 16 |     MultiTextureConsumer_test.cpp \ | 
| Dan Stoza | 3ed4e0b | 2013-12-11 15:21:11 -0800 | [diff] [blame] | 17 |     SRGB_test.cpp \ | 
| Dan Stoza | 99b18b4 | 2014-03-28 15:34:33 -0700 | [diff] [blame] | 18 |     StreamSplitter_test.cpp \ | 
| Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 19 |     SurfaceTextureClient_test.cpp \ | 
| Dan Stoza | cb1fcde | 2013-12-03 12:37:36 -0800 | [diff] [blame] | 20 |     SurfaceTextureFBO_test.cpp \ | 
 | 21 |     SurfaceTextureGLThreadToGL_test.cpp \ | 
 | 22 |     SurfaceTextureGLToGL_test.cpp \ | 
 | 23 |     SurfaceTextureGL_test.cpp \ | 
 | 24 |     SurfaceTextureMultiContextGL_test.cpp \ | 
| Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame] | 25 |     Surface_test.cpp \ | 
| Dan Stoza | cb1fcde | 2013-12-03 12:37:36 -0800 | [diff] [blame] | 26 |     TextureRenderer.cpp \ | 
| Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 27 |  | 
 | 28 | LOCAL_SHARED_LIBRARIES := \ | 
 | 29 | 	libEGL \ | 
| Mathias Agopian | f31510a | 2013-04-16 23:32:38 -0700 | [diff] [blame] | 30 | 	libGLESv1_CM \ | 
| Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 31 | 	libGLESv2 \ | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 32 | 	libbinder \ | 
| Jamie Gennis | d99c088 | 2011-03-10 16:24:46 -0800 | [diff] [blame] | 33 | 	libcutils \ | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 34 | 	libgui \ | 
| Jamie Gennis | d8e812c | 2012-06-13 16:32:25 -0700 | [diff] [blame] | 35 | 	libsync \ | 
| Eino-Ville Talvala | e41b318 | 2012-04-16 17:54:33 -0700 | [diff] [blame] | 36 | 	libui \ | 
 | 37 | 	libutils \ | 
 | 38 |  | 
| Eino-Ville Talvala | e41b318 | 2012-04-16 17:54:33 -0700 | [diff] [blame] | 39 | # Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE) | 
 | 40 | # to integrate with auto-test framework. | 
 | 41 | include $(BUILD_NATIVE_TEST) | 
 | 42 |  | 
| Jamie Gennis | 134f042 | 2011-03-08 12:18:54 -0800 | [diff] [blame] | 43 | # Include subdirectory makefiles | 
 | 44 | # ============================================================ | 
 | 45 |  | 
 | 46 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework | 
 | 47 | # team really wants is to build the stuff defined by this makefile. | 
 | 48 | ifeq (,$(ONE_SHOT_MAKEFILE)) | 
 | 49 | include $(call first-makefiles-under,$(LOCAL_PATH)) | 
 | 50 | endif |