| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 if (is_android) { | 10 if (is_android) { |
| 11 import("//build/config/android/config.gni") | 11 import("//build/config/android/config.gni") |
| 12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
| 13 } | 13 } |
| 14 | 14 |
| 15 group("api") { | 15 group("api") { |
| 16 deps = [ | 16 deps = [ |
| 17 ":libjingle_peerconnection", | 17 ":libjingle_peerconnection", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 | 20 |
| 21 rtc_source_set("call_api") { | 21 rtc_source_set("call_api") { |
| 22 sources = [ | 22 sources = [ |
| 23 "call/audio_receive_stream.h", | 23 "call/audio_receive_stream.h", |
| 24 "call/audio_send_stream.h", | 24 "call/audio_send_stream.h", |
| 25 "call/audio_sink.h", | 25 "call/audio_sink.h", |
| 26 "call/audio_state.h", | 26 "call/audio_state.h", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 configs += [ "..:common_config" ] | |
| 30 public_configs = [ "..:common_inherited_config" ] | 29 public_configs = [ "..:common_inherited_config" ] |
| 31 | 30 |
| 32 deps = [ | 31 deps = [ |
| 33 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. | 32 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. |
| 34 "..:webrtc_common", | 33 "..:webrtc_common", |
| 35 "../base:rtc_base_approved", | 34 "../base:rtc_base_approved", |
| 36 "../modules/audio_coding:audio_encoder_interface", | 35 "../modules/audio_coding:audio_encoder_interface", |
| 37 ] | 36 ] |
| 38 } | 37 } |
| 39 | 38 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 "videotracksource.cc", | 111 "videotracksource.cc", |
| 113 "videotracksource.h", | 112 "videotracksource.h", |
| 114 "webrtcsdp.cc", | 113 "webrtcsdp.cc", |
| 115 "webrtcsdp.h", | 114 "webrtcsdp.h", |
| 116 "webrtcsession.cc", | 115 "webrtcsession.cc", |
| 117 "webrtcsession.h", | 116 "webrtcsession.h", |
| 118 "webrtcsessiondescriptionfactory.cc", | 117 "webrtcsessiondescriptionfactory.cc", |
| 119 "webrtcsessiondescriptionfactory.h", | 118 "webrtcsessiondescriptionfactory.h", |
| 120 ] | 119 ] |
| 121 | 120 |
| 122 configs += [ | 121 configs += [ ":libjingle_peerconnection_warnings_config" ] |
| 123 "..:common_config", | |
| 124 ":libjingle_peerconnection_warnings_config", | |
| 125 ] | |
| 126 public_configs = [ "..:common_inherited_config" ] | 122 public_configs = [ "..:common_inherited_config" ] |
| 127 | 123 |
| 128 if (is_clang) { | 124 if (is_clang) { |
| 129 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 125 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 130 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 126 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 131 } | 127 } |
| 132 | 128 |
| 133 deps = [ | 129 deps = [ |
| 134 ":call_api", | 130 ":call_api", |
| 135 "../call", | 131 "../call", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 "android/jni/jni_helpers.h", | 179 "android/jni/jni_helpers.h", |
| 184 "android/jni/native_handle_impl.cc", | 180 "android/jni/native_handle_impl.cc", |
| 185 "android/jni/native_handle_impl.h", | 181 "android/jni/native_handle_impl.h", |
| 186 "android/jni/peerconnection_jni.cc", | 182 "android/jni/peerconnection_jni.cc", |
| 187 "android/jni/surfacetexturehelper_jni.cc", | 183 "android/jni/surfacetexturehelper_jni.cc", |
| 188 "android/jni/surfacetexturehelper_jni.h", | 184 "android/jni/surfacetexturehelper_jni.h", |
| 189 "androidvideotracksource.cc", | 185 "androidvideotracksource.cc", |
| 190 "androidvideotracksource.h", | 186 "androidvideotracksource.h", |
| 191 ] | 187 ] |
| 192 | 188 |
| 193 configs += [ | 189 configs += [ ":libjingle_peerconnection_jni_warnings_config" ] |
| 194 "..:common_config", | |
| 195 ":libjingle_peerconnection_jni_warnings_config", | |
| 196 ] | |
| 197 public_configs = [ "..:common_inherited_config" ] | 190 public_configs = [ "..:common_inherited_config" ] |
| 198 | 191 |
| 199 if (is_clang) { | 192 if (is_clang) { |
| 200 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 193 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 201 suppressed_configs += [ | 194 suppressed_configs += [ |
| 202 "//build/config/clang:extra_warnings", | 195 "//build/config/clang:extra_warnings", |
| 203 "//build/config/clang:find_bad_constructs", | 196 "//build/config/clang:find_bad_constructs", |
| 204 ] | 197 ] |
| 205 } | 198 } |
| 206 | 199 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 "test/peerconnectiontestwrapper.h", | 358 "test/peerconnectiontestwrapper.h", |
| 366 "test/testsdpstrings.h", | 359 "test/testsdpstrings.h", |
| 367 "videocapturertracksource_unittest.cc", | 360 "videocapturertracksource_unittest.cc", |
| 368 "videotrack_unittest.cc", | 361 "videotrack_unittest.cc", |
| 369 "webrtcsdp_unittest.cc", | 362 "webrtcsdp_unittest.cc", |
| 370 "webrtcsession_unittest.cc", | 363 "webrtcsession_unittest.cc", |
| 371 ] | 364 ] |
| 372 | 365 |
| 373 defines = [ "HAVE_SCTP" ] | 366 defines = [ "HAVE_SCTP" ] |
| 374 | 367 |
| 375 configs += [ | 368 configs += [ ":peerconnection_unittests_config" ] |
| 376 "..:common_config", | |
| 377 ":peerconnection_unittests_config", | |
| 378 ] | |
| 379 public_configs = [ "..:common_inherited_config" ] | 369 public_configs = [ "..:common_inherited_config" ] |
| 380 | 370 |
| 381 if (is_clang) { | 371 if (is_clang) { |
| 382 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 372 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 383 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 373 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 384 } | 374 } |
| 385 | 375 |
| 386 # TODO(jschuh): Bug 1348: fix this warning. | 376 # TODO(jschuh): Bug 1348: fix this warning. |
| 387 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 377 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 388 | 378 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 | 451 |
| 462 shared_libraries = [ ":libjingle_peerconnection_so" ] | 452 shared_libraries = [ ":libjingle_peerconnection_so" ] |
| 463 } | 453 } |
| 464 | 454 |
| 465 android_resources("libjingle_peerconnection_android_unittest_resources") { | 455 android_resources("libjingle_peerconnection_android_unittest_resources") { |
| 466 resource_dirs = [ "androidtests/res" ] | 456 resource_dirs = [ "androidtests/res" ] |
| 467 custom_package = "org.webrtc" | 457 custom_package = "org.webrtc" |
| 468 } | 458 } |
| 469 } | 459 } |
| 470 } | 460 } |
| OLD | NEW |