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

Unified Diff: webrtc/base/BUILD.gn

Issue 2732363004: Revert of Delete unused TaskRunner abstraction. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | webrtc/base/task.h » ('j') | no next file with comments »
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 cd17fa60972ecbd6fad1479a7e716af3446d03d5..d8f5e2b0964b9e36307b5d493fe35cd62390c757 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -346,6 +346,19 @@
"-Wno-missing-braces",
]
}
+}
+
+# TODO(nisse): This target is temporarily split out, to aid moving the
+# code over to Chrome. It should be deleted from webrtc soon.
+rtc_static_library("rtc_task_runner") {
+ sources = [
+ "task.cc",
+ "task.h",
+ "taskparent.cc",
+ "taskparent.h",
+ "taskrunner.cc",
+ "taskrunner.h",
+ ]
}
rtc_static_library("rtc_base") {
@@ -857,6 +870,7 @@
"sigslot_unittest.cc",
"sigslottester_unittest.cc",
"stream_unittest.cc",
+ "task_unittest.cc",
"testclient_unittest.cc",
"thread_unittest.cc",
]
@@ -878,6 +892,7 @@
}
deps = [
":rtc_base_tests_main",
+ ":rtc_task_runner",
]
public_deps = [
":rtc_base",
« no previous file with comments | « no previous file | webrtc/base/task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698