blob: a6e2ab7040b677d0078f9c0630ac8b2f754acd27 [file] [log] [blame]
{
'includes': [
'../../build/cros-camera-common.gypi',
],
'target_defaults': {
'variables': {
'deps': [
'cros-camera-android-headers',
'libcamera_jpeg',
'libcbm',
'libcamera_client',
'libcamera_common',
'libcamera_exif',
'libcamera_metadata',
'libcamera_timezone',
'libjda',
'libsync',
'libyuv',
're2',
],
},
},
'targets': [
{
'target_name': 'libcamera_hal',
'type': 'shared_library',
'sources': [
'../../common/utils/camera_config.cc',
'cached_frame.cc',
'camera_characteristics.cc',
'camera_client.cc',
'camera_hal.cc',
'camera_hal_device_ops.cc',
'capture_request.cc',
'frame_buffer.cc',
'image_processor.cc',
'metadata_handler.cc',
'stream_format.cc',
'test_pattern.cc',
'v4l2_camera_device.cc',
],
},
],
'conditions': [
['USE_test == 1', {
'targets': [
{
'target_name': 'image_processor_test',
'type': 'executable',
'includes': [
'../../../../platform2/common-mk/common_test.gypi',
],
'sources': [
'frame_buffer.cc',
'image_processor.cc',
'unittest/image_processor_test.cc',
],
},
],
}],
],
}