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