| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 } | 165 } |
| 166 | 166 |
| 167 test("capture_unittests") { | 167 test("capture_unittests") { |
| 168 sources = [ | 168 sources = [ |
| 169 "content/animated_content_sampler_unittest.cc", | 169 "content/animated_content_sampler_unittest.cc", |
| 170 "content/capture_resolution_chooser_unittest.cc", | 170 "content/capture_resolution_chooser_unittest.cc", |
| 171 "content/smooth_event_sampler_unittest.cc", | 171 "content/smooth_event_sampler_unittest.cc", |
| 172 "content/video_capture_oracle_unittest.cc", | 172 "content/video_capture_oracle_unittest.cc", |
| 173 "video/fake_video_capture_device_unittest.cc", | 173 "video/fake_video_capture_device_unittest.cc", |
| 174 "video/linux/camera_facing_chromeos_unittest.cc", | 174 "video/linux/camera_facing_chromeos_unittest.cc", |
| 175 "video/linux/v4l2_capture_delegate_unittest.cc", |
| 175 "video/mac/video_capture_device_factory_mac_unittest.mm", | 176 "video/mac/video_capture_device_factory_mac_unittest.mm", |
| 176 "video/video_capture_device_unittest.cc", | 177 "video/video_capture_device_unittest.cc", |
| 177 ] | 178 ] |
| 178 | 179 |
| 179 deps = [ | 180 deps = [ |
| 180 ":capture", | 181 ":capture", |
| 181 "//base/test:run_all_unittests", | 182 "//base/test:run_all_unittests", |
| 182 "//base/test:test_support", | 183 "//base/test:test_support", |
| 183 "//media/base:test_support", | 184 "//media/base:test_support", |
| 184 "//media/capture/mojo:image_capture", | 185 "//media/capture/mojo:image_capture", |
| 185 "//testing/gmock", | 186 "//testing/gmock", |
| 186 "//testing/gtest", | 187 "//testing/gtest", |
| 187 "//ui/gfx:test_support", | 188 "//ui/gfx:test_support", |
| 188 ] | 189 ] |
| 189 | 190 |
| 190 if (is_android) { | 191 if (is_android) { |
| 191 deps += [ | 192 deps += [ |
| 192 "//media/capture/video/android", | 193 "//media/capture/video/android", |
| 193 "//media/capture/video/android:capture_java", | 194 "//media/capture/video/android:capture_java", |
| 194 ] | 195 ] |
| 195 } | 196 } |
| 196 | 197 |
| 197 if (is_win) { | 198 if (is_win) { |
| 198 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 199 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 199 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 200 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 200 } | 201 } |
| 201 } | 202 } |
| OLD | NEW |