| 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/clang/clang.gni") | 18 import("//build/config/clang/clang.gni") |
| 19 } | 19 } |
| 20 | 20 |
| 21 group("base") { | 21 group("base") { |
| 22 public_deps = [ | 22 public_deps = [ |
| 23 ":rtc_base", | 23 ":rtc_base", |
| 24 ":rtc_base_approved", | 24 ":rtc_base_approved", |
| 25 ":rtc_exp_filter", | |
| 26 ":rtc_task_queue", | 25 ":rtc_task_queue", |
| 27 ] | 26 ] |
| 28 if (is_android) { | 27 if (is_android) { |
| 29 public_deps += [ ":base_java" ] | 28 public_deps += [ ":base_java" ] |
| 30 } | 29 } |
| 31 } | 30 } |
| 32 | 31 |
| 33 config("rtc_base_approved_all_dependent_config") { | 32 config("rtc_base_approved_all_dependent_config") { |
| 34 if (is_mac && !build_with_chromium) { | 33 if (is_mac && !build_with_chromium) { |
| 35 libs = [ "Foundation.framework" ] # needed for logging_mac.mm | 34 libs = [ "Foundation.framework" ] # needed for logging_mac.mm |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 "constructormagic.h", | 117 "constructormagic.h", |
| 119 "copyonwritebuffer.cc", | 118 "copyonwritebuffer.cc", |
| 120 "copyonwritebuffer.h", | 119 "copyonwritebuffer.h", |
| 121 "criticalsection.cc", | 120 "criticalsection.cc", |
| 122 "criticalsection.h", | 121 "criticalsection.h", |
| 123 "deprecation.h", | 122 "deprecation.h", |
| 124 "event.cc", | 123 "event.cc", |
| 125 "event.h", | 124 "event.h", |
| 126 "event_tracer.cc", | 125 "event_tracer.cc", |
| 127 "event_tracer.h", | 126 "event_tracer.h", |
| 127 "exp_filter.cc", |
| 128 "exp_filter.h", |
| 128 "file.cc", | 129 "file.cc", |
| 129 "file.h", | 130 "file.h", |
| 130 "format_macros.h", | 131 "format_macros.h", |
| 131 "function_view.h", | 132 "function_view.h", |
| 132 "ignore_wundef.h", | 133 "ignore_wundef.h", |
| 133 "location.cc", | 134 "location.cc", |
| 134 "location.h", | 135 "location.h", |
| 135 "md5.cc", | 136 "md5.cc", |
| 136 "md5.h", | 137 "md5.h", |
| 137 "md5digest.cc", | 138 "md5digest.cc", |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 "task_queue_posix.cc", | 331 "task_queue_posix.cc", |
| 331 ] | 332 ] |
| 332 } | 333 } |
| 333 if (is_win) { | 334 if (is_win) { |
| 334 sources += [ "task_queue_win.cc" ] | 335 sources += [ "task_queue_win.cc" ] |
| 335 } | 336 } |
| 336 } | 337 } |
| 337 } | 338 } |
| 338 } | 339 } |
| 339 | 340 |
| 340 rtc_static_library("rtc_exp_filter") { | |
| 341 sources = [ | |
| 342 "exp_filter.cc", | |
| 343 "exp_filter.h", | |
| 344 ] | |
| 345 } | |
| 346 | |
| 347 config("rtc_base_warnings_config") { | 341 config("rtc_base_warnings_config") { |
| 348 if (is_win && is_clang) { | 342 if (is_win && is_clang) { |
| 349 cflags = [ | 343 cflags = [ |
| 350 # Disable warnings failing when compiling with Clang on Windows. | 344 # Disable warnings failing when compiling with Clang on Windows. |
| 351 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | 345 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 352 "-Wno-sign-compare", | 346 "-Wno-sign-compare", |
| 353 "-Wno-missing-braces", | 347 "-Wno-missing-braces", |
| 354 ] | 348 ] |
| 355 } | 349 } |
| 356 } | 350 } |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 "java/src/org/webrtc/Logging.java", | 802 "java/src/org/webrtc/Logging.java", |
| 809 "java/src/org/webrtc/Size.java", | 803 "java/src/org/webrtc/Size.java", |
| 810 "java/src/org/webrtc/ThreadUtils.java", | 804 "java/src/org/webrtc/ThreadUtils.java", |
| 811 ] | 805 ] |
| 812 | 806 |
| 813 deps = [ | 807 deps = [ |
| 814 "//base:base_java", | 808 "//base:base_java", |
| 815 ] | 809 ] |
| 816 } | 810 } |
| 817 } | 811 } |
| OLD | NEW |