OLD | NEW |
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("enable_webrtc_remoting_client") { |
| 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 Loading... |
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 } |
OLD | NEW |