diff options
author | yuweih <yuweih@chromium.org> | 2016-03-16 18:46:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 01:48:47 +0000 |
commit | e8f2d518b2337b2ae8736ee0f032d2fffc8b16b8 (patch) | |
tree | 9350a7155b68352285fe17a2aa14c756041de5b8 /remoting/BUILD.gn | |
parent | b8b45d19a6322d1d022c491e8813ee4ed252663c (diff) | |
download | chromium_src-e8f2d518b2337b2ae8736ee0f032d2fffc8b16b8.zip chromium_src-e8f2d518b2337b2ae8736ee0f032d2fffc8b16b8.tar.gz chromium_src-e8f2d518b2337b2ae8736ee0f032d2fffc8b16b8.tar.bz2 |
Reduce APK size by disabling WebRTC.
Reduced official build size from 7.9MB to 6.4MB. Can reenable WebRTC by changing the BUILD.gn file.
BUG=595038
Review URL: https://codereview.chromium.org/1806963002
Cr-Commit-Position: refs/heads/master@{#381636}
Diffstat (limited to 'remoting/BUILD.gn')
-rw-r--r-- | remoting/BUILD.gn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/BUILD.gn b/remoting/BUILD.gn index 9b834d0..d58efd7 100644 --- a/remoting/BUILD.gn +++ b/remoting/BUILD.gn @@ -14,6 +14,12 @@ config("version") { defines = [ "VERSION=$chrome_version_full" ] } +config("enable_webrtc_remoting_client") { + if (!is_official_build && !is_nacl) { + defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] + } +} + group("remoting_all") { testonly = true |