| Index: components/video_capture/BUILD.gn
|
| diff --git a/components/video_capture/BUILD.gn b/components/video_capture/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..31cc64704f655b1de3a3fa1ce4274a5c3c966c41
|
| --- /dev/null
|
| +++ b/components/video_capture/BUILD.gn
|
| @@ -0,0 +1,54 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//testing/test.gni")
|
| +
|
| +source_set("lib") {
|
| + visibility = [ ":video_capture_unittests" ]
|
| +
|
| + sources = [
|
| + "mojo_video_frame.cc",
|
| + "mojo_video_frame.h",
|
| + "stream_impl.cc",
|
| + "stream_impl.h",
|
| + "video_capture_device_client_impl.cc",
|
| + "video_capture_device_client_impl.h",
|
| + "video_capture_handler_impl.cc",
|
| + "video_capture_handler_impl.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "public/interfaces",
|
| + "//base",
|
| + "//media",
|
| + "//mojo/converters/geometry",
|
| + "//mojo/platform_handle:platform_handle_impl",
|
| + "//third_party/libyuv",
|
| + "//ui/gfx/geometry",
|
| + ]
|
| +}
|
| +
|
| +test("video_capture_unittests") {
|
| + testonly = true
|
| +
|
| + sources = [
|
| + "mock_stream_client.cc",
|
| + "mock_stream_client.h",
|
| + "run_all_unittests.cc",
|
| + "stream_impl_unittest.cc",
|
| + "video_capture_device_client_impl_unittest.cc",
|
| + "video_capture_handler_impl_unittest.cc",
|
| + "video_capture_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":lib",
|
| + "public/cpp",
|
| + "//base/test:test_support",
|
| + "//mojo/edk/test:test_support",
|
| + "//mojo/edk/test:test_support_impl",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|