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

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: Change macro name, use separate config 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/BUILD.gn » ('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..81df27267cab6f9c6179a0ace822925974408d32 100644
--- a/remoting/BUILD.gn
+++ b/remoting/BUILD.gn
@@ -14,6 +14,12 @@ config("version") {
defines = [ "VERSION=$chrome_version_full" ]
}
+config("webrtc") {
+ if (!is_official_build && !is_nacl) {
+ defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ]
+ }
+}
+
group("remoting_all") {
testonly = true
« no previous file with comments | « no previous file | remoting/client/BUILD.gn » ('j') | remoting/client/chromoting_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698