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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
79 "-Wno-ignored-qualifiers", | 79 "-Wno-ignored-qualifiers", |
80 "-Wno-microsoft-extra-qualification", | 80 "-Wno-microsoft-extra-qualification", |
81 "-Wno-missing-braces", | 81 "-Wno-missing-braces", |
82 "-Wno-overloaded-virtual", | 82 "-Wno-overloaded-virtual", |
83 "-Wno-reorder", | 83 "-Wno-reorder", |
84 "-Wno-writable-strings", | 84 "-Wno-writable-strings", |
85 ] | 85 ] |
86 } | 86 } |
87 } | 87 } |
88 | 88 |
89 if (is_ios || is_mac) { | |
90 rtc_static_library("objc_video_capture_internal_impl") { | |
kjellander_webrtc
2017/08/14 07:00:39
video_capture_internal_impl_objc
mbonadei
2017/08/15 14:01:06
Done + added private visibility.
| |
91 configs += [ ":video_capture_internal_impl_warnings_config" ] | |
92 | |
93 deps = [ | |
94 ":video_capture_module", | |
95 "../../rtc_base:rtc_base_approved", | |
96 "../../system_wrappers", | |
97 ] | |
98 | |
99 sources = [ | |
100 "objc/device_info.h", | |
101 "objc/device_info.mm", | |
102 "objc/device_info_objc.h", | |
103 "objc/device_info_objc.mm", | |
104 "objc/rtc_video_capture_objc.h", | |
105 "objc/rtc_video_capture_objc.mm", | |
106 "objc/video_capture.h", | |
107 "objc/video_capture.mm", | |
108 ] | |
109 | |
110 all_dependent_configs = [ ":video_capture_internal_impl_config" ] | |
111 | |
112 if (!build_with_chromium && is_clang) { | |
113 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . | |
114 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
115 } | |
116 } | |
117 } | |
118 | |
89 rtc_static_library("video_capture_internal_impl") { | 119 rtc_static_library("video_capture_internal_impl") { |
90 configs += [ ":video_capture_internal_impl_warnings_config" ] | 120 configs += [ ":video_capture_internal_impl_warnings_config" ] |
91 | 121 |
92 deps = [ | 122 deps = [ |
93 ":video_capture_module", | 123 ":video_capture_module", |
94 "../../rtc_base:rtc_base_approved", | 124 "../../rtc_base:rtc_base_approved", |
95 "../../system_wrappers", | 125 "../../system_wrappers", |
96 ] | 126 ] |
97 | 127 |
98 if (is_linux) { | 128 if (is_linux) { |
(...skipping 21 matching lines...) Expand all Loading... | |
120 "windows/video_capture_mf.cc", | 150 "windows/video_capture_mf.cc", |
121 "windows/video_capture_mf.h", | 151 "windows/video_capture_mf.h", |
122 ] | 152 ] |
123 | 153 |
124 libs = [ "Strmiids.lib" ] | 154 libs = [ "Strmiids.lib" ] |
125 | 155 |
126 deps += [ "//third_party/winsdk_samples" ] | 156 deps += [ "//third_party/winsdk_samples" ] |
127 } | 157 } |
128 if (is_ios || is_mac) { | 158 if (is_ios || is_mac) { |
129 sources = [ | 159 sources = [ |
130 "objc/device_info.h", | 160 "objc/noop.cc", |
131 "objc/device_info.mm", | |
132 "objc/device_info_objc.h", | |
133 "objc/device_info_objc.mm", | |
134 "objc/rtc_video_capture_objc.h", | |
135 "objc/rtc_video_capture_objc.mm", | |
136 "objc/video_capture.h", | |
137 "objc/video_capture.mm", | |
138 ] | 161 ] |
162 deps += [ ":objc_video_capture_internal_impl" ] | |
139 } | 163 } |
140 | 164 |
141 all_dependent_configs = [ ":video_capture_internal_impl_config" ] | 165 all_dependent_configs = [ ":video_capture_internal_impl_config" ] |
142 | 166 |
143 if (!build_with_chromium && is_clang) { | 167 if (!build_with_chromium && is_clang) { |
144 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 168 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
145 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 169 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
146 } | 170 } |
147 } | 171 } |
148 | 172 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 ] | 209 ] |
186 deps += [ "../../test:test_main" ] | 210 deps += [ "../../test:test_main" ] |
187 | 211 |
188 if (!build_with_chromium && is_clang) { | 212 if (!build_with_chromium && is_clang) { |
189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . | 213 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . |
190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 214 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
191 } | 215 } |
192 } | 216 } |
193 } | 217 } |
194 } | 218 } |
OLD | NEW |