| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 "video_capture_types.h", | 84 "video_capture_types.h", |
| 85 "video_capturer_source.cc", | 85 "video_capturer_source.cc", |
| 86 "video_capturer_source.h", | 86 "video_capturer_source.h", |
| 87 ] | 87 ] |
| 88 | 88 |
| 89 public_deps = [] | 89 public_deps = [] |
| 90 deps = [ | 90 deps = [ |
| 91 "//base", | 91 "//base", |
| 92 "//base:i18n", | 92 "//base:i18n", |
| 93 "//media", | 93 "//media", |
| 94 "//media/capture/mojo:image_capture", | 94 "//media/mojo/interfaces:image_capture", |
| 95 "//skia", | 95 "//skia", |
| 96 "//third_party/libyuv", | 96 "//third_party/libyuv", |
| 97 "//ui/display", | 97 "//ui/display", |
| 98 "//ui/gfx", | 98 "//ui/gfx", |
| 99 ] | 99 ] |
| 100 | 100 |
| 101 configs += [ | 101 configs += [ |
| 102 # TODO(mcasas): media/base should be a component and not a source_set, but | 102 # TODO(mcasas): media/base should be a component and not a source_set, but |
| 103 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we | 103 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we |
| 104 # pretend to be inside media.dll and duplicate the few symbols needed, see | 104 # pretend to be inside media.dll and duplicate the few symbols needed, see |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 "video/fake_video_capture_device_unittest.cc", | 165 "video/fake_video_capture_device_unittest.cc", |
| 166 "video/mac/video_capture_device_factory_mac_unittest.mm", | 166 "video/mac/video_capture_device_factory_mac_unittest.mm", |
| 167 "video/video_capture_device_unittest.cc", | 167 "video/video_capture_device_unittest.cc", |
| 168 ] | 168 ] |
| 169 | 169 |
| 170 deps = [ | 170 deps = [ |
| 171 ":capture", | 171 ":capture", |
| 172 "//base/test:run_all_unittests", | 172 "//base/test:run_all_unittests", |
| 173 "//base/test:test_support", | 173 "//base/test:test_support", |
| 174 "//media/base:test_support", | 174 "//media/base:test_support", |
| 175 "//media/capture/mojo:image_capture", | 175 "//media/mojo/interfaces:image_capture", |
| 176 "//testing/gmock", | 176 "//testing/gmock", |
| 177 "//testing/gtest", | 177 "//testing/gtest", |
| 178 "//ui/gfx:test_support", | 178 "//ui/gfx:test_support", |
| 179 ] | 179 ] |
| 180 | 180 |
| 181 if (is_android) { | 181 if (is_android) { |
| 182 deps += [ | 182 deps += [ |
| 183 "//media/capture/video/android", | 183 "//media/capture/video/android", |
| 184 "//media/capture/video/android:capture_java", | 184 "//media/capture/video/android:capture_java", |
| 185 ] | 185 ] |
| 186 } | 186 } |
| 187 | 187 |
| 188 if (is_win) { | 188 if (is_win) { |
| 189 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 189 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 190 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 190 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 191 } | 191 } |
| 192 } | 192 } |
| OLD | NEW |