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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 if (is_linux && !build_with_chromium) { | 74 if (is_linux && !build_with_chromium) { |
75 # Provides the same functionality as the //crypto:platform target, which | 75 # Provides the same functionality as the //crypto:platform target, which |
76 # WebRTC cannot use as we don't sync src/crypto from Chromium. | 76 # WebRTC cannot use as we don't sync src/crypto from Chromium. |
77 group("linux_system_ssl") { | 77 group("linux_system_ssl") { |
78 deps = [ | 78 deps = [ |
79 "//third_party/boringssl", | 79 "//third_party/boringssl", |
80 ] | 80 ] |
81 } | 81 } |
82 } | 82 } |
83 | 83 |
84 if (rtc_build_ssl == 0) { | 84 if (!rtc_build_ssl) { |
85 config("external_ssl_library") { | 85 config("external_ssl_library") { |
86 assert(rtc_ssl_root != "", | 86 assert(rtc_ssl_root != "", |
87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") | 87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") |
88 include_dirs = [ rtc_ssl_root ] | 88 include_dirs = [ rtc_ssl_root ] |
89 } | 89 } |
90 } | 90 } |
91 | 91 |
92 # The subset of rtc_base approved for use outside of libjingle. | 92 # The subset of rtc_base approved for use outside of libjingle. |
93 static_library("rtc_base_approved") { | 93 static_library("rtc_base_approved") { |
94 defines = [] | 94 defines = [] |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 "win32regkey.h", | 499 "win32regkey.h", |
500 "win32socketinit.cc", | 500 "win32socketinit.cc", |
501 "win32socketinit.h", | 501 "win32socketinit.h", |
502 "win32socketserver.cc", | 502 "win32socketserver.cc", |
503 "win32socketserver.h", | 503 "win32socketserver.h", |
504 ] | 504 ] |
505 } | 505 } |
506 if (rtc_build_json) { | 506 if (rtc_build_json) { |
507 deps += [ "//third_party/jsoncpp" ] | 507 deps += [ "//third_party/jsoncpp" ] |
508 } else { | 508 } else { |
509 include_dirs += [ rtc_jsoncpp_root ] | 509 include_dirs = [ "$rtc_jsoncpp_root" ] |
510 | 510 |
511 # When defined changes the include path for json.h to where it is | 511 # When defined changes the include path for json.h to where it is |
512 # expected to be when building json outside of the standalone build. | 512 # expected to be when building json outside of the standalone build. |
513 defines += [ "WEBRTC_EXTERNAL_JSON" ] | 513 defines += [ "WEBRTC_EXTERNAL_JSON" ] |
514 } | 514 } |
515 } # !build_with_chromium | 515 } # !build_with_chromium |
516 | 516 |
517 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default | 517 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default |
518 # compiler settings. | 518 # compiler settings. |
519 configs -= [ "//build/config/compiler:chromium_code" ] | 519 configs -= [ "//build/config/compiler:chromium_code" ] |
520 configs += [ "//build/config/compiler:no_chromium_code" ] | 520 configs += [ "//build/config/compiler:no_chromium_code" ] |
521 if (!is_win) { | 521 if (!is_win) { |
522 cflags += [ "-Wno-uninitialized" ] | 522 cflags += [ "-Wno-uninitialized" ] |
523 } | 523 } |
524 | 524 |
525 if (rtc_build_ssl) { | 525 if (rtc_build_ssl) { |
526 deps += [ "//third_party/boringssl" ] | 526 deps += [ "//third_party/boringssl" ] |
527 } else { | 527 } else { |
528 configs += [ "external_ssl_library" ] | 528 configs += [ ":external_ssl_library" ] |
529 } | 529 } |
530 | 530 |
531 if (is_android) { | 531 if (is_android) { |
532 sources += [ | 532 sources += [ |
533 "ifaddrs-android.cc", | 533 "ifaddrs-android.cc", |
534 "ifaddrs-android.h", | 534 "ifaddrs-android.h", |
535 ] | 535 ] |
536 | 536 |
537 libs += [ | 537 libs += [ |
538 "log", | 538 "log", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 "java/src/org/webrtc/Logging.java", | 704 "java/src/org/webrtc/Logging.java", |
705 "java/src/org/webrtc/Size.java", | 705 "java/src/org/webrtc/Size.java", |
706 "java/src/org/webrtc/ThreadUtils.java", | 706 "java/src/org/webrtc/ThreadUtils.java", |
707 ] | 707 ] |
708 | 708 |
709 deps = [ | 709 deps = [ |
710 "//base:base_java", | 710 "//base:base_java", |
711 ] | 711 ] |
712 } | 712 } |
713 } | 713 } |
OLD | NEW |