blob: e4f9640a2d73ef167fcbf6b59b12807998c5b3e7 [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 \
Eino-Ville Talvala3462b082016-12-19 09:34:18 -080029 android.hardware.camera.device@3.2
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070030
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070031LOCAL_C_INCLUDES += \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070032 system/media/camera/include \
Emilian Peev1cc12b82017-04-05 17:13:59 +010033 system/media/private/camera/include \
Igor Murashkin7ed10fb2013-02-13 17:33:36 -080034 frameworks/av/include/ \
Igor Murashkine302ee32012-11-05 11:14:49 -080035 frameworks/av/services/camera/libcameraservice \
36 frameworks/native/include \
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070037
Igor Murashkineab33fc2012-11-06 17:02:54 -080038LOCAL_CFLAGS += -Wall -Wextra
Eino-Ville Talvala567b4a22012-04-23 09:29:38 -070039LOCAL_MODULE:= camera2_test
Zhijun He32282972014-05-30 10:02:59 -070040LOCAL_MODULE_STEM_32 := camera2_test
41LOCAL_MODULE_STEM_64 := camera2_test64
42LOCAL_MULTILIB := both
Eino-Ville Talvalafed0c022012-03-22 13:11:05 -070043LOCAL_MODULE_TAGS := tests
44
Yu Shan Emily Laub7c4e1c2013-04-12 14:50:20 -070045include $(BUILD_NATIVE_TEST)