Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: webrtc/webrtc.gni

Issue 3003643002: Allow external TaskQueue implementations on Linux (Closed)
Patch Set: .. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/rtc_base/task_queue_libevent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/webrtc.gni
diff --git a/webrtc/webrtc.gni b/webrtc/webrtc.gni
index 071c9cc23f0030dc821fbb8bd16dcf5c179bca8a..72e031ee7723a04da808af580f4d492cd53e8d7a 100644
--- a/webrtc/webrtc.gni
+++ b/webrtc/webrtc.gni
@@ -105,7 +105,14 @@ declare_args() {
# See http://clang.llvm.org/docs/SanitizerCoverage.html .
rtc_sanitize_coverage = ""
+ # Links a default implementation of task queues to targets
+ # that depend on the target rtc_task_queue. Set to false to
+ # use an external implementation.
+ rtc_link_task_queue_impl = true
+
# Enable libevent task queues on platforms that support it.
+ # rtc_link_task_queue_impl must be set to true for this to
+ # have an effect.
if (is_win || is_mac || is_ios || is_nacl) {
rtc_enable_libevent = false
rtc_build_libevent = false
@@ -314,6 +321,7 @@ template("rtc_executable") {
"//build/config:exe_and_shlib_deps",
]
deps += invoker.deps
+
public_configs = [ rtc_common_inherited_config ]
if (defined(invoker.public_configs)) {
public_configs += invoker.public_configs
« no previous file with comments | « webrtc/rtc_base/task_queue_libevent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698