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