| 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("//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 Loading... |
| 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_delegate.cc", |
| 53 "video/chromeos/camera_hal_delegate.cc", |
| 54 "video/chromeos/camera_metadata_utils.cc", |
| 55 "video/chromeos/video_capture_device_arc_chromeos.cc", |
| 56 "video/chromeos/video_capture_device_factory_chromeos.cc", |
| 52 "video/fake_video_capture_device.cc", | 57 "video/fake_video_capture_device.cc", |
| 53 "video/fake_video_capture_device.h", | 58 "video/fake_video_capture_device.h", |
| 54 "video/fake_video_capture_device_factory.cc", | 59 "video/fake_video_capture_device_factory.cc", |
| 55 "video/fake_video_capture_device_factory.h", | 60 "video/fake_video_capture_device_factory.h", |
| 56 "video/file_video_capture_device.cc", | 61 "video/file_video_capture_device.cc", |
| 57 "video/file_video_capture_device.h", | 62 "video/file_video_capture_device.h", |
| 58 "video/file_video_capture_device_factory.cc", | 63 "video/file_video_capture_device_factory.cc", |
| 59 "video/file_video_capture_device_factory.h", | 64 "video/file_video_capture_device_factory.h", |
| 60 "video/linux/camera_config_chromeos.cc", | 65 "video/linux/camera_config_chromeos.cc", |
| 61 "video/linux/camera_config_chromeos.h", | 66 "video/linux/camera_config_chromeos.h", |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 182 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 178 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 183 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 179 } | 184 } |
| 180 | 185 |
| 181 if (is_linux || is_chromeos || is_win) { | 186 if (is_linux || is_chromeos || is_win) { |
| 182 sources += [ | 187 sources += [ |
| 183 "video/blob_utils.cc", | 188 "video/blob_utils.cc", |
| 184 "video/blob_utils.h", | 189 "video/blob_utils.h", |
| 185 ] | 190 ] |
| 186 } | 191 } |
| 192 |
| 193 if (is_chromeos) { |
| 194 deps += [ |
| 195 "//media/capture/video/chromeos/mojo:arc_camera3", |
| 196 "//mojo/edk/system", |
| 197 "//third_party/libsync", |
| 198 ] |
| 199 } |
| 187 } | 200 } |
| 188 | 201 |
| 189 test("capture_unittests") { | 202 test("capture_unittests") { |
| 190 sources = [ | 203 sources = [ |
| 191 "content/animated_content_sampler_unittest.cc", | 204 "content/animated_content_sampler_unittest.cc", |
| 192 "content/capture_resolution_chooser_unittest.cc", | 205 "content/capture_resolution_chooser_unittest.cc", |
| 193 "content/smooth_event_sampler_unittest.cc", | 206 "content/smooth_event_sampler_unittest.cc", |
| 194 "content/video_capture_oracle_unittest.cc", | 207 "content/video_capture_oracle_unittest.cc", |
| 195 "video/fake_video_capture_device_unittest.cc", | 208 "video/fake_video_capture_device_unittest.cc", |
| 196 "video/linux/camera_config_chromeos_unittest.cc", | 209 "video/linux/camera_config_chromeos_unittest.cc", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 217 "//media/capture/video/android", | 230 "//media/capture/video/android", |
| 218 "//media/capture/video/android:capture_java", | 231 "//media/capture/video/android:capture_java", |
| 219 ] | 232 ] |
| 220 } | 233 } |
| 221 | 234 |
| 222 if (is_win) { | 235 if (is_win) { |
| 223 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 236 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 224 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 237 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 225 } | 238 } |
| 226 } | 239 } |
| OLD | NEW |