| 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/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 public_deps += [ ":base_java" ] | 28 public_deps += [ ":base_java" ] |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 | 31 |
| 32 config("rtc_base_approved_all_dependent_config") { | 32 config("rtc_base_approved_all_dependent_config") { |
| 33 if (is_mac && !build_with_chromium) { | 33 if (is_mac && !build_with_chromium) { |
| 34 libs = [ "Foundation.framework" ] # needed for logging_mac.mm | 34 libs = [ "Foundation.framework" ] # needed for logging_mac.mm |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 | 37 |
| 38 config("rtc_base_config") { |
| 39 defines = [ "FEATURE_ENABLE_SSL" ] |
| 40 } |
| 41 |
| 38 config("rtc_base_chromium_config") { | 42 config("rtc_base_chromium_config") { |
| 39 defines = [ "NO_MAIN_THREAD_WRAPPING" ] | 43 defines = [ "NO_MAIN_THREAD_WRAPPING" ] |
| 40 } | 44 } |
| 41 | 45 |
| 46 config("openssl_config") { |
| 47 defines = [ |
| 48 "SSL_USE_OPENSSL", |
| 49 "HAVE_OPENSSL_SSL_H", |
| 50 ] |
| 51 } |
| 52 |
| 42 config("rtc_base_all_dependent_config") { | 53 config("rtc_base_all_dependent_config") { |
| 43 if (is_ios) { | 54 if (is_ios) { |
| 44 libs = [ | 55 libs = [ |
| 45 "CFNetwork.framework", | 56 "CFNetwork.framework", |
| 46 | 57 |
| 47 #"Foundation.framework", # Already in //build/config:default_libs. | 58 #"Foundation.framework", # Already in //build/config:default_libs. |
| 48 "Security.framework", | 59 "Security.framework", |
| 49 "SystemConfiguration.framework", | 60 "SystemConfiguration.framework", |
| 50 "UIKit.framework", | 61 "UIKit.framework", |
| 51 ] | 62 ] |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 cflags_cc = [] | 364 cflags_cc = [] |
| 354 libs = [] | 365 libs = [] |
| 355 defines = [] | 366 defines = [] |
| 356 deps = [ | 367 deps = [ |
| 357 "..:webrtc_common", | 368 "..:webrtc_common", |
| 358 ] | 369 ] |
| 359 public_deps = [ | 370 public_deps = [ |
| 360 ":rtc_base_approved", | 371 ":rtc_base_approved", |
| 361 ] | 372 ] |
| 362 | 373 |
| 374 configs += [ |
| 375 ":openssl_config", |
| 376 ":rtc_base_config", |
| 377 ] |
| 378 |
| 379 public_configs = [ |
| 380 ":openssl_config", |
| 381 ":rtc_base_config", |
| 382 ] |
| 383 |
| 363 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 384 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
| 364 | 385 |
| 365 sources = [ | 386 sources = [ |
| 366 "applefilesystem.mm", | 387 "applefilesystem.mm", |
| 367 "asyncinvoker-inl.h", | 388 "asyncinvoker-inl.h", |
| 368 "asyncinvoker.cc", | 389 "asyncinvoker.cc", |
| 369 "asyncinvoker.h", | 390 "asyncinvoker.h", |
| 370 "asyncpacketsocket.cc", | 391 "asyncpacketsocket.cc", |
| 371 "asyncpacketsocket.h", | 392 "asyncpacketsocket.h", |
| 372 "asyncresolverinterface.cc", | 393 "asyncresolverinterface.cc", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 "json.h", | 530 "json.h", |
| 510 "logsinks.cc", | 531 "logsinks.cc", |
| 511 "logsinks.h", | 532 "logsinks.h", |
| 512 "mathutils.h", | 533 "mathutils.h", |
| 513 "optionsfile.cc", | 534 "optionsfile.cc", |
| 514 "optionsfile.h", | 535 "optionsfile.h", |
| 515 "proxyserver.cc", | 536 "proxyserver.cc", |
| 516 "proxyserver.h", | 537 "proxyserver.h", |
| 517 "rollingaccumulator.h", | 538 "rollingaccumulator.h", |
| 518 "scopedptrcollection.h", | 539 "scopedptrcollection.h", |
| 540 "sslconfig.h", |
| 519 "sslroots.h", | 541 "sslroots.h", |
| 520 "testbase64.h", | 542 "testbase64.h", |
| 521 "testclient.cc", | 543 "testclient.cc", |
| 522 "testclient.h", | 544 "testclient.h", |
| 523 "transformadapter.cc", | 545 "transformadapter.cc", |
| 524 "transformadapter.h", | 546 "transformadapter.h", |
| 525 "virtualsocketserver.cc", | 547 "virtualsocketserver.cc", |
| 526 "virtualsocketserver.h", | 548 "virtualsocketserver.h", |
| 527 "window.h", | 549 "window.h", |
| 528 ] | 550 ] |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 | 944 |
| 923 if (is_android) { | 945 if (is_android) { |
| 924 android_library("base_java") { | 946 android_library("base_java") { |
| 925 java_files = [ | 947 java_files = [ |
| 926 "java/src/org/webrtc/Logging.java", | 948 "java/src/org/webrtc/Logging.java", |
| 927 "java/src/org/webrtc/Size.java", | 949 "java/src/org/webrtc/Size.java", |
| 928 "java/src/org/webrtc/ThreadUtils.java", | 950 "java/src/org/webrtc/ThreadUtils.java", |
| 929 ] | 951 ] |
| 930 } | 952 } |
| 931 } | 953 } |
| OLD | NEW |