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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | remoting/client/BUILD.gn » ('j') | remoting/client/chromoting_client.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/util/version.gni") 7 import("//build/util/version.gni")
8 import("//remoting/remoting_version.gni") 8 import("//remoting/remoting_version.gni")
9 import("//remoting/remoting_enable.gni") 9 import("//remoting/remoting_enable.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 # Various remoting targets need this version definition. 12 # Various remoting targets need this version definition.
13 config("version") { 13 config("version") {
14 defines = [ "VERSION=$chrome_version_full" ] 14 defines = [ "VERSION=$chrome_version_full" ]
15 } 15 }
16 16
17 config("webrtc") {
18 if (!is_official_build && !is_nacl) {
19 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ]
20 }
21 }
22
17 group("remoting_all") { 23 group("remoting_all") {
18 testonly = true 24 testonly = true
19 25
20 deps = [ 26 deps = [
21 #"//remoting:remoting_browser_test_resources", 27 #"//remoting:remoting_browser_test_resources",
22 "//remoting:remoting_unittests", 28 "//remoting:remoting_unittests",
23 "//remoting/test:chromoting_test_driver", 29 "//remoting/test:chromoting_test_driver",
24 30
25 #"//remoting:remoting_webapp_unittests", 31 #"//remoting:remoting_webapp_unittests",
26 #"//app_remoting_test.gyp:ar_sample_test_driver", 32 #"//app_remoting_test.gyp:ar_sample_test_driver",
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 194
189 if (enable_webrtc) { 195 if (enable_webrtc) {
190 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 196 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
191 } 197 }
192 } 198 }
193 } 199 }
194 } else { 200 } else {
195 group("remoting_unittests") { 201 group("remoting_unittests") {
196 } 202 }
197 } 203 }
OLDNEW
« 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