From 0b6d0e6e38c9971c19a0236d2bb510e858dfa885 Mon Sep 17 00:00:00 2001 From: Karl Wiberg Date: Thu, 6 Dec 2018 14:50:45 +0100 Subject: [PATCH] Introduce some placeholder build targets So that users can add dependencies on them, and not break when a bunch of headers move out of rtc_base:rtc_base. Bug: webrtc:9987 Change-Id: Iecd5dd903cb8b97cb6f051e3a0cb6df7f8ba22b3 Reviewed-on: https://webrtc-review.googlesource.com/c/113425 Reviewed-by: Mirko Bonadei Commit-Queue: Karl Wiberg Cr-Commit-Position: refs/heads/master@{#25923} --- rtc_base/BUILD.gn | 132 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 741863dc6a..9a4a5b4ed9 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -722,6 +722,138 @@ rtc_source_set("rtc_json") { } } +rtc_source_set("nethelpers") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "nethelpers.cc", + # "nethelpers.h", + # ] +} + +rtc_source_set("asyncresolverinterface") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "asyncresolverinterface.cc", + # "asyncresolverinterface.h", + # ] +} + +rtc_source_set("ipaddress") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "ipaddress.cc", + # "ipaddress.h", + # ] +} + +rtc_source_set("socketaddress") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "socketaddress.cc", + # "socketaddress.h", + # ] +} + +rtc_source_set("nullsocketserver") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "nullsocketserver.cc", + # "nullsocketserver.h", + # ] +} + +rtc_source_set("socketserver") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "socketserver.h", + # ] +} + +rtc_source_set("threading") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "asyncresolver.cc", + # "asyncresolver.h", + # "defaultsocketserver.cc", + # "defaultsocketserver.h", + # "messagehandler.cc", + # "messagehandler.h", + # "messagequeue.cc", + # "messagequeue.h", + # "networkmonitor.cc", + # "networkmonitor.h", + # "physicalsocketserver.cc", + # "physicalsocketserver.h", + # "signalthread.cc", + # "signalthread.h", + # "thread.cc", + # "thread.h", + # ] +} + +rtc_source_set("socketfactory") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "socketfactory.h", + # ] +} + +rtc_source_set("asyncsocket") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "asyncsocket.cc", + # "asyncsocket.h", + # ] +} + +rtc_source_set("socket") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "socket.cc", + # "socket.h", + # ] +} + +rtc_source_set("network_constants") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "network_constants.h", + # ] +} + +if (is_android) { + rtc_source_set("ifaddrs_android") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "ifaddrs-android.cc", + # "ifaddrs-android.h", + # ] + } +} + +if (is_win) { + rtc_source_set("win32") { + # TODO(bugs.webrtc.org/9987): This build target will soon contain + # the following files: + # sources = [ + # "win32.cc", + # "win32.h", + # ] + } +} + rtc_static_library("rtc_base") { visibility = [ "*" ] cflags = []