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

Unified Diff: webrtc/base/BUILD.gn

Issue 2153563003: Move WEBRTC_BUILD_LIBEVENT definition to base/BUILD.gn and base/base.gyp. This use all_dependent_co… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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/BUILD.gn ('k') | webrtc/base/base.gyp » ('j') | webrtc/base/base.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/BUILD.gn
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
index e7ed156ade9d9cbf12591db69791af8137d6d280..110ee479ec5b90a632d7703a66a5044e4d1ceee8 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -187,6 +187,12 @@ static_library("rtc_base_approved") {
}
}
+config("enable_libevent_config") {
+ defines = [
+ "WEBRTC_BUILD_LIBEVENT",
+ ]
+}
+
static_library("rtc_task_queue") {
public_deps = [
":rtc_base_approved",
@@ -212,6 +218,9 @@ static_library("rtc_task_queue") {
"task_queue_libevent.cc",
"task_queue_posix.cc",
]
+ 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.
+ ":enable_libevent_config"
+ ]
} else {
if (is_mac || is_ios) {
sources += [
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/base/base.gyp » ('j') | webrtc/base/base.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698