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") |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 deps += [ "//components/policy:test_support" ] | 97 deps += [ "//components/policy:test_support" ] |
98 } | 98 } |
99 | 99 |
100 if (enable_remoting_host) { | 100 if (enable_remoting_host) { |
101 deps += [ "//remoting/host:test_support" ] | 101 deps += [ "//remoting/host:test_support" ] |
102 } | 102 } |
103 } | 103 } |
104 | 104 |
105 # TODO(GYP) remoting_unittests on Mac. Needs to be tested. | 105 # TODO(GYP) remoting_unittests on Mac. Needs to be tested. |
106 if (!is_mac) { | 106 if (!is_mac) { |
| 107 # TODO(GYP): Delete this after we've converted everything to GN. |
| 108 # The _run targets exist only for compatibility w/ GYP. |
| 109 group("remoting_unittests_run") { |
| 110 testonly = true |
| 111 deps = [ |
| 112 ":remoting_unittests", |
| 113 ] |
| 114 } |
| 115 |
107 test("remoting_unittests") { | 116 test("remoting_unittests") { |
108 configs += [ | 117 configs += [ |
109 ":version", | 118 ":version", |
110 | 119 |
111 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 120 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
112 "//build/config/compiler:no_size_t_to_int_warning", | 121 "//build/config/compiler:no_size_t_to_int_warning", |
113 ] | 122 ] |
114 | 123 |
115 data = [ | 124 data = [ |
116 "//net/data/ssl/certificates/ok_cert.pem", | 125 "//net/data/ssl/certificates/ok_cert.pem", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 183 |
175 if (enable_webrtc) { | 184 if (enable_webrtc) { |
176 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 185 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
177 } | 186 } |
178 } | 187 } |
179 } | 188 } |
180 } else { | 189 } else { |
181 group("remoting_unittests") { | 190 group("remoting_unittests") { |
182 } | 191 } |
183 } | 192 } |
OLD | NEW |