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 | |
42 config("rtc_base_chromium_config") { | 38 config("rtc_base_chromium_config") { |
43 defines = [ "NO_MAIN_THREAD_WRAPPING" ] | 39 defines = [ "NO_MAIN_THREAD_WRAPPING" ] |
44 } | 40 } |
45 | 41 |
46 config("openssl_config") { | |
47 defines = [ | |
48 "SSL_USE_OPENSSL", | |
49 "HAVE_OPENSSL_SSL_H", | |
50 ] | |
51 } | |
52 | |
53 config("rtc_base_all_dependent_config") { | 42 config("rtc_base_all_dependent_config") { |
54 if (is_ios) { | 43 if (is_ios) { |
55 libs = [ | 44 libs = [ |
56 "CFNetwork.framework", | 45 "CFNetwork.framework", |
57 | 46 |
58 #"Foundation.framework", # Already in //build/config:default_libs. | 47 #"Foundation.framework", # Already in //build/config:default_libs. |
59 "Security.framework", | 48 "Security.framework", |
60 "SystemConfiguration.framework", | 49 "SystemConfiguration.framework", |
61 "UIKit.framework", | 50 "UIKit.framework", |
62 ] | 51 ] |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 cflags = [] | 352 cflags = [] |
364 cflags_cc = [] | 353 cflags_cc = [] |
365 libs = [] | 354 libs = [] |
366 defines = [] | 355 defines = [] |
367 deps = [ | 356 deps = [ |
368 "..:webrtc_common", | 357 "..:webrtc_common", |
369 ] | 358 ] |
370 public_deps = [ | 359 public_deps = [ |
371 ":rtc_base_approved", | 360 ":rtc_base_approved", |
372 ] | 361 ] |
373 | 362 public_configs = [] |
374 configs += [ | |
375 ":openssl_config", | |
376 ":rtc_base_config", | |
377 ] | |
378 | |
379 public_configs = [ | |
380 ":openssl_config", | |
381 ":rtc_base_config", | |
382 ] | |
383 | 363 |
384 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 364 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
385 | 365 |
386 sources = [ | 366 sources = [ |
387 "applefilesystem.mm", | 367 "applefilesystem.mm", |
388 "asyncinvoker-inl.h", | 368 "asyncinvoker-inl.h", |
389 "asyncinvoker.cc", | 369 "asyncinvoker.cc", |
390 "asyncinvoker.h", | 370 "asyncinvoker.h", |
391 "asyncpacketsocket.cc", | 371 "asyncpacketsocket.cc", |
392 "asyncpacketsocket.h", | 372 "asyncpacketsocket.h", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 "json.h", | 510 "json.h", |
531 "logsinks.cc", | 511 "logsinks.cc", |
532 "logsinks.h", | 512 "logsinks.h", |
533 "mathutils.h", | 513 "mathutils.h", |
534 "optionsfile.cc", | 514 "optionsfile.cc", |
535 "optionsfile.h", | 515 "optionsfile.h", |
536 "proxyserver.cc", | 516 "proxyserver.cc", |
537 "proxyserver.h", | 517 "proxyserver.h", |
538 "rollingaccumulator.h", | 518 "rollingaccumulator.h", |
539 "scopedptrcollection.h", | 519 "scopedptrcollection.h", |
540 "sslconfig.h", | |
541 "sslroots.h", | 520 "sslroots.h", |
542 "testbase64.h", | 521 "testbase64.h", |
543 "testclient.cc", | 522 "testclient.cc", |
544 "testclient.h", | 523 "testclient.h", |
545 "transformadapter.cc", | 524 "transformadapter.cc", |
546 "transformadapter.h", | 525 "transformadapter.h", |
547 "virtualsocketserver.cc", | 526 "virtualsocketserver.cc", |
548 "virtualsocketserver.h", | 527 "virtualsocketserver.h", |
549 "window.h", | 528 "window.h", |
550 ] | 529 ] |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 | 917 |
939 if (is_android) { | 918 if (is_android) { |
940 android_library("base_java") { | 919 android_library("base_java") { |
941 java_files = [ | 920 java_files = [ |
942 "java/src/org/webrtc/Logging.java", | 921 "java/src/org/webrtc/Logging.java", |
943 "java/src/org/webrtc/Size.java", | 922 "java/src/org/webrtc/Size.java", |
944 "java/src/org/webrtc/ThreadUtils.java", | 923 "java/src/org/webrtc/ThreadUtils.java", |
945 ] | 924 ] |
946 } | 925 } |
947 } | 926 } |
OLD | NEW |