| 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", | |
| 30 "../..:webrtc_common", | 29 "../..:webrtc_common", |
| 31 "../../base:rtc_base_approved", | 30 "../../base:rtc_base_approved", |
| 32 "../../common_video", | 31 "../../common_video", |
| 33 "../../system_wrappers", | 32 "../../system_wrappers", |
| 34 ] | 33 ] |
| 35 | 34 |
| 36 if (!build_with_chromium && is_clang) { | 35 if (!build_with_chromium && is_clang) { |
| 37 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 36 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 38 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 37 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 39 } | 38 } |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 ] | 193 ] |
| 195 deps += [ "//webrtc/test:test_main" ] | 194 deps += [ "//webrtc/test:test_main" ] |
| 196 | 195 |
| 197 if (!build_with_chromium && is_clang) { | 196 if (!build_with_chromium && is_clang) { |
| 198 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 197 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 199 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 198 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 200 } | 199 } |
| 201 } | 200 } |
| 202 } | 201 } |
| 203 } | 202 } |
| OLD | NEW |