Chromium Code Reviews| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 180 include_dirs = [ "../../webrtc_overrides" ] | 180 include_dirs = [ "../../webrtc_overrides" ] |
| 181 } else { | 181 } else { |
| 182 sources += [ | 182 sources += [ |
| 183 "logging.cc", | 183 "logging.cc", |
| 184 "logging.h", | 184 "logging.h", |
| 185 "logging_mac.mm", | 185 "logging_mac.mm", |
| 186 ] | 186 ] |
| 187 } | 187 } |
| 188 } | 188 } |
| 189 | 189 |
| 190 config("enable_libevent_config") { | |
| 191 defines = [ | |
| 192 "WEBRTC_BUILD_LIBEVENT", | |
| 193 ] | |
| 194 } | |
| 195 | |
| 190 static_library("rtc_task_queue") { | 196 static_library("rtc_task_queue") { |
| 191 public_deps = [ | 197 public_deps = [ |
| 192 ":rtc_base_approved", | 198 ":rtc_base_approved", |
| 193 ] | 199 ] |
| 194 configs += [ "..:common_config" ] | 200 configs += [ "..:common_config" ] |
| 195 | 201 |
| 196 sources = [ | 202 sources = [ |
| 197 "sequenced_task_checker.h", | 203 "sequenced_task_checker.h", |
| 198 "sequenced_task_checker_impl.cc", | 204 "sequenced_task_checker_impl.cc", |
| 199 "sequenced_task_checker_impl.h", | 205 "sequenced_task_checker_impl.h", |
| 200 "task_queue.h", | 206 "task_queue.h", |
| 201 "task_queue_posix.h", | 207 "task_queue_posix.h", |
| 202 ] | 208 ] |
| 203 | 209 |
| 204 if (rtc_build_libevent) { | 210 if (rtc_build_libevent) { |
| 205 deps = [ | 211 deps = [ |
| 206 "//base/third_party/libevent", | 212 "//base/third_party/libevent", |
| 207 ] | 213 ] |
| 208 } | 214 } |
| 209 | 215 |
| 210 if (rtc_enable_libevent) { | 216 if (rtc_enable_libevent) { |
| 211 sources += [ | 217 sources += [ |
| 212 "task_queue_libevent.cc", | 218 "task_queue_libevent.cc", |
| 213 "task_queue_posix.cc", | 219 "task_queue_posix.cc", |
| 214 ] | 220 ] |
| 221 all_dependent_configs = [ | |
|
tommi
2016/07/14 21:47:44
Does this also mean that enable_libevent_config is
perkj_webrtc
2016/07/15 06:26:18
yes, for gn but not gyp.
| |
| 222 ":enable_libevent_config" | |
| 223 ] | |
| 215 } else { | 224 } else { |
| 216 if (is_mac || is_ios) { | 225 if (is_mac || is_ios) { |
| 217 sources += [ | 226 sources += [ |
| 218 "task_queue_gcd.cc", | 227 "task_queue_gcd.cc", |
| 219 "task_queue_posix.cc", | 228 "task_queue_posix.cc", |
| 220 ] | 229 ] |
| 221 } | 230 } |
| 222 if (is_win) { | 231 if (is_win) { |
| 223 sources += [ "task_queue_win.cc" ] | 232 sources += [ "task_queue_win.cc" ] |
| 224 } | 233 } |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 698 "java/src/org/webrtc/Logging.java", | 707 "java/src/org/webrtc/Logging.java", |
| 699 "java/src/org/webrtc/Size.java", | 708 "java/src/org/webrtc/Size.java", |
| 700 "java/src/org/webrtc/ThreadUtils.java", | 709 "java/src/org/webrtc/ThreadUtils.java", |
| 701 ] | 710 ] |
| 702 | 711 |
| 703 deps = [ | 712 deps = [ |
| 704 "//base:base_java", | 713 "//base:base_java", |
| 705 ] | 714 ] |
| 706 } | 715 } |
| 707 } | 716 } |
| OLD | NEW |