Home | History | Annotate | Download | only in camera2
      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_STEM_32 := camera2_test
     49 LOCAL_MODULE_STEM_64 := camera2_test64
     50 LOCAL_MULTILIB := both
     51 LOCAL_MODULE_TAGS := tests
     52 
     53 include $(BUILD_NATIVE_TEST)
     54