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