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

Side by Side Diff: remoting/test/BUILD.gn

Issue 1966983002: Fix it2me_standalone_host compilation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gtk dependency Created 4 years, 7 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 | no next file » | no next file with comments »
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("//remoting/remoting_enable.gni")
6
5 source_set("test_support") { 7 source_set("test_support") {
6 testonly = true 8 testonly = true
7 9
8 sources = [ 10 sources = [
9 "access_token_fetcher.cc", 11 "access_token_fetcher.cc",
10 "access_token_fetcher.h", 12 "access_token_fetcher.h",
11 "app_remoting_report_issue_request.cc", 13 "app_remoting_report_issue_request.cc",
12 "app_remoting_report_issue_request.h", 14 "app_remoting_report_issue_request.h",
13 "app_remoting_service_urls.cc", 15 "app_remoting_service_urls.cc",
14 "app_remoting_service_urls.h", 16 "app_remoting_service_urls.h",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 138
137 deps = [ 139 deps = [
138 ":ar_test_driver_common", 140 ":ar_test_driver_common",
139 "//base/test:test_support", 141 "//base/test:test_support",
140 "//build/config/sanitizers:deps", 142 "//build/config/sanitizers:deps",
141 "//build/win:default_exe_manifest", 143 "//build/win:default_exe_manifest",
142 "//testing/gtest", 144 "//testing/gtest",
143 ] 145 ]
144 } 146 }
145 147
146 static_library("fake_connection_event_logger") { 148 if (enable_remoting_host && !is_android && !is_chromeos) {
147 testonly = true 149 static_library("fake_connection_event_logger") {
150 testonly = true
148 151
149 sources = [ 152 sources = [
150 "fake_connection_event_logger.cc", 153 "fake_connection_event_logger.cc",
151 "fake_connection_event_logger.h", 154 "fake_connection_event_logger.h",
152 ] 155 ]
153 156
154 deps = [ 157 deps = [
155 "//remoting/host", 158 "//remoting/host",
156 "//remoting/protocol:test_support", 159 "//remoting/protocol:test_support",
157 ] 160 ]
158 } 161 }
159 162
160 static_library("it2me_standalone_host") { 163 static_library("it2me_standalone_host") {
161 testonly = true 164 testonly = true
162 165
163 sources = [ 166 sources = [
164 "it2me_standalone_host.cc", 167 "it2me_standalone_host.cc",
165 "it2me_standalone_host.h", 168 "it2me_standalone_host.h",
166 ] 169 ]
167 170
168 deps = [ 171 deps = [
169 ":fake_connection_event_logger", 172 ":fake_connection_event_logger",
170 "//third_party/webrtc/modules/desktop_capture", 173 "//third_party/webrtc/modules/desktop_capture",
171 ] 174 ]
172 175
173 public_deps = [ 176 public_deps = [
174 "//remoting/host:test_support", 177 "//remoting/host:test_support",
175 "//testing/gmock", 178 "//testing/gmock",
176 ] 179 ]
177 } 180 }
178 181
179 executable("it2me_standalone_host_main") { 182 executable("it2me_standalone_host_main") {
180 testonly = true 183 testonly = true
181 184
182 sources = [ 185 sources = [
183 "it2me_standalone_host_main.cc", 186 "it2me_standalone_host_main.cc",
184 ] 187 ]
185 188
186 deps = [ 189 deps = [
187 ":it2me_standalone_host", 190 ":it2me_standalone_host",
188 ] 191 ]
189 192
190 if (is_desktop_linux) { 193 if (is_desktop_linux) {
191 deps += [ "//build/config/linux/gtk2" ] 194 deps += [ "//build/config/linux/gtk2" ]
195 }
192 } 196 }
193 } 197 }
194 198
195 source_set("unit_tests") { 199 source_set("unit_tests") {
196 testonly = true 200 testonly = true
197 201
198 sources = [ 202 sources = [
199 "access_token_fetcher_unittest.cc", 203 "access_token_fetcher_unittest.cc",
200 "app_remoting_report_issue_request_unittest.cc", 204 "app_remoting_report_issue_request_unittest.cc",
201 "app_remoting_test_driver_environment_unittest.cc", 205 "app_remoting_test_driver_environment_unittest.cc",
202 "chromoting_test_driver_environment_unittest.cc", 206 "chromoting_test_driver_environment_unittest.cc",
203 "connection_time_observer_unittest.cc", 207 "connection_time_observer_unittest.cc",
204 "host_list_fetcher_unittest.cc", 208 "host_list_fetcher_unittest.cc",
205 "remote_host_info_fetcher_unittest.cc", 209 "remote_host_info_fetcher_unittest.cc",
206 "test_chromoting_client_unittest.cc", 210 "test_chromoting_client_unittest.cc",
207 "test_video_renderer_unittest.cc", 211 "test_video_renderer_unittest.cc",
208 ] 212 ]
209 213
210 deps = [ 214 deps = [
211 ":ar_test_driver_common", 215 ":ar_test_driver_common",
212 ":test_support", 216 ":test_support",
213 "//base", 217 "//base",
214 "//net:test_support", 218 "//net:test_support",
215 "//testing/gmock", 219 "//testing/gmock",
216 "//testing/gtest", 220 "//testing/gtest",
217 "//third_party/libyuv", 221 "//third_party/libyuv",
218 "//third_party/webrtc/modules/desktop_capture", 222 "//third_party/webrtc/modules/desktop_capture",
219 ] 223 ]
220 } 224 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698