1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES:= \ 5 camera2_utils.cpp \ 6 main.cpp \ 7 CameraMetadataTests.cpp \ 8 CameraModuleTests.cpp \ 9 CameraStreamTests.cpp \ 10 CameraFrameTests.cpp \ 11 CameraBurstTests.cpp \ 12 CameraMultiStreamTests.cpp\ 13 ForkedTests.cpp \ 14 TestForkerEventListener.cpp \ 15 TestSettings.cpp \ 16 17 LOCAL_SHARED_LIBRARIES := \ 18 liblog \ 19 libutils \ 20 libcutils \ 21 libhardware \ 22 libcamera_metadata \ 23 libcameraservice \ 24 libcamera_client \ 25 libgui \ 26 libsync \ 27 libui \ 28 libdl 29 30 LOCAL_C_INCLUDES += \ 31 system/media/camera/include \ 32 frameworks/av/include/ \ 33 frameworks/av/services/camera/libcameraservice \ 34 frameworks/native/include \ 35 36 LOCAL_CFLAGS += -Wall -Wextra 37 LOCAL_MODULE:= camera2_test 38 LOCAL_MODULE_STEM_32 := camera2_test 39 LOCAL_MODULE_STEM_64 := camera2_test64 40 LOCAL_MULTILIB := both 41 LOCAL_MODULE_TAGS := tests 42 43 include $(BUILD_NATIVE_TEST) 44