blob: 3a8e3564f29834f16ad8ca863b8070db870bd25d [file] [log] [blame]
Xia Wang4c875162011-08-30 18:48:11 -07001# Build the unit tests,
Jamie Gennis134f0422011-03-08 12:18:54 -08002LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
Jamie Gennisd99c0882011-03-10 16:24:46 -08005LOCAL_MODULE := SurfaceTexture_test
Jamie Gennis134f0422011-03-08 12:18:54 -08006
Jamie Gennisd99c0882011-03-10 16:24:46 -08007LOCAL_MODULE_TAGS := tests
8
9LOCAL_SRC_FILES := \
Mathias Agopiand87f1622011-03-25 18:42:40 -070010 Surface_test.cpp \
Jamie Gennisd99c0882011-03-10 16:24:46 -080011 SurfaceTextureClient_test.cpp \
12 SurfaceTexture_test.cpp \
13
14LOCAL_SHARED_LIBRARIES := \
15 libEGL \
16 libGLESv2 \
Jamie Gennis134f0422011-03-08 12:18:54 -080017 libbinder \
Jamie Gennisd99c0882011-03-10 16:24:46 -080018 libcutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080019 libgui \
20 libstlport \
Jamie Gennisd99c0882011-03-10 16:24:46 -080021 libui \
22 libutils \
Jamie Gennis134f0422011-03-08 12:18:54 -080023
Jamie Gennisd99c0882011-03-10 16:24:46 -080024LOCAL_C_INCLUDES := \
Jamie Gennis134f0422011-03-08 12:18:54 -080025 bionic \
26 bionic/libstdc++/include \
27 external/gtest/include \
28 external/stlport/stlport \
29
Xia Wang4c875162011-08-30 18:48:11 -070030# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
31# to integrate with auto-test framework.
32include $(BUILD_NATIVE_TEST)
Jamie Gennis134f0422011-03-08 12:18:54 -080033
Eino-Ville Talvalae41b3182012-04-16 17:54:33 -070034include $(CLEAR_VARS)
35
36LOCAL_MODULE := CpuConsumer_test
37
38LOCAL_MODULE_TAGS := tests
39
40LOCAL_SRC_FILES := \
41 CpuConsumer_test.cpp
42
43LOCAL_SHARED_LIBRARIES := \
44 libEGL \
45 libGLESv2 \
46 libbinder \
47 libcutils \
48 libgui \
49 libstlport \
50 libui \
51 libutils \
52
53LOCAL_C_INCLUDES := \
54 bionic \
55 bionic/libstdc++/include \
56 external/gtest/include \
57 external/stlport/stlport \
58
59# Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
60# to integrate with auto-test framework.
61include $(BUILD_NATIVE_TEST)
62
Jamie Gennis134f0422011-03-08 12:18:54 -080063# Include subdirectory makefiles
64# ============================================================
65
66# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
67# team really wants is to build the stuff defined by this makefile.
68ifeq (,$(ONE_SHOT_MAKEFILE))
69include $(call first-makefiles-under,$(LOCAL_PATH))
70endif