| 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") |
| 11 import("../build/webrtc.gni") | 11 import("../build/webrtc.gni") |
| 12 | 12 |
| 13 if (is_android) { | 13 if (is_android) { |
| 14 import("//build/config/android/config.gni") | 14 import("//build/config/android/config.gni") |
| 15 import("//build/config/android/rules.gni") | 15 import("//build/config/android/rules.gni") |
| 16 } | 16 } |
| 17 if (is_win) { | 17 if (is_win) { |
| 18 import("//build/config/win/visual_studio_version.gni") | 18 import("//build/config/win/visual_studio_version.gni") |
| 19 import("//build/config/clang/clang.gni") | 19 import("//build/config/clang/clang.gni") |
| 20 } | 20 } |
| 21 | 21 |
| 22 config("rtc_base_approved_all_dependent_config") { | 22 config("rtc_base_approved_all_dependent_config") { |
| 23 if (is_mac && !build_with_chromium) { | 23 if (is_mac && !build_with_chromium) { |
| 24 libs = [ "Foundation.framework" ] # needed for logging_mac.mm | 24 libs = [ "Foundation.framework" ] # needed for logging_mac.mm |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 config("rtc_base_config") { | 28 config("rtc_base_config") { |
| 29 defines = [ | 29 defines = [ "FEATURE_ENABLE_SSL" ] |
| 30 "FEATURE_ENABLE_SSL", | |
| 31 "LOGGING=1", | |
| 32 ] | |
| 33 } | 30 } |
| 34 | 31 |
| 35 config("rtc_base_chromium_config") { | 32 config("rtc_base_chromium_config") { |
| 36 defines = [ "NO_MAIN_THREAD_WRAPPING" ] | 33 defines = [ "NO_MAIN_THREAD_WRAPPING" ] |
| 37 } | 34 } |
| 38 | 35 |
| 39 config("openssl_config") { | 36 config("openssl_config") { |
| 40 defines = [ | 37 defines = [ |
| 41 "SSL_USE_OPENSSL", | 38 "SSL_USE_OPENSSL", |
| 42 "HAVE_OPENSSL_SSL_H", | 39 "HAVE_OPENSSL_SSL_H", |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 "-Wno-sign-compare", | 340 "-Wno-sign-compare", |
| 344 "-Wno-missing-braces", | 341 "-Wno-missing-braces", |
| 345 ] | 342 ] |
| 346 } | 343 } |
| 347 } | 344 } |
| 348 | 345 |
| 349 rtc_static_library("rtc_base") { | 346 rtc_static_library("rtc_base") { |
| 350 cflags = [] | 347 cflags = [] |
| 351 cflags_cc = [] | 348 cflags_cc = [] |
| 352 libs = [] | 349 libs = [] |
| 350 defines = [] |
| 353 deps = [ | 351 deps = [ |
| 354 "..:webrtc_common", | 352 "..:webrtc_common", |
| 355 ] | 353 ] |
| 356 public_deps = [ | 354 public_deps = [ |
| 357 ":rtc_base_approved", | 355 ":rtc_base_approved", |
| 358 ] | 356 ] |
| 359 | 357 |
| 360 configs += [ | 358 configs += [ |
| 361 ":openssl_config", | 359 ":openssl_config", |
| 362 ":rtc_base_config", | 360 ":rtc_base_config", |
| 363 ] | 361 ] |
| 364 | 362 |
| 365 public_configs = [ | 363 public_configs = [ |
| 366 ":openssl_config", | 364 ":openssl_config", |
| 367 ":rtc_base_config", | 365 ":rtc_base_config", |
| 368 ] | 366 ] |
| 369 | 367 |
| 370 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 368 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
| 371 defines = [ "LOGGING=1" ] | |
| 372 | 369 |
| 373 sources = [ | 370 sources = [ |
| 374 "applefilesystem.mm", | 371 "applefilesystem.mm", |
| 375 "asyncfile.cc", | 372 "asyncfile.cc", |
| 376 "asyncfile.h", | 373 "asyncfile.h", |
| 377 "asyncinvoker-inl.h", | 374 "asyncinvoker-inl.h", |
| 378 "asyncinvoker.cc", | 375 "asyncinvoker.cc", |
| 379 "asyncinvoker.h", | 376 "asyncinvoker.h", |
| 380 "asyncpacketsocket.cc", | 377 "asyncpacketsocket.cc", |
| 381 "asyncpacketsocket.h", | 378 "asyncpacketsocket.h", |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 "java/src/org/webrtc/Logging.java", | 798 "java/src/org/webrtc/Logging.java", |
| 802 "java/src/org/webrtc/Size.java", | 799 "java/src/org/webrtc/Size.java", |
| 803 "java/src/org/webrtc/ThreadUtils.java", | 800 "java/src/org/webrtc/ThreadUtils.java", |
| 804 ] | 801 ] |
| 805 | 802 |
| 806 deps = [ | 803 deps = [ |
| 807 "//base:base_java", | 804 "//base:base_java", |
| 808 ] | 805 ] |
| 809 } | 806 } |
| 810 } | 807 } |
| OLD | NEW |