| 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") { | 17 config("enable_webrtc_remoting_client") { |
| 18 if (!is_official_build && !is_nacl) { | 18 if (!is_official_build && !is_nacl) { |
| 19 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] | 19 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 | 22 |
| 23 group("remoting_all") { | 23 group("remoting_all") { |
| 24 testonly = true | 24 testonly = true |
| 25 | 25 |
| 26 deps = [ | 26 deps = [ |
| 27 #"//remoting:remoting_browser_test_resources", | |
| 28 "//remoting:remoting_unittests", | 27 "//remoting:remoting_unittests", |
| 29 "//remoting/test:chromoting_test_driver", | 28 "//remoting/test:chromoting_test_driver", |
| 30 | 29 "//remoting/webapp:browser_test_resources", |
| 31 #"//remoting:remoting_webapp_unittests", | 30 "//remoting/webapp:unit_tests", |
| 32 ] | 31 ] |
| 33 | 32 |
| 34 # TODO(GYP): add is_mac | 33 # TODO(GYP): add is_mac |
| 35 if ((is_linux && !is_chromeos) || is_win) { | 34 if ((is_linux && !is_chromeos) || is_win) { |
| 36 deps += [ "//remoting/webapp" ] | 35 deps += [ "//remoting/webapp" ] |
| 37 } | 36 } |
| 38 | 37 |
| 39 if (is_win) { | 38 if (is_win) { |
| 40 deps += [ | 39 deps += [ |
| 41 "//remoting:remoting_breakpad_tester", | 40 "//remoting:remoting_breakpad_tester", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 219 |
| 221 if (enable_webrtc) { | 220 if (enable_webrtc) { |
| 222 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 221 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 223 } | 222 } |
| 224 } | 223 } |
| 225 } | 224 } |
| 226 } else { | 225 } else { |
| 227 group("remoting_unittests") { | 226 group("remoting_unittests") { |
| 228 } | 227 } |
| 229 } | 228 } |
| OLD | NEW |