| 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 component("capture") { | 9 component("capture") { |
| 10 defines = [ "CAPTURE_IMPLEMENTATION" ] | 10 defines = [ "CAPTURE_IMPLEMENTATION" ] |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "content/video_capture_oracle.cc", | 23 "content/video_capture_oracle.cc", |
| 24 "content/video_capture_oracle.h", | 24 "content/video_capture_oracle.h", |
| 25 "video/fake_video_capture_device.cc", | 25 "video/fake_video_capture_device.cc", |
| 26 "video/fake_video_capture_device.h", | 26 "video/fake_video_capture_device.h", |
| 27 "video/fake_video_capture_device_factory.cc", | 27 "video/fake_video_capture_device_factory.cc", |
| 28 "video/fake_video_capture_device_factory.h", | 28 "video/fake_video_capture_device_factory.h", |
| 29 "video/file_video_capture_device.cc", | 29 "video/file_video_capture_device.cc", |
| 30 "video/file_video_capture_device.h", | 30 "video/file_video_capture_device.h", |
| 31 "video/file_video_capture_device_factory.cc", | 31 "video/file_video_capture_device_factory.cc", |
| 32 "video/file_video_capture_device_factory.h", | 32 "video/file_video_capture_device_factory.h", |
| 33 "video/linux/camera_facing_chromeos.cc", |
| 34 "video/linux/camera_facing_chromeos.h", |
| 33 "video/linux/v4l2_capture_delegate.cc", | 35 "video/linux/v4l2_capture_delegate.cc", |
| 34 "video/linux/v4l2_capture_delegate.h", | 36 "video/linux/v4l2_capture_delegate.h", |
| 35 "video/linux/video_capture_device_chromeos.cc", | 37 "video/linux/video_capture_device_chromeos.cc", |
| 36 "video/linux/video_capture_device_chromeos.h", | 38 "video/linux/video_capture_device_chromeos.h", |
| 37 "video/linux/video_capture_device_factory_linux.cc", | 39 "video/linux/video_capture_device_factory_linux.cc", |
| 38 "video/linux/video_capture_device_factory_linux.h", | 40 "video/linux/video_capture_device_factory_linux.h", |
| 39 "video/linux/video_capture_device_linux.cc", | 41 "video/linux/video_capture_device_linux.cc", |
| 40 "video/linux/video_capture_device_linux.h", | 42 "video/linux/video_capture_device_linux.h", |
| 41 "video/mac/video_capture_device_avfoundation_mac.h", | 43 "video/mac/video_capture_device_avfoundation_mac.h", |
| 42 "video/mac/video_capture_device_avfoundation_mac.mm", | 44 "video/mac/video_capture_device_avfoundation_mac.mm", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 158 } |
| 157 } | 159 } |
| 158 | 160 |
| 159 test("capture_unittests") { | 161 test("capture_unittests") { |
| 160 sources = [ | 162 sources = [ |
| 161 "content/animated_content_sampler_unittest.cc", | 163 "content/animated_content_sampler_unittest.cc", |
| 162 "content/capture_resolution_chooser_unittest.cc", | 164 "content/capture_resolution_chooser_unittest.cc", |
| 163 "content/smooth_event_sampler_unittest.cc", | 165 "content/smooth_event_sampler_unittest.cc", |
| 164 "content/video_capture_oracle_unittest.cc", | 166 "content/video_capture_oracle_unittest.cc", |
| 165 "video/fake_video_capture_device_unittest.cc", | 167 "video/fake_video_capture_device_unittest.cc", |
| 168 "video/linux/camera_facing_chromeos_unittest.cc", |
| 166 "video/mac/video_capture_device_factory_mac_unittest.mm", | 169 "video/mac/video_capture_device_factory_mac_unittest.mm", |
| 167 "video/video_capture_device_unittest.cc", | 170 "video/video_capture_device_unittest.cc", |
| 168 ] | 171 ] |
| 169 | 172 |
| 170 deps = [ | 173 deps = [ |
| 171 ":capture", | 174 ":capture", |
| 172 "//base/test:run_all_unittests", | 175 "//base/test:run_all_unittests", |
| 173 "//base/test:test_support", | 176 "//base/test:test_support", |
| 174 "//media/base:test_support", | 177 "//media/base:test_support", |
| 175 "//media/mojo/interfaces:image_capture", | 178 "//media/mojo/interfaces:image_capture", |
| 176 "//testing/gmock", | 179 "//testing/gmock", |
| 177 "//testing/gtest", | 180 "//testing/gtest", |
| 178 "//ui/gfx:test_support", | 181 "//ui/gfx:test_support", |
| 179 ] | 182 ] |
| 180 | 183 |
| 181 if (is_android) { | 184 if (is_android) { |
| 182 deps += [ | 185 deps += [ |
| 183 "//media/capture/video/android", | 186 "//media/capture/video/android", |
| 184 "//media/capture/video/android:capture_java", | 187 "//media/capture/video/android:capture_java", |
| 185 ] | 188 ] |
| 186 } | 189 } |
| 187 | 190 |
| 188 if (is_win) { | 191 if (is_win) { |
| 189 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 192 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 190 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 193 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 191 } | 194 } |
| 192 } | 195 } |
| OLD | NEW |