OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
11 # Note this target is missing an implementation for the video capture. | 11 # Note this target is missing an implementation for the video capture. |
12 # Targets must link with either 'video_capture' or | 12 # Targets must link with either 'video_capture' or |
13 # 'video_capture_internal_impl' depending on whether they want to | 13 # 'video_capture_internal_impl' depending on whether they want to |
14 # use the internal capturer. | 14 # use the internal capturer. |
15 rtc_static_library("video_capture_module") { | 15 rtc_static_library("video_capture_module") { |
16 sources = [ | 16 sources = [ |
17 "device_info_impl.cc", | 17 "device_info_impl.cc", |
18 "device_info_impl.h", | 18 "device_info_impl.h", |
19 "video_capture.h", | 19 "video_capture.h", |
20 "video_capture_config.h", | 20 "video_capture_config.h", |
21 "video_capture_defines.h", | 21 "video_capture_defines.h", |
22 "video_capture_factory.cc", | 22 "video_capture_factory.cc", |
23 "video_capture_factory.h", | 23 "video_capture_factory.h", |
24 "video_capture_impl.cc", | 24 "video_capture_impl.cc", |
25 "video_capture_impl.h", | 25 "video_capture_impl.h", |
26 ] | 26 ] |
27 | 27 |
28 deps = [ | 28 deps = [ |
| 29 "..:module_api", |
29 "../..:webrtc_common", | 30 "../..:webrtc_common", |
30 "../../base:rtc_base_approved", | 31 "../../base:rtc_base_approved", |
31 "../../common_video", | 32 "../../common_video", |
32 "../../system_wrappers", | 33 "../../system_wrappers", |
33 ] | 34 ] |
34 | 35 |
35 if (!build_with_chromium && is_clang) { | 36 if (!build_with_chromium && is_clang) { |
36 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 37 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
37 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 38 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
38 } | 39 } |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ] | 194 ] |
194 deps += [ "//webrtc/test:test_main" ] | 195 deps += [ "//webrtc/test:test_main" ] |
195 | 196 |
196 if (!build_with_chromium && is_clang) { | 197 if (!build_with_chromium && is_clang) { |
197 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 198 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
198 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 199 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
199 } | 200 } |
200 } | 201 } |
201 } | 202 } |
202 } | 203 } |
OLD | NEW |