diff options
author | andrew@webrtc.org <andrew@webrtc.org> | 2014-09-16 01:03:29 +0000 |
---|---|---|
committer | andrew@webrtc.org <andrew@webrtc.org> | 2014-09-16 01:03:29 +0000 |
commit | 4dc8e4e9752f6512961a49a2b6af3b7143adfac2 (patch) | |
tree | 6bffa76c6f7cb4534c5518f79ab4cd21bde3c9d0 /system_wrappers | |
parent | 5f5cbf2dae26ba0eaf13158d831691d2356dda90 (diff) | |
download | webrtc-4dc8e4e9752f6512961a49a2b6af3b7143adfac2.tar.gz |
Add a target for the approved subset of rtc_base.
rtc_base drags in a bunch of unwieldly dependencies (e.g. nss and
json) not required for standalone webrtc (aka rtc/media). The root of
the problem appears to be that MessageQueue depends on a socket server.
(And since common.h -> logging.h -> thread.h -> messagequeue.h, this
dependency spreads quickly.)
This starts a new target for a "purified" subset of rtc_base. It adds
the files which are already being used, replacing the use of common.h
with checks.h. desktop_capture is a lost cause, and retains its
dependency on the full rtc_base.
The hope is that as additional components are desired they will be
cleaned and added to rtc_base_approved.
BUG=3806
R=andresp@webrtc.org, henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/22649004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7188 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'system_wrappers')
-rw-r--r-- | system_wrappers/BUILD.gn | 2 | ||||
-rw-r--r-- | system_wrappers/source/system_wrappers.gyp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn index 67c47545..76a0f340 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -193,7 +193,7 @@ static_library("system_wrappers") { ] deps += [ - "../base:webrtc_base", + "../base:rtc_base_approved", ] } diff --git a/system_wrappers/source/system_wrappers.gyp b/system_wrappers/source/system_wrappers.gyp index 610f6b08..82addeb5 100644 --- a/system_wrappers/source/system_wrappers.gyp +++ b/system_wrappers/source/system_wrappers.gyp @@ -17,7 +17,7 @@ '../interface', ], 'dependencies': [ - '../../base/base.gyp:rtc_base', + '../../base/base.gyp:rtc_base_approved', ], 'direct_dependent_settings': { 'include_dirs': [ |