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

Unified Diff: webrtc/base/BUILD.gn

Issue 2696703009: Add gn target rtc_task_runner. (Closed)
Patch Set: 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 | « no previous file | no next file » | 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 4e03dc7b9e5d94e35b2fb686b4d6d02cf1c6dc44..82e23d0a088a8fc9d9ef3fdd3a47225a003820a1 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -348,6 +348,19 @@ config("rtc_base_warnings_config") {
}
}
+# 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") {
cflags = []
cflags_cc = []
@@ -358,6 +371,7 @@ rtc_static_library("rtc_base") {
]
public_deps = [
":rtc_base_approved",
+ ":rtc_task_runner",
]
public_configs = []
@@ -463,12 +477,6 @@ rtc_static_library("rtc_base") {
"sslstreamadapter.h",
"stream.cc",
"stream.h",
- "task.cc",
- "task.h",
- "taskparent.cc",
- "taskparent.h",
- "taskrunner.cc",
- "taskrunner.h",
"thread.cc",
"thread.h",
]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698