| 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 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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 "../../base:rtc_base_approved", |
| 31 "../../common_video", | 32 "../../common_video", |
| 32 "../../system_wrappers", | 33 "../../system_wrappers", |
| 33 "../utility", | 34 "../utility", |
| 34 ] | 35 ] |
| 35 | 36 |
| 36 if (!build_with_chromium && is_clang) { | 37 if (!build_with_chromium && is_clang) { |
| 37 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 38 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 38 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 39 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 39 } | 40 } |
| 40 } | 41 } |
| 41 | 42 |
| 42 rtc_static_library("video_capture") { | 43 rtc_static_library("video_capture") { |
| 43 sources = [ | 44 sources = [ |
| 44 "external/device_info_external.cc", | 45 "external/device_info_external.cc", |
| 45 "external/video_capture_external.cc", | 46 "external/video_capture_external.cc", |
| 46 ] | 47 ] |
| 47 | 48 |
| 48 deps = [ | 49 deps = [ |
| 49 ":video_capture_module", | 50 ":video_capture_module", |
| 51 "../../base:rtc_base_approved", |
| 50 "../../system_wrappers", | 52 "../../system_wrappers", |
| 51 ] | 53 ] |
| 52 | 54 |
| 53 if (!build_with_chromium && is_clang) { | 55 if (!build_with_chromium && is_clang) { |
| 54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 56 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 57 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 56 } | 58 } |
| 57 } | 59 } |
| 58 | 60 |
| 59 if (!build_with_chromium) { | 61 if (!build_with_chromium) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 83 "-Wno-writable-strings", | 85 "-Wno-writable-strings", |
| 84 ] | 86 ] |
| 85 } | 87 } |
| 86 } | 88 } |
| 87 | 89 |
| 88 rtc_static_library("video_capture_internal_impl") { | 90 rtc_static_library("video_capture_internal_impl") { |
| 89 configs += [ ":video_capture_internal_impl_warnings_config" ] | 91 configs += [ ":video_capture_internal_impl_warnings_config" ] |
| 90 | 92 |
| 91 deps = [ | 93 deps = [ |
| 92 ":video_capture_module", | 94 ":video_capture_module", |
| 95 "../../base:rtc_base_approved", |
| 93 "../../system_wrappers", | 96 "../../system_wrappers", |
| 94 ] | 97 ] |
| 95 | 98 |
| 96 if (is_linux) { | 99 if (is_linux) { |
| 97 sources = [ | 100 sources = [ |
| 98 "linux/device_info_linux.cc", | 101 "linux/device_info_linux.cc", |
| 99 "linux/device_info_linux.h", | 102 "linux/device_info_linux.h", |
| 100 "linux/video_capture_linux.cc", | 103 "linux/video_capture_linux.cc", |
| 101 "linux/video_capture_linux.h", | 104 "linux/video_capture_linux.h", |
| 102 ] | 105 ] |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 ldflags += [ | 178 ldflags += [ |
| 176 "-lrt", | 179 "-lrt", |
| 177 "-lXext", | 180 "-lXext", |
| 178 "-lX11", | 181 "-lX11", |
| 179 ] | 182 ] |
| 180 } | 183 } |
| 181 | 184 |
| 182 deps = [ | 185 deps = [ |
| 183 ":video_capture_internal_impl", | 186 ":video_capture_internal_impl", |
| 184 ":video_capture_module", | 187 ":video_capture_module", |
| 188 "../../base:rtc_base_approved", |
| 189 "../../common_video:common_video", |
| 190 "../../system_wrappers:system_wrappers", |
| 185 "../../system_wrappers:system_wrappers_default", | 191 "../../system_wrappers:system_wrappers_default", |
| 186 "../../test:video_test_common", | 192 "../../test:video_test_common", |
| 187 "../utility", | 193 "../utility", |
| 188 "//testing/gtest", | 194 "//testing/gtest", |
| 189 ] | 195 ] |
| 190 deps += [ "//webrtc/test:test_main" ] | 196 deps += [ "//webrtc/test:test_main" ] |
| 191 | 197 |
| 192 if (!build_with_chromium && is_clang) { | 198 if (!build_with_chromium && is_clang) { |
| 193 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 199 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 194 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 200 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 195 } | 201 } |
| 196 } | 202 } |
| 197 } | 203 } |
| 198 } | 204 } |
| OLD | NEW |