| 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 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 } | 31 } |
| 32 | 32 |
| 33 config("rtc_base_approved_all_dependent_config") { | 33 config("rtc_base_approved_all_dependent_config") { |
| 34 if (is_mac && !build_with_chromium) { | 34 if (is_mac && !build_with_chromium) { |
| 35 libs = [ "Foundation.framework" ] # needed for logging_mac.mm | 35 libs = [ "Foundation.framework" ] # needed for logging_mac.mm |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 config("rtc_base_config") { | 39 config("rtc_base_config") { |
| 40 defines = [ "FEATURE_ENABLE_SSL" ] | 40 defines = [ |
| 41 "FEATURE_ENABLE_SSL", |
| 42 "LOGGING=1", |
| 43 ] |
| 41 } | 44 } |
| 42 | 45 |
| 43 config("rtc_base_chromium_config") { | 46 config("rtc_base_chromium_config") { |
| 44 defines = [ "NO_MAIN_THREAD_WRAPPING" ] | 47 defines = [ "NO_MAIN_THREAD_WRAPPING" ] |
| 45 } | 48 } |
| 46 | 49 |
| 47 config("openssl_config") { | 50 config("openssl_config") { |
| 48 defines = [ | 51 defines = [ |
| 49 "SSL_USE_OPENSSL", | 52 "SSL_USE_OPENSSL", |
| 50 "HAVE_OPENSSL_SSL_H", | 53 "HAVE_OPENSSL_SSL_H", |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 "-Wno-sign-compare", | 356 "-Wno-sign-compare", |
| 354 "-Wno-missing-braces", | 357 "-Wno-missing-braces", |
| 355 ] | 358 ] |
| 356 } | 359 } |
| 357 } | 360 } |
| 358 | 361 |
| 359 rtc_static_library("rtc_base") { | 362 rtc_static_library("rtc_base") { |
| 360 cflags = [] | 363 cflags = [] |
| 361 cflags_cc = [] | 364 cflags_cc = [] |
| 362 libs = [] | 365 libs = [] |
| 363 defines = [] | |
| 364 deps = [ | 366 deps = [ |
| 365 "..:webrtc_common", | 367 "..:webrtc_common", |
| 366 ] | 368 ] |
| 367 public_deps = [ | 369 public_deps = [ |
| 368 ":rtc_base_approved", | 370 ":rtc_base_approved", |
| 369 ] | 371 ] |
| 370 | 372 |
| 371 configs += [ | 373 configs += [ |
| 372 ":openssl_config", | 374 ":openssl_config", |
| 373 ":rtc_base_config", | 375 ":rtc_base_config", |
| 374 ] | 376 ] |
| 375 | 377 |
| 376 public_configs = [ | 378 public_configs = [ |
| 377 ":openssl_config", | 379 ":openssl_config", |
| 378 ":rtc_base_config", | 380 ":rtc_base_config", |
| 379 ] | 381 ] |
| 380 | 382 |
| 381 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 383 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
| 384 defines = [ "LOGGING=1" ] |
| 382 | 385 |
| 383 sources = [ | 386 sources = [ |
| 384 "applefilesystem.mm", | 387 "applefilesystem.mm", |
| 385 "asyncfile.cc", | 388 "asyncfile.cc", |
| 386 "asyncfile.h", | 389 "asyncfile.h", |
| 387 "asyncinvoker-inl.h", | 390 "asyncinvoker-inl.h", |
| 388 "asyncinvoker.cc", | 391 "asyncinvoker.cc", |
| 389 "asyncinvoker.h", | 392 "asyncinvoker.h", |
| 390 "asyncpacketsocket.cc", | 393 "asyncpacketsocket.cc", |
| 391 "asyncpacketsocket.h", | 394 "asyncpacketsocket.h", |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 "java/src/org/webrtc/Logging.java", | 812 "java/src/org/webrtc/Logging.java", |
| 810 "java/src/org/webrtc/Size.java", | 813 "java/src/org/webrtc/Size.java", |
| 811 "java/src/org/webrtc/ThreadUtils.java", | 814 "java/src/org/webrtc/ThreadUtils.java", |
| 812 ] | 815 ] |
| 813 | 816 |
| 814 deps = [ | 817 deps = [ |
| 815 "//base:base_java", | 818 "//base:base_java", |
| 816 ] | 819 ] |
| 817 } | 820 } |
| 818 } | 821 } |
| OLD | NEW |