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