| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//services/shell/public/cpp/service.gni") | 5 import("//services/shell/public/cpp/service.gni") |
| 6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/shell/public/service_manifest.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 service("video_capture") { | 9 service("video_capture") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 ] | 26 ] |
| 27 } | 27 } |
| 28 | 28 |
| 29 service_manifest("manifest") { | 29 service_manifest("manifest") { |
| 30 name = "video_capture" | 30 name = "video_capture" |
| 31 source = "service_manifest.json" | 31 source = "service_manifest.json" |
| 32 } | 32 } |
| 33 | 33 |
| 34 source_set("lib") { | 34 source_set("lib") { |
| 35 sources = [ | 35 sources = [ |
| 36 "buffer_tracker_factory_impl.cc", |
| 37 "buffer_tracker_factory_impl.h", |
| 36 "device_client_media_to_mojo_adapter.cc", | 38 "device_client_media_to_mojo_adapter.cc", |
| 37 "device_client_media_to_mojo_adapter.h", | 39 "device_client_media_to_mojo_adapter.h", |
| 38 "device_client_mojo_to_media_adapter.cc", | |
| 39 "device_client_mojo_to_media_adapter.h", | |
| 40 "device_mock_to_media_adapter.cc", | 40 "device_mock_to_media_adapter.cc", |
| 41 "device_mock_to_media_adapter.h", | 41 "device_mock_to_media_adapter.h", |
| 42 "mojo_media_conversions.cc", | 42 "mojo_media_conversions.cc", |
| 43 "mojo_media_conversions.h", | 43 "mojo_media_conversions.h", |
| 44 "mojo_shared_memory_buffer_handle.cc", |
| 45 "mojo_shared_memory_buffer_handle.h", |
| 46 "mojo_shared_memory_buffer_tracker.cc", |
| 47 "mojo_shared_memory_buffer_tracker.h", |
| 48 "receiver_mojo_to_media_adapter.cc", |
| 49 "receiver_mojo_to_media_adapter.h", |
| 44 "video_capture_device_factory_impl.cc", | 50 "video_capture_device_factory_impl.cc", |
| 45 "video_capture_device_factory_impl.h", | 51 "video_capture_device_factory_impl.h", |
| 46 "video_capture_device_proxy_impl.cc", | 52 "video_capture_device_proxy_impl.cc", |
| 47 "video_capture_device_proxy_impl.h", | 53 "video_capture_device_proxy_impl.h", |
| 48 ] | 54 ] |
| 49 | 55 |
| 50 deps = [ | 56 deps = [ |
| 51 "//base", | 57 "//base", |
| 58 "//media", |
| 52 "//media/capture:capture", | 59 "//media/capture:capture", |
| 53 "//media/mojo/common:common", | 60 "//media/mojo/common:common", |
| 54 "//media/mojo/interfaces:image_capture", | 61 "//media/mojo/interfaces:image_capture", |
| 55 "//mojo/common:common_base", | 62 "//mojo/common:common_base", |
| 56 "//services/shell/public/cpp", | 63 "//services/shell/public/cpp", |
| 57 "//services/video_capture/public/interfaces", | 64 "//services/video_capture/public/interfaces", |
| 58 ] | 65 ] |
| 59 } | 66 } |
| 60 | 67 |
| 61 test("video_capture_unittests") { | 68 test("video_capture_unittests") { |
| 62 sources = [ | 69 sources = [ |
| 63 "fake_device_descriptor_test.cc", | 70 "fake_device_descriptor_test.cc", |
| 64 "fake_device_descriptor_test.h", | 71 "fake_device_descriptor_test.h", |
| 65 "fake_device_descriptor_unittest.cc", | 72 "fake_device_descriptor_unittest.cc", |
| 66 "fake_device_test.cc", | 73 "fake_device_test.cc", |
| 67 "fake_device_test.h", | 74 "fake_device_test.h", |
| 68 "fake_device_unittest.cc", | 75 "fake_device_unittest.cc", |
| 69 "mock_device_descriptor_receiver.cc", | 76 "mock_device_descriptor_receiver.cc", |
| 70 "mock_device_descriptor_receiver.h", | 77 "mock_device_descriptor_receiver.h", |
| 71 "mock_device_video_capture_service_test.cc", | 78 "mock_device_video_capture_service_test.cc", |
| 72 "mock_device_video_capture_service_test.h", | 79 "mock_device_video_capture_service_test.h", |
| 73 "mock_device_video_capture_service_unittest.cc", | 80 "mock_device_video_capture_service_unittest.cc", |
| 74 "mock_video_capture_device_client.cc", | |
| 75 "mock_video_capture_device_client.h", | |
| 76 "mock_video_capture_device_impl.cc", | 81 "mock_video_capture_device_impl.cc", |
| 77 "mock_video_capture_device_impl.h", | 82 "mock_video_capture_device_impl.h", |
| 83 "mock_video_frame_receiver.cc", |
| 84 "mock_video_frame_receiver.h", |
| 78 "video_capture_service_test.cc", | 85 "video_capture_service_test.cc", |
| 79 "video_capture_service_test.h", | 86 "video_capture_service_test.h", |
| 80 "video_capture_service_unittest.cc", | 87 "video_capture_service_unittest.cc", |
| 81 ] | 88 ] |
| 82 | 89 |
| 83 deps = [ | 90 deps = [ |
| 84 ":video_capture", | 91 ":video_capture", |
| 85 "//base", | 92 "//base", |
| 86 "//base/test:test_support", | 93 "//base/test:test_support", |
| 87 "//media/mojo/common:common", | 94 "//media/mojo/common:common", |
| 88 "//services/shell/public/cpp", | 95 "//services/shell/public/cpp", |
| 89 "//services/shell/public/cpp:service_test_support", | 96 "//services/shell/public/cpp:service_test_support", |
| 90 "//services/shell/public/cpp/test:run_all_shelltests", | 97 "//services/shell/public/cpp/test:run_all_shelltests", |
| 91 "//services/video_capture/public/interfaces", | 98 "//services/video_capture/public/interfaces", |
| 92 "//testing/gmock", | 99 "//testing/gmock", |
| 93 "//testing/gtest", | 100 "//testing/gtest", |
| 94 "//ui/gfx:test_support", | 101 "//ui/gfx:test_support", |
| 95 ] | 102 ] |
| 96 | 103 |
| 97 data_deps = [ | 104 data_deps = [ |
| 98 ":unittest_manifest", | 105 ":unittest_manifest", |
| 99 ] | 106 ] |
| 100 } | 107 } |
| 101 | 108 |
| 102 service_manifest("unittest_manifest") { | 109 service_manifest("unittest_manifest") { |
| 103 name = "video_capture_unittests" | 110 name = "video_capture_unittests" |
| 104 source = "service_unittest_manifest.json" | 111 source = "service_unittest_manifest.json" |
| 105 } | 112 } |
| OLD | NEW |