| 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("../../build/webrtc.gni") | 9 import("../../build/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_source_set("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_delay.h", | 22 "video_capture_delay.h", |
| 23 "video_capture_factory.cc", | 23 "video_capture_factory.cc", |
| 24 "video_capture_factory.h", | 24 "video_capture_factory.h", |
| 25 "video_capture_impl.cc", | 25 "video_capture_impl.cc", |
| 26 "video_capture_impl.h", | 26 "video_capture_impl.h", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 deps = [ | 29 deps = [ |
| 30 "../..:webrtc_common", | 30 "../..:webrtc_common", |
| 31 "../../common_video", | 31 "../../common_video", |
| 32 "../../system_wrappers", | 32 "../../system_wrappers", |
| 33 "../utility", | 33 "../utility", |
| 34 ] | 34 ] |
| 35 | 35 |
| 36 if (is_clang) { | 36 if (is_clang) { |
| 37 # Suppress warnings from Chrome's Clang plugins. | 37 # Suppress warnings from Chrome's Clang plugins. |
| 38 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 38 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 39 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 39 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 rtc_source_set("video_capture") { | 43 rtc_static_library("video_capture") { |
| 44 sources = [ | 44 sources = [ |
| 45 "external/device_info_external.cc", | 45 "external/device_info_external.cc", |
| 46 "external/video_capture_external.cc", | 46 "external/video_capture_external.cc", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 ":video_capture_module", | 50 ":video_capture_module", |
| 51 "../../system_wrappers", | 51 "../../system_wrappers", |
| 52 ] | 52 ] |
| 53 | 53 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 80 "-Wno-ignored-qualifiers", | 80 "-Wno-ignored-qualifiers", |
| 81 "-Wno-microsoft-extra-qualification", | 81 "-Wno-microsoft-extra-qualification", |
| 82 "-Wno-missing-braces", | 82 "-Wno-missing-braces", |
| 83 "-Wno-overloaded-virtual", | 83 "-Wno-overloaded-virtual", |
| 84 "-Wno-reorder", | 84 "-Wno-reorder", |
| 85 "-Wno-writable-strings", | 85 "-Wno-writable-strings", |
| 86 ] | 86 ] |
| 87 } | 87 } |
| 88 } | 88 } |
| 89 | 89 |
| 90 rtc_source_set("video_capture_internal_impl") { | 90 rtc_static_library("video_capture_internal_impl") { |
| 91 configs += [ ":video_capture_internal_impl_warnings_config" ] | 91 configs += [ ":video_capture_internal_impl_warnings_config" ] |
| 92 | 92 |
| 93 deps = [ | 93 deps = [ |
| 94 ":video_capture_module", | 94 ":video_capture_module", |
| 95 "../../system_wrappers", | 95 "../../system_wrappers", |
| 96 ] | 96 ] |
| 97 | 97 |
| 98 if (is_linux) { | 98 if (is_linux) { |
| 99 sources = [ | 99 sources = [ |
| 100 "linux/device_info_linux.cc", | 100 "linux/device_info_linux.cc", |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 } | 222 } |
| 223 | 223 |
| 224 if (is_clang) { | 224 if (is_clang) { |
| 225 # Suppress warnings from Chrome's Clang plugins. | 225 # Suppress warnings from Chrome's Clang plugins. |
| 226 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 226 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 228 } | 228 } |
| 229 } | 229 } |
| 230 } | 230 } |
| 231 } | 231 } |
| OLD | NEW |