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

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

Issue 1228283004: Cleanup inconsistencies between GN and GYP in //remoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « remoting/signaling/BUILD.gn ('k') | 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
(Empty)
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
3 # found in the LICENSE file.
4
5 source_set("test_support") {
6 testonly = true
7
8 sources = [
9 "access_token_fetcher.cc",
10 "access_token_fetcher.h",
11 "app_remoting_report_issue_request.cc",
12 "app_remoting_report_issue_request.h",
13 "app_remoting_service_urls.cc",
14 "app_remoting_service_urls.h",
15 "fake_access_token_fetcher.cc",
16 "fake_access_token_fetcher.h",
17 "fake_app_remoting_report_issue_request.cc",
18 "fake_app_remoting_report_issue_request.h",
19 "fake_network_dispatcher.cc",
20 "fake_network_dispatcher.h",
21 "fake_network_manager.cc",
22 "fake_network_manager.h",
23 "fake_port_allocator.cc",
24 "fake_port_allocator.h",
25 "fake_remote_host_info_fetcher.cc",
26 "fake_remote_host_info_fetcher.h",
27 "fake_socket_factory.cc",
28 "fake_socket_factory.h",
29 "host_info.cc",
30 "host_info.h",
31 "host_list_fetcher.cc",
32 "host_list_fetcher.h",
33 "leaky_bucket.cc",
34 "leaky_bucket.h",
35 "mock_access_token_fetcher.cc",
36 "mock_access_token_fetcher.h",
37 "refresh_token_store.cc",
38 "refresh_token_store.h",
39 "remote_application_details.h",
40 "remote_connection_observer.h",
41 "remote_host_info.cc",
42 "remote_host_info.h",
43 "remote_host_info_fetcher.cc",
44 "remote_host_info_fetcher.h",
45 "test_chromoting_client.cc",
46 "test_chromoting_client.h",
47 "test_video_renderer.cc",
48 "test_video_renderer.h",
49 ]
50
51 public_deps = [
52 "//base",
53 "//net",
54 "//remoting/base",
55 "//remoting/protocol",
56 "//remoting/codec",
57 "//remoting/client",
58 "//remoting/signaling",
59 ]
60
61 deps = [
62 "//google_apis",
63 "//testing/gmock",
64 "//testing/gtest",
65 "//third_party/libjingle",
66 ]
67 }
68
69 executable("chromoting_test_driver") {
70 testonly = true
71
72 sources = [
73 "chromoting_test_driver.cc",
74 ]
75
76 deps = [
77 ":test_support",
78 "//base/test:test_support",
79 "//testing/gtest",
80 ]
81 }
82
83 source_set("ar_test_driver_common") {
84 testonly = true
85
86 sources = [
87 "app_remoting_connected_client_fixture.cc",
88 "app_remoting_connected_client_fixture.h",
89 "app_remoting_connection_helper.cc",
90 "app_remoting_connection_helper.h",
91 "app_remoting_latency_test_fixture.cc",
92 "app_remoting_latency_test_fixture.h",
93 "app_remoting_test_driver_environment.cc",
94 "app_remoting_test_driver_environment.h",
95 ]
96
97 deps = [
98 ":test_support",
99 "//testing/gtest",
100 "//third_party/webrtc/modules/desktop_capture",
101 ]
102 }
103
104 # An external version of the test driver tool which includes minimal tests
105 executable("ar_sample_test_driver") {
106 testonly = true
107
108 sources = [
109 "app_remoting_test_driver.cc",
110 "app_remoting_test_driver_environment_app_details.cc",
111 ]
112
113 deps = [
114 ":ar_test_driver_common",
115 "//base/test:test_support",
116 "//testing/gtest",
117 ]
118 }
119
120 source_set("unit_tests") {
121 testonly = true
122
123 sources = [
124 "access_token_fetcher_unittest.cc",
125 "app_remoting_report_issue_request_unittest.cc",
126 "host_list_fetcher_unittest.cc",
127 "remote_host_info_fetcher_unittest.cc",
128 "test_chromoting_client_unittest.cc",
129 "test_video_renderer_unittest.cc",
130
131 # TODO(sergeyu): app_remoting_test_driver_environment_unittest.cc
132 # depends on ar_test_driver_common target and that target implicitly
133 # depends on app_remoting_test_driver_environment_app_details.cc to
134 # allow some parameters to be overridden (i.e. *app_details.cc file can
135 # be replace with a different one). This means that app_deails.cc file
136 # has to be included here explicitly. Fix
137 # app_remoting_test_driver_environment.cc to avoid this implicit
138 # dependency on *app_details.cc .
139 # http://crbug.com/510887
140 "app_remoting_test_driver_environment_app_details.cc",
141 "app_remoting_test_driver_environment_unittest.cc",
142 ]
143
144 deps = [
145 ":test_support",
146 ":ar_test_driver_common",
147 "//base",
148 "//net:test_support",
149 "//testing/gmock",
150 "//testing/gtest",
151 "//third_party/libyuv",
152 "//third_party/webrtc/modules/desktop_capture",
153 ]
154 }
OLDNEW
« no previous file with comments | « remoting/signaling/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698