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 13 matching lines...) Expand all Loading... | |
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/v4l2_capture_delegate.cc", | 33 "video/linux/v4l2_capture_delegate.cc", |
34 "video/linux/v4l2_capture_delegate.h", | |
34 "video/linux/video_capture_device_chromeos.cc", | 35 "video/linux/video_capture_device_chromeos.cc", |
35 "video/linux/video_capture_device_chromeos.h", | 36 "video/linux/video_capture_device_chromeos.h", |
36 "video/linux/video_capture_device_factory_linux.cc", | 37 "video/linux/video_capture_device_factory_linux.cc", |
37 "video/linux/video_capture_device_factory_linux.h", | 38 "video/linux/video_capture_device_factory_linux.h", |
38 "video/linux/video_capture_device_linux.cc", | 39 "video/linux/video_capture_device_linux.cc", |
39 "video/linux/video_capture_device_linux.h", | 40 "video/linux/video_capture_device_linux.h", |
40 "video/mac/video_capture_device_avfoundation_mac.h", | 41 "video/mac/video_capture_device_avfoundation_mac.h", |
41 "video/mac/video_capture_device_avfoundation_mac.mm", | 42 "video/mac/video_capture_device_avfoundation_mac.mm", |
42 "video/mac/video_capture_device_decklink_mac.h", | 43 "video/mac/video_capture_device_decklink_mac.h", |
43 "video/mac/video_capture_device_decklink_mac.mm", | 44 "video/mac/video_capture_device_decklink_mac.mm", |
(...skipping 27 matching lines...) Expand all Loading... | |
71 "video/win/video_capture_device_win.h", | 72 "video/win/video_capture_device_win.h", |
72 ] | 73 ] |
73 | 74 |
74 public_deps = [] | 75 public_deps = [] |
75 deps = [ | 76 deps = [ |
76 "//base", | 77 "//base", |
77 "//base:i18n", | 78 "//base:i18n", |
78 "//media", | 79 "//media", |
79 "//media/mojo/interfaces:image_capture", | 80 "//media/mojo/interfaces:image_capture", |
80 "//skia", | 81 "//skia", |
82 "//third_party/libyuv", | |
mcasas
2016/09/16 03:50:36
Since this dependency is only necessary for
Linux/
xianglu
2016/09/16 18:22:33
Done.
| |
81 "//ui/display", | 83 "//ui/display", |
82 "//ui/gfx", | 84 "//ui/gfx", |
83 ] | 85 ] |
84 | 86 |
85 configs += [ | 87 configs += [ |
86 # TODO(mcasas): media/base should be a component and not a source_set, but | 88 # TODO(mcasas): media/base should be a component and not a source_set, but |
87 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we | 89 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we |
88 # pretend to be inside media.dll and duplicate the few symbols needed, see | 90 # pretend to be inside media.dll and duplicate the few symbols needed, see |
89 # https://crbug.com/590017. | 91 # https://crbug.com/590017. |
90 "//media:media_implementation", | 92 "//media:media_implementation", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
160 "//media/capture/video/android", | 162 "//media/capture/video/android", |
161 "//media/capture/video/android:capture_java", | 163 "//media/capture/video/android:capture_java", |
162 ] | 164 ] |
163 } | 165 } |
164 | 166 |
165 if (is_win) { | 167 if (is_win) { |
166 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 168 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
167 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 169 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
168 } | 170 } |
169 } | 171 } |
OLD | NEW |