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 15 matching lines...) Loading... |
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 configs += [ "../..:common_config" ] | |
37 public_configs = [ "../..:common_inherited_config" ] | 36 public_configs = [ "../..:common_inherited_config" ] |
38 | 37 |
39 if (is_clang) { | 38 if (is_clang) { |
40 # Suppress warnings from Chrome's Clang plugins. | 39 # Suppress warnings from Chrome's Clang plugins. |
41 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 40 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
42 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 41 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
43 } | 42 } |
44 } | 43 } |
45 | 44 |
46 rtc_source_set("video_capture") { | 45 rtc_source_set("video_capture") { |
47 sources = [ | 46 sources = [ |
48 "external/device_info_external.cc", | 47 "external/device_info_external.cc", |
49 "external/video_capture_external.cc", | 48 "external/video_capture_external.cc", |
50 ] | 49 ] |
51 | 50 |
52 deps = [ | 51 deps = [ |
53 ":video_capture_module", | 52 ":video_capture_module", |
54 "../../system_wrappers", | 53 "../../system_wrappers", |
55 ] | 54 ] |
56 | 55 |
57 configs += [ "../..:common_config" ] | |
58 public_configs = [ "../..:common_inherited_config" ] | 56 public_configs = [ "../..:common_inherited_config" ] |
59 | 57 |
60 if (is_clang) { | 58 if (is_clang) { |
61 # Suppress warnings from Chrome's Clang plugins. | 59 # Suppress warnings from Chrome's Clang plugins. |
62 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 60 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
63 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 61 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
64 } | 62 } |
65 } | 63 } |
66 | 64 |
67 if (!build_with_chromium) { | 65 if (!build_with_chromium) { |
(...skipping 104 matching lines...) Loading... |
172 | 170 |
173 # To avoid warnings for deprecated videoMinFrameDuration and | 171 # To avoid warnings for deprecated videoMinFrameDuration and |
174 # videoMaxFrameDuration properties in iOS 7.0. | 172 # videoMaxFrameDuration properties in iOS 7.0. |
175 # See webrtc:3705 for more details. | 173 # See webrtc:3705 for more details. |
176 "-Wno-deprecated-declarations", | 174 "-Wno-deprecated-declarations", |
177 ] | 175 ] |
178 } | 176 } |
179 | 177 |
180 all_dependent_configs = [ ":video_capture_internal_impl_config" ] | 178 all_dependent_configs = [ ":video_capture_internal_impl_config" ] |
181 | 179 |
182 configs += [ "../..:common_config" ] | |
183 public_configs = [ "../..:common_inherited_config" ] | 180 public_configs = [ "../..:common_inherited_config" ] |
184 | 181 |
185 if (is_clang) { | 182 if (is_clang) { |
186 # Suppress warnings from Chrome's Clang plugins. | 183 # Suppress warnings from Chrome's Clang plugins. |
187 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 184 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
188 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 185 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
189 } | 186 } |
190 } | 187 } |
191 | 188 |
192 if (!is_android && rtc_include_tests) { | 189 if (!is_android && rtc_include_tests) { |
(...skipping 38 matching lines...) Loading... |
231 } | 228 } |
232 | 229 |
233 if (is_clang) { | 230 if (is_clang) { |
234 # Suppress warnings from Chrome's Clang plugins. | 231 # Suppress warnings from Chrome's Clang plugins. |
235 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 232 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
236 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 233 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
237 } | 234 } |
238 } | 235 } |
239 } | 236 } |
240 } | 237 } |
OLD | NEW |