blob: 167fdda5c70fb3fb2e9829655bf8500f4a00efb3 [file] [log] [blame]
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Igor Murashkine302ee32012-11-05 11:14:49 -08005 camera2_utils.cpp \
6 main.cpp \
7 CameraMetadataTests.cpp \
8 CameraModuleTests.cpp \
9 CameraStreamTests.cpp \
10 CameraFrameTests.cpp \
Igor Murashkinf1b9ae72012-12-07 15:08:35 -080011 CameraBurstTests.cpp \
Zhijun He8ef01442013-08-13 17:36:17 -070012 CameraMultiStreamTests.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 libhardware \
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -070022 libcamera_metadata \
Igor Murashkine302ee32012-11-05 11:14:49 -080023 libcameraservice \
Igor Murashkin7ed10fb2013-02-13 17:33:36 -080024 libcamera_client \
Eino-Ville Talvalafa7a91d2012-05-22 10:41:20 -070025 libgui \
Jamie Gennisbd85f472012-06-13 16:36:01 -070026 libsync \
Igor Murashkine302ee32012-11-05 11:14:49 -080027 libui \
Eino-Ville Talvala3462b082016-12-19 09:34:18 -080028 libdl \
29 android.hardware.camera.common@1.0 \
30 android.hardware.camera.provider@2.4 \
31 android.hardware.camera.device@1.0 \
32 android.hardware.camera.device@3.2
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070033
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070034LOCAL_C_INCLUDES += \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070035 system/media/camera/include \
Igor Murashkin7ed10fb2013-02-13 17:33:36 -080036 frameworks/av/include/ \
Igor Murashkine302ee32012-11-05 11:14:49 -080037 frameworks/av/services/camera/libcameraservice \
38 frameworks/native/include \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070039
Igor Murashkineab33fc2012-11-06 17:02:54 -080040LOCAL_CFLAGS += -Wall -Wextra
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -070041LOCAL_MODULE:= camera2_test
Zhijun He32282972014-05-30 10:02:59 -070042LOCAL_MODULE_STEM_32 := camera2_test
43LOCAL_MODULE_STEM_64 := camera2_test64
44LOCAL_MULTILIB := both
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070045LOCAL_MODULE_TAGS := tests
46
Yu Shan Emily Laub7c4e1c2013-04-12 14:50:20 -070047include $(BUILD_NATIVE_TEST)