blob: 8f2278a4d2cbcba84e7b6016e3040488386b7a6d [file] [log] [blame]
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -07005 camera2.cpp \
Igor Murashkine302ee32012-11-05 11:14:49 -08006 camera2_utils.cpp \
7 main.cpp \
8 CameraMetadataTests.cpp \
9 CameraModuleTests.cpp \
10 CameraStreamTests.cpp \
11 CameraFrameTests.cpp \
Igor Murashkinf1b9ae72012-12-07 15:08:35 -080012 CameraBurstTests.cpp \
Igor Murashkineab33fc2012-11-06 17:02:54 -080013 ForkedTests.cpp \
14 TestForkerEventListener.cpp \
Igor Murashkin00b597f2012-12-11 15:19:25 -080015 TestSettings.cpp \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070016
17LOCAL_SHARED_LIBRARIES := \
Ying Wang9003b112013-04-09 21:57:28 -070018 liblog \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070019 libutils \
Igor Murashkine302ee32012-11-05 11:14:49 -080020 libcutils \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070021 libstlport \
22 libhardware \
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -070023 libcamera_metadata \
Igor Murashkine302ee32012-11-05 11:14:49 -080024 libcameraservice \
Igor Murashkin7ed10fb2013-02-13 17:33:36 -080025 libcamera_client \
Eino-Ville Talvalafa7a91d2012-05-22 10:41:20 -070026 libgui \
Jamie Gennisbd85f472012-06-13 16:36:01 -070027 libsync \
Igor Murashkine302ee32012-11-05 11:14:49 -080028 libui \
29 libdl
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070030
31LOCAL_STATIC_LIBRARIES := \
Igor Murashkine302ee32012-11-05 11:14:49 -080032 libgtest
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070033
34LOCAL_C_INCLUDES += \
35 bionic \
36 bionic/libstdc++/include \
37 external/gtest/include \
38 external/stlport/stlport \
39 system/media/camera/include \
Igor Murashkin7ed10fb2013-02-13 17:33:36 -080040 frameworks/av/include/ \
Igor Murashkine302ee32012-11-05 11:14:49 -080041 frameworks/av/services/camera/libcameraservice \
42 frameworks/native/include \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070043
Igor Murashkineab33fc2012-11-06 17:02:54 -080044LOCAL_CFLAGS += -Wall -Wextra
45
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -070046LOCAL_MODULE:= camera2_test
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070047LOCAL_MODULE_TAGS := tests
48
Yu Shan Emily Laub7c4e1c2013-04-12 14:50:20 -070049include $(BUILD_NATIVE_TEST)