| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//testing/test.gni") |
| 6 |
| 7 source_set("lib") { |
| 8 visibility = [ ":video_capture_unittests" ] |
| 9 |
| 10 sources = [ |
| 11 "mojo_video_frame.cc", |
| 12 "mojo_video_frame.h", |
| 13 "stream_impl.cc", |
| 14 "stream_impl.h", |
| 15 "video_capture_device_client_impl.cc", |
| 16 "video_capture_device_client_impl.h", |
| 17 "video_capture_handler_impl.cc", |
| 18 "video_capture_handler_impl.h", |
| 19 ] |
| 20 |
| 21 deps = [ |
| 22 "public/interfaces", |
| 23 "//base", |
| 24 "//media", |
| 25 "//mojo/converters/geometry", |
| 26 "//mojo/platform_handle:platform_handle_impl", |
| 27 "//third_party/libyuv", |
| 28 "//ui/gfx/geometry", |
| 29 ] |
| 30 } |
| 31 |
| 32 test("video_capture_unittests") { |
| 33 testonly = true |
| 34 |
| 35 sources = [ |
| 36 "mock_stream_client.cc", |
| 37 "mock_stream_client.h", |
| 38 "run_all_unittests.cc", |
| 39 "stream_impl_unittest.cc", |
| 40 "video_capture_device_client_impl_unittest.cc", |
| 41 "video_capture_handler_impl_unittest.cc", |
| 42 "video_capture_unittest.cc", |
| 43 ] |
| 44 |
| 45 deps = [ |
| 46 ":lib", |
| 47 "public/cpp", |
| 48 "//base/test:test_support", |
| 49 "//mojo/edk/test:test_support", |
| 50 "//mojo/edk/test:test_support_impl", |
| 51 "//testing/gmock", |
| 52 "//testing/gtest", |
| 53 ] |
| 54 } |
| OLD | NEW |