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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 "-fno-builtin-cos", | 166 "-fno-builtin-cos", |
167 "-fno-builtin-sin", | 167 "-fno-builtin-sin", |
168 "-fno-builtin-cosf", | 168 "-fno-builtin-cosf", |
169 "-fno-builtin-sinf", | 169 "-fno-builtin-sinf", |
170 ] | 170 ] |
171 } | 171 } |
172 } | 172 } |
173 | 173 |
174 source_set("webrtc") { | 174 source_set("webrtc") { |
175 sources = [ | 175 sources = [ |
176 "audio_receive_stream.h", | |
177 "audio_send_stream.h", | |
178 "audio_state.h", | |
179 "call.h", | 176 "call.h", |
180 "common.h", | 177 "config.h", |
181 "transport.h", | 178 "transport.h", |
182 "video_receive_stream.h", | |
183 "video_send_stream.h", | |
184 ] | 179 ] |
185 | 180 |
186 defines = [] | 181 defines = [] |
187 configs += [ ":common_config" ] | 182 configs += [ ":common_config" ] |
188 public_configs = [ ":common_inherited_config" ] | 183 public_configs = [ ":common_inherited_config" ] |
189 | 184 |
190 deps = [ | 185 deps = [ |
191 ":webrtc_common", | 186 ":webrtc_common", |
192 "audio", | 187 "audio", |
193 "base:rtc_base", | 188 "base:rtc_base", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 229 |
235 source_set("webrtc_common") { | 230 source_set("webrtc_common") { |
236 sources = [ | 231 sources = [ |
237 "audio_sink.h", | 232 "audio_sink.h", |
238 "common_types.cc", | 233 "common_types.cc", |
239 "common_types.h", | 234 "common_types.h", |
240 "config.cc", | 235 "config.cc", |
241 "config.h", | 236 "config.h", |
242 "engine_configurations.h", | 237 "engine_configurations.h", |
243 "typedefs.h", | 238 "typedefs.h", |
244 "video_frame.h", | |
245 ] | 239 ] |
246 | 240 |
247 configs += [ ":common_config" ] | 241 configs += [ ":common_config" ] |
248 public_configs = [ ":common_inherited_config" ] | 242 public_configs = [ ":common_inherited_config" ] |
249 | 243 |
250 if (is_clang && !is_nacl) { | 244 if (is_clang && !is_nacl) { |
251 # Suppress warnings from Chrome's Clang plugins. | 245 # Suppress warnings from Chrome's Clang plugins. |
252 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 246 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
253 configs -= [ "//build/config/clang:find_bad_constructs" ] | 247 configs -= [ "//build/config/clang:find_bad_constructs" ] |
254 } | 248 } |
(...skipping 15 matching lines...) Expand all Loading... |
270 "call/rtc_event_log_helper_thread.cc", | 264 "call/rtc_event_log_helper_thread.cc", |
271 "call/rtc_event_log_helper_thread.h", | 265 "call/rtc_event_log_helper_thread.h", |
272 ] | 266 ] |
273 | 267 |
274 defines = [] | 268 defines = [] |
275 configs += [ ":common_config" ] | 269 configs += [ ":common_config" ] |
276 public_configs = [ ":common_inherited_config" ] | 270 public_configs = [ ":common_inherited_config" ] |
277 | 271 |
278 deps = [ | 272 deps = [ |
279 ":webrtc_common", | 273 ":webrtc_common", |
280 "base:rtc_base_approved", | |
281 ] | 274 ] |
282 | 275 |
283 if (rtc_enable_protobuf) { | 276 if (rtc_enable_protobuf) { |
284 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 277 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
285 deps += [ ":rtc_event_log_proto" ] | 278 deps += [ ":rtc_event_log_proto" ] |
286 } | 279 } |
287 if (is_clang && !is_nacl) { | 280 if (is_clang && !is_nacl) { |
288 # Suppress warnings from Chrome's Clang plugins. | 281 # Suppress warnings from Chrome's Clang plugins. |
289 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 282 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
290 configs -= [ "//build/config/clang:find_bad_constructs" ] | 283 configs -= [ "//build/config/clang:find_bad_constructs" ] |
291 } | 284 } |
292 } | 285 } |
293 | 286 |
294 if (rtc_enable_protobuf) { | 287 if (rtc_enable_protobuf) { |
295 source_set("rtc_event_log_parser") { | 288 source_set("rtc_event_log_parser") { |
296 sources = [ | 289 sources = [ |
297 "call/rtc_event_log_parser.cc", | 290 "call/rtc_event_log_parser.cc", |
298 "call/rtc_event_log_parser.h", | 291 "call/rtc_event_log_parser.h", |
299 ] | 292 ] |
300 | 293 |
301 configs += [ ":common_config" ] | 294 configs += [ ":common_config" ] |
302 public_configs = [ ":common_inherited_config" ] | 295 public_configs = [ ":common_inherited_config" ] |
303 | 296 |
304 deps = [ | 297 deps = [ |
305 ":rtc_event_log_proto", | 298 ":rtc_event_log_proto", |
306 ":webrtc_common", | 299 ":webrtc_common", |
307 "base:rtc_base_approved", | |
308 ] | 300 ] |
309 | 301 |
310 if (is_clang && !is_nacl) { | 302 if (is_clang && !is_nacl) { |
311 # Suppress warnings from Chrome's Clang plugins. | 303 # Suppress warnings from Chrome's Clang plugins. |
312 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 304 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
313 configs -= [ "//build/config/clang:find_bad_constructs" ] | 305 configs -= [ "//build/config/clang:find_bad_constructs" ] |
314 } | 306 } |
315 } | 307 } |
316 } | 308 } |
317 | 309 |
318 if (use_libfuzzer || use_drfuzz) { | 310 if (use_libfuzzer || use_drfuzz) { |
319 # This target is only here for gn to discover fuzzer build targets under | 311 # This target is only here for gn to discover fuzzer build targets under |
320 # webrtc/test/fuzzers/. | 312 # webrtc/test/fuzzers/. |
321 group("webrtc_fuzzers_dummy") { | 313 group("webrtc_fuzzers_dummy") { |
322 testonly = true | 314 testonly = true |
323 deps = [ | 315 deps = [ |
324 "test/fuzzers:webrtc_fuzzer_main", | 316 "test/fuzzers:webrtc_fuzzer_main", |
325 ] | 317 ] |
326 } | 318 } |
327 } | 319 } |
OLD | NEW |