| Index: media/capture/BUILD.gn
|
| diff --git a/media/capture/BUILD.gn b/media/capture/BUILD.gn
|
| index 60bd899a4294d58baae2dcc8b5ed9ca6280e7a12..b58b1a9321ffb3038696c28c09928497211dcb9b 100644
|
| --- a/media/capture/BUILD.gn
|
| +++ b/media/capture/BUILD.gn
|
| @@ -30,6 +30,8 @@ component("capture") {
|
| "video/file_video_capture_device.h",
|
| "video/file_video_capture_device_factory.cc",
|
| "video/file_video_capture_device_factory.h",
|
| + "video/linux/camera_facing_chromeos.cc",
|
| + "video/linux/camera_facing_chromeos.h",
|
| "video/linux/v4l2_capture_delegate.cc",
|
| "video/linux/v4l2_capture_delegate.h",
|
| "video/linux/video_capture_device_chromeos.cc",
|
| @@ -156,6 +158,15 @@ component("capture") {
|
| }
|
| }
|
|
|
| +copy("camera_config") {
|
| + sources = [
|
| + "video/linux/fake_camera_characteristics.conf",
|
| + ]
|
| + outputs = [
|
| + "$target_out_dir/fake_camera_characteristics.conf",
|
| + ]
|
| +}
|
| +
|
| test("capture_unittests") {
|
| sources = [
|
| "content/animated_content_sampler_unittest.cc",
|
| @@ -163,11 +174,13 @@ test("capture_unittests") {
|
| "content/smooth_event_sampler_unittest.cc",
|
| "content/video_capture_oracle_unittest.cc",
|
| "video/fake_video_capture_device_unittest.cc",
|
| + "video/linux/camera_facing_chromeos_unittest.cc",
|
| "video/mac/video_capture_device_factory_mac_unittest.mm",
|
| "video/video_capture_device_unittest.cc",
|
| ]
|
|
|
| deps = [
|
| + ":camera_config",
|
| ":capture",
|
| "//base/test:run_all_unittests",
|
| "//base/test:test_support",
|
| @@ -178,6 +191,10 @@ test("capture_unittests") {
|
| "//ui/gfx:test_support",
|
| ]
|
|
|
| + data = [
|
| + "//media/capture/video/linux/fake_camera_characteristics.conf",
|
| + ]
|
| +
|
| if (is_android) {
|
| deps += [
|
| "//media/capture/video/android",
|
|
|