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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
374 configs += [ | |
375 ":openssl_config", | |
376 ":rtc_base_config", | |
377 ] | |
378 | |
379 public_configs = [ | |
380 ":openssl_config", | |
381 ":rtc_base_config", | |
382 ] | |
383 | |
384 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 363 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
385 | 364 |
386 sources = [ | 365 sources = [ |
387 "applefilesystem.mm", | 366 "applefilesystem.mm", |
388 "asyncinvoker-inl.h", | 367 "asyncinvoker-inl.h", |
389 "asyncinvoker.cc", | 368 "asyncinvoker.cc", |
390 "asyncinvoker.h", | 369 "asyncinvoker.h", |
391 "asyncpacketsocket.cc", | 370 "asyncpacketsocket.cc", |
392 "asyncpacketsocket.h", | 371 "asyncpacketsocket.h", |
393 "asyncresolverinterface.cc", | 372 "asyncresolverinterface.cc", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 "json.h", | 510 "json.h", |
532 "logsinks.cc", | 511 "logsinks.cc", |
533 "logsinks.h", | 512 "logsinks.h", |
534 "mathutils.h", | 513 "mathutils.h", |
535 "optionsfile.cc", | 514 "optionsfile.cc", |
536 "optionsfile.h", | 515 "optionsfile.h", |
537 "proxyserver.cc", | 516 "proxyserver.cc", |
538 "proxyserver.h", | 517 "proxyserver.h", |
539 "rollingaccumulator.h", | 518 "rollingaccumulator.h", |
540 "scopedptrcollection.h", | 519 "scopedptrcollection.h", |
541 "sslconfig.h", | |
542 "sslroots.h", | 520 "sslroots.h", |
543 "testbase64.h", | 521 "testbase64.h", |
544 "testclient.cc", | 522 "testclient.cc", |
545 "testclient.h", | 523 "testclient.h", |
546 "transformadapter.cc", | 524 "transformadapter.cc", |
547 "transformadapter.h", | 525 "transformadapter.h", |
548 "virtualsocketserver.cc", | 526 "virtualsocketserver.cc", |
549 "virtualsocketserver.h", | 527 "virtualsocketserver.h", |
550 "window.h", | 528 "window.h", |
551 ] | 529 ] |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 "java/src/org/webrtc/Logging.java", | 928 "java/src/org/webrtc/Logging.java", |
951 "java/src/org/webrtc/Size.java", | 929 "java/src/org/webrtc/Size.java", |
952 "java/src/org/webrtc/ThreadUtils.java", | 930 "java/src/org/webrtc/ThreadUtils.java", |
953 ] | 931 ] |
954 | 932 |
955 deps = [ | 933 deps = [ |
956 "//base:base_java", | 934 "//base:base_java", |
957 ] | 935 ] |
958 } | 936 } |
959 } | 937 } |
OLD | NEW |