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

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

Issue 2837273004: media: add video capture device for ARC++ camera HAL v3 (Closed)
Patch Set: set CL dependency Created 3 years, 6 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 group("capture") { 9 group("capture") {
10 public_deps = [ 10 public_deps = [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "content/capture_resolution_chooser.cc", 42 "content/capture_resolution_chooser.cc",
43 "content/capture_resolution_chooser.h", 43 "content/capture_resolution_chooser.h",
44 "content/screen_capture_device_core.cc", 44 "content/screen_capture_device_core.cc",
45 "content/screen_capture_device_core.h", 45 "content/screen_capture_device_core.h",
46 "content/smooth_event_sampler.cc", 46 "content/smooth_event_sampler.cc",
47 "content/smooth_event_sampler.h", 47 "content/smooth_event_sampler.h",
48 "content/thread_safe_capture_oracle.cc", 48 "content/thread_safe_capture_oracle.cc",
49 "content/thread_safe_capture_oracle.h", 49 "content/thread_safe_capture_oracle.h",
50 "content/video_capture_oracle.cc", 50 "content/video_capture_oracle.cc",
51 "content/video_capture_oracle.h", 51 "content/video_capture_oracle.h",
52 "video/chromeos/camera_device_context.cc",
Pawel Osciak 2017/06/13 08:40:15 Could any of these also be under if (is_chromeos)?
jcliang 2017/06/14 04:46:04 Done.
53 "video/chromeos/camera_device_delegate.cc",
54 "video/chromeos/camera_hal_delegate.cc",
55 "video/chromeos/camera_metadata_utils.cc",
56 "video/chromeos/display_rotation_observer.cc",
57 "video/chromeos/pixel_format_utils.cc",
58 "video/chromeos/stream_buffer_manager.cc",
59 "video/chromeos/video_capture_device_arc_chromeos.cc",
60 "video/chromeos/video_capture_device_factory_chromeos.cc",
52 "video/fake_video_capture_device.cc", 61 "video/fake_video_capture_device.cc",
53 "video/fake_video_capture_device.h", 62 "video/fake_video_capture_device.h",
54 "video/fake_video_capture_device_factory.cc", 63 "video/fake_video_capture_device_factory.cc",
55 "video/fake_video_capture_device_factory.h", 64 "video/fake_video_capture_device_factory.h",
56 "video/file_video_capture_device.cc", 65 "video/file_video_capture_device.cc",
57 "video/file_video_capture_device.h", 66 "video/file_video_capture_device.h",
58 "video/file_video_capture_device_factory.cc", 67 "video/file_video_capture_device_factory.cc",
59 "video/file_video_capture_device_factory.h", 68 "video/file_video_capture_device_factory.h",
60 "video/linux/camera_config_chromeos.cc", 69 "video/linux/camera_config_chromeos.cc",
61 "video/linux/camera_config_chromeos.h", 70 "video/linux/camera_config_chromeos.h",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 188 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
180 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 189 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
181 } 190 }
182 191
183 if (is_linux || is_chromeos || is_win) { 192 if (is_linux || is_chromeos || is_win) {
184 sources += [ 193 sources += [
185 "video/blob_utils.cc", 194 "video/blob_utils.cc",
186 "video/blob_utils.h", 195 "video/blob_utils.h",
187 ] 196 ]
188 } 197 }
198
199 if (is_chromeos) {
200 deps += [
201 "//media/capture/video/chromeos/mojo:arc_camera3",
202 "//mojo/edk/system",
203 "//third_party/libsync",
204 ]
205 }
189 } 206 }
190 207
191 test("capture_unittests") { 208 test("capture_unittests") {
192 sources = [ 209 sources = [
193 "content/animated_content_sampler_unittest.cc", 210 "content/animated_content_sampler_unittest.cc",
194 "content/capture_resolution_chooser_unittest.cc", 211 "content/capture_resolution_chooser_unittest.cc",
195 "content/smooth_event_sampler_unittest.cc", 212 "content/smooth_event_sampler_unittest.cc",
196 "content/video_capture_oracle_unittest.cc", 213 "content/video_capture_oracle_unittest.cc",
197 "video/fake_video_capture_device_unittest.cc", 214 "video/fake_video_capture_device_unittest.cc",
198 "video/linux/camera_config_chromeos_unittest.cc", 215 "video/linux/camera_config_chromeos_unittest.cc",
(...skipping 19 matching lines...) Expand all
218 deps += [ 235 deps += [
219 "//media/capture/video/android", 236 "//media/capture/video/android",
220 "//media/capture/video/android:capture_java", 237 "//media/capture/video/android:capture_java",
221 ] 238 ]
222 } 239 }
223 240
224 if (is_win) { 241 if (is_win) {
225 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 242 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
226 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 243 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
227 } 244 }
245
246 if (is_chromeos) {
247 sources += [
248 "video/chromeos/camera_device_delegate_unittest.cc",
249 "video/chromeos/camera_hal_delegate_unittest.cc",
250 "video/chromeos/mock_camera_module.cc",
251 "video/chromeos/mock_video_capture_client.cc",
252 "video/chromeos/stream_buffer_manager_unittest.cc",
253 ]
254 deps += [
255 "//media/capture/video/chromeos/mojo:arc_camera3",
256 "//mojo/edk/system",
257 "//third_party/libsync",
258 ]
259 }
228 } 260 }
OLDNEW
« no previous file with comments | « no previous file | media/capture/video/DEPS » ('j') | media/capture/video/chromeos/camera_device_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698