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

Unified Diff: third_party/libjingle_xmpp/BUILD.gn

Issue 2694903005: Add a copy of webrtc's TaskRunner abstraction, which is going to be deleted in webrtc. (Closed)
Patch Set: Delete dependencies on webrtc's rtc_task_runner. Created 3 years, 10 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 | « third_party/libjingle/webrtc/BUILD.gn ('k') | third_party/libjingle_xmpp/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjingle_xmpp/BUILD.gn
diff --git a/third_party/libjingle_xmpp/BUILD.gn b/third_party/libjingle_xmpp/BUILD.gn
index a89d8acf81100f9a7d9b3d378c2e989d8122dd90..b9435f283950e101a0deadc65a009f48ea1c5e3f 100644
--- a/third_party/libjingle_xmpp/BUILD.gn
+++ b/third_party/libjingle_xmpp/BUILD.gn
@@ -12,6 +12,17 @@ group("libjingle_xmpp") {
]
}
+rtc_static_library("rtc_task_runner") {
+ sources = [
+ "task_runner/task.cc",
+ "task_runner/task.h",
+ "task_runner/taskparent.cc",
+ "task_runner/taskparent.h",
+ "task_runner/taskrunner.cc",
+ "task_runner/taskrunner.h",
+ ]
+}
+
rtc_static_library("rtc_xmllite") {
sources = [
"xmllite/qname.cc",
@@ -32,7 +43,6 @@ rtc_static_library("rtc_xmllite") {
deps = [
"//third_party/webrtc/base:rtc_base",
- "//third_party/webrtc/base:rtc_task_runner",
]
public_deps = [
"//third_party/expat",
@@ -83,9 +93,9 @@ rtc_static_library("rtc_xmpp") {
deps = [
":rtc_xmllite",
"//third_party/webrtc/base:rtc_base",
- "//third_party/webrtc/base:rtc_task_runner",
]
public_deps = [
+ ":rtc_task_runner",
"//third_party/expat",
]
configs += [ ":rtc_xmpp_warnings_config" ]
@@ -120,6 +130,7 @@ rtc_test("libjingle_xmpp_unittests") {
deps = [
":libjingle_xmpp",
+ ":rtc_task_runner",
# TODO(kjellander): Refactor/remove this dependency. It is needed by
# third_party/webrtc_overrides/webrtc/base/win32socketinit.cc.
@@ -129,6 +140,7 @@ rtc_test("libjingle_xmpp_unittests") {
sources = [
"run_all_unittests.cc",
+ "task_runner/task_unittest.cc",
"xmllite/qname_unittest.cc",
"xmllite/xmlbuilder_unittest.cc",
"xmllite/xmlelement_unittest.cc",
« no previous file with comments | « third_party/libjingle/webrtc/BUILD.gn ('k') | third_party/libjingle_xmpp/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698