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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 ] | 280 ] |
281 } | 281 } |
282 | 282 |
283 if (rtc_enable_protobuf) { | 283 if (rtc_enable_protobuf) { |
284 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 284 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
285 deps += [ ":rtc_event_log_proto" ] | 285 deps += [ ":rtc_event_log_proto" ] |
286 } | 286 } |
287 } | 287 } |
288 } | 288 } |
289 | 289 |
290 rtc_source_set("webrtc_common") { | 290 rtc_static_library("webrtc_common") { |
291 sources = [ | 291 sources = [ |
292 "common_types.cc", | 292 "common_types.cc", |
293 "common_types.h", | 293 "common_types.h", |
294 "config.cc", | 294 "config.cc", |
295 "config.h", | 295 "config.h", |
296 "engine_configurations.h", | 296 "engine_configurations.h", |
297 "typedefs.h", | 297 "typedefs.h", |
298 ] | 298 ] |
299 | 299 |
300 if (is_clang && !is_nacl) { | 300 if (is_clang && !is_nacl) { |
301 # Suppress warnings from Chrome's Clang plugins. | 301 # Suppress warnings from Chrome's Clang plugins. |
302 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 302 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
303 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 303 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
304 } | 304 } |
305 } | 305 } |
306 | 306 |
307 if (rtc_enable_protobuf) { | 307 if (rtc_enable_protobuf) { |
308 proto_library("rtc_event_log_proto") { | 308 proto_library("rtc_event_log_proto") { |
309 sources = [ | 309 sources = [ |
310 "call/rtc_event_log.proto", | 310 "call/rtc_event_log.proto", |
311 ] | 311 ] |
312 proto_out_dir = "webrtc/call" | 312 proto_out_dir = "webrtc/call" |
313 } | 313 } |
314 } | 314 } |
315 | 315 |
316 rtc_source_set("rtc_event_log") { | 316 rtc_static_library("rtc_event_log") { |
317 sources = [ | 317 sources = [ |
318 "call/rtc_event_log.cc", | 318 "call/rtc_event_log.cc", |
319 "call/rtc_event_log.h", | 319 "call/rtc_event_log.h", |
320 "call/rtc_event_log_helper_thread.cc", | 320 "call/rtc_event_log_helper_thread.cc", |
321 "call/rtc_event_log_helper_thread.h", | 321 "call/rtc_event_log_helper_thread.h", |
322 ] | 322 ] |
323 | 323 |
324 defines = [] | 324 defines = [] |
325 | 325 |
326 deps = [ | 326 deps = [ |
327 ":webrtc_common", | 327 ":webrtc_common", |
328 "modules/rtp_rtcp", | 328 "modules/rtp_rtcp", |
329 ] | 329 ] |
330 | 330 |
331 if (rtc_enable_protobuf) { | 331 if (rtc_enable_protobuf) { |
332 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 332 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
333 deps += [ ":rtc_event_log_proto" ] | 333 deps += [ ":rtc_event_log_proto" ] |
334 } | 334 } |
335 if (is_clang && !is_nacl) { | 335 if (is_clang && !is_nacl) { |
336 # Suppress warnings from Chrome's Clang plugins. | 336 # Suppress warnings from Chrome's Clang plugins. |
337 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 337 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
338 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 338 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
339 } | 339 } |
340 } | 340 } |
341 | 341 |
342 if (rtc_enable_protobuf) { | 342 if (rtc_enable_protobuf) { |
343 rtc_source_set("rtc_event_log_parser") { | 343 rtc_static_library("rtc_event_log_parser") { |
344 sources = [ | 344 sources = [ |
345 "call/rtc_event_log_parser.cc", | 345 "call/rtc_event_log_parser.cc", |
346 "call/rtc_event_log_parser.h", | 346 "call/rtc_event_log_parser.h", |
347 ] | 347 ] |
348 | 348 |
349 public_deps = [ | 349 public_deps = [ |
350 ":rtc_event_log_proto", | 350 ":rtc_event_log_proto", |
351 ":webrtc_common", | 351 ":webrtc_common", |
352 ] | 352 ] |
353 | 353 |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 ] | 845 ] |
846 | 846 |
847 deps = [ | 847 deps = [ |
848 "//webrtc/api:libjingle_peerconnection_java", | 848 "//webrtc/api:libjingle_peerconnection_java", |
849 "//webrtc/api:libjingle_peerconnection_jni", | 849 "//webrtc/api:libjingle_peerconnection_jni", |
850 "//webrtc/examples:AppRTCDemo_javalib", | 850 "//webrtc/examples:AppRTCDemo_javalib", |
851 ] | 851 ] |
852 } | 852 } |
853 } | 853 } |
854 } | 854 } |
OLD | NEW |