test: Include specific headers instead of libcamera.h
Let's only pull required headers, to avoid slowing compilation down. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
2fa4ba01ff
commit
beed258a5a
6 changed files with 16 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
#ifndef __LIBCAMERA_BUFFER_SOURCE_TEST_H__
|
||||
#define __LIBCAMERA_BUFFER_SOURCE_TEST_H__
|
||||
|
||||
#include <libcamera/libcamera.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/media_device.h"
|
||||
#include "libcamera/internal/v4l2_videodevice.h"
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
#ifndef __LIBCAMERA_CAMERA_TEST_H__
|
||||
#define __LIBCAMERA_CAMERA_TEST_H__
|
||||
|
||||
#include <libcamera/libcamera.h>
|
||||
#include <memory>
|
||||
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/camera_manager.h>
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue