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

Unified Diff: remoting/BUILD.gn

Issue 1806963002: Reduce APK size by disabling WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | remoting/client/chromoting_client.cc » ('j') | remoting/client/chromoting_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/BUILD.gn
diff --git a/remoting/BUILD.gn b/remoting/BUILD.gn
index 9b834d0293bfb5b03d523f3681027a84df78ac2a..684bdcc58dcef6c0ccb11a2cf107046ba65f8ce7 100644
--- a/remoting/BUILD.gn
+++ b/remoting/BUILD.gn
@@ -12,6 +12,9 @@ import("//testing/test.gni")
# Various remoting targets need this version definition.
config("version") {
defines = [ "VERSION=$chrome_version_full" ]
+ if (is_android) {
Sergey Ulanov 2016/03/16 19:12:35 config(version) is not the right place to add this
+ defines += [ "DISABLE_WEBRTC=1" ]
Lambros 2016/03/16 18:12:20 I don't think this is the right way. We already h
Yuwei 2016/03/16 18:39:01 To follow the pattern in remoting_options.gni, I t
Sergey Ulanov 2016/03/16 19:12:35 Suggest calling it ENABLE_WEBRTC_REMOTING_CLIENT t
Sergey Ulanov 2016/03/16 19:12:35 You need similar change for GYP. Just add a condi
Sergey Ulanov 2016/03/16 19:12:36 I think ideally we want to disable it only for off
Yuwei 2016/03/16 19:45:34 So we are disabling WebRTC on all platform, right?
Sergey Ulanov 2016/03/16 20:13:12 Correct. Beside Android that only makes difference
+ }
}
group("remoting_all") {
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | remoting/client/chromoting_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698