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 | |
116 test("remoting_unittests") { | 107 test("remoting_unittests") { |
117 configs += [ | 108 configs += [ |
118 ":version", | 109 ":version", |
119 | 110 |
120 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 111 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
121 "//build/config/compiler:no_size_t_to_int_warning", | 112 "//build/config/compiler:no_size_t_to_int_warning", |
122 ] | 113 ] |
123 | 114 |
124 data = [ | 115 data = [ |
125 "//net/data/ssl/certificates/ok_cert.pem", | 116 "//net/data/ssl/certificates/ok_cert.pem", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 174 |
184 if (enable_webrtc) { | 175 if (enable_webrtc) { |
185 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 176 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
186 } | 177 } |
187 } | 178 } |
188 } | 179 } |
189 } else { | 180 } else { |
190 group("remoting_unittests") { | 181 group("remoting_unittests") { |
191 } | 182 } |
192 } | 183 } |
OLD | NEW |