Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: media/capture/BUILD.gn

Issue 1699553002: Mojo Video Capture service in media/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: emircan@ comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 source_set("capture") { 9 source_set("capture") {
10 sources = [ 10 sources = [
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 deps = [ 151 deps = [
152 "//media/base:unittests", 152 "//media/base:unittests",
153 "//testing/gmock", 153 "//testing/gmock",
154 "//testing/gtest", 154 "//testing/gtest",
155 ] 155 ]
156 156
157 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. 157 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors.
158 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 158 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
159 } 159 }
160
161 # Mojo service, captures video using the previous |capture| set.
162 source_set("service") {
163 sources = [
164 "service/mojo_video_frame.cc",
165 "service/mojo_video_frame.h",
166 "service/stream_impl.cc",
167 "service/stream_impl.h",
168 "service/video_capture_device_client_impl.cc",
169 "service/video_capture_device_client_impl.h",
170 "service/video_capture_handler_impl.cc",
171 "service/video_capture_handler_impl.h",
172 ]
173
174 deps = [
175 ":capture",
176 "//base",
177 "//media/base:base",
178 "//media/capture/interfaces",
179 "//mojo/converters/geometry",
180 "//mojo/platform_handle:platform_handle_impl",
181 "//third_party/libyuv",
182 "//ui/gfx/geometry",
183 ]
184 }
185
186 test("capture_service_unittests") {
187 sources = [
188 "service/mock_stream_client.cc",
189 "service/mock_stream_client.h",
190 "service/stream_impl_unittest.cc",
191 "service/video_capture_device_client_impl_unittest.cc",
192 "service/video_capture_handler_impl_unittest.cc",
193 "service/video_capture_unittest.cc",
194 ]
195
196 deps = [
197 ":capture",
198 ":service",
199 "//gpu:test_support",
200 "//media",
201 "//mojo/edk/test:run_all_unittests",
202 "//mojo/edk/test:test_support",
203 "//mojo/edk/test:test_support_impl",
204 "//testing/gmock",
205 "//testing/gtest",
206 "//ui/gfx:test_support",
207 "//url",
208 ]
209 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698