OLD | NEW |
---|---|
(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 sources = [ | |
7 "access_token_fetcher.cc", | |
8 "access_token_fetcher.h", | |
9 "app_remoting_connected_client_fixture.cc", | |
10 "app_remoting_connected_client_fixture.h", | |
11 "app_remoting_connection_helper.cc", | |
12 "app_remoting_connection_helper.h", | |
13 "app_remoting_latency_test_fixture.cc", | |
14 "app_remoting_latency_test_fixture.h", | |
15 "app_remoting_report_issue_request.cc", | |
16 "app_remoting_report_issue_request.h", | |
17 "app_remoting_service_urls.cc", | |
18 "app_remoting_service_urls.h", | |
19 "app_remoting_test_driver_environment.cc", | |
20 "app_remoting_test_driver_environment.h", | |
21 "app_remoting_test_driver_environment_app_details.cc", | |
22 "fake_access_token_fetcher.cc", | |
23 "fake_access_token_fetcher.h", | |
24 "fake_app_remoting_report_issue_request.cc", | |
25 "fake_app_remoting_report_issue_request.h", | |
26 "fake_network_dispatcher.cc", | |
27 "fake_network_dispatcher.h", | |
28 "fake_network_manager.cc", | |
29 "fake_network_manager.h", | |
30 "fake_port_allocator.cc", | |
31 "fake_port_allocator.h", | |
32 "fake_remote_host_info_fetcher.cc", | |
33 "fake_remote_host_info_fetcher.h", | |
34 "fake_socket_factory.cc", | |
35 "fake_socket_factory.h", | |
36 "host_info.cc", | |
37 "host_info.h", | |
38 "host_list_fetcher.cc", | |
39 "host_list_fetcher.h", | |
40 "leaky_bucket.cc", | |
41 "leaky_bucket.h", | |
42 "mock_access_token_fetcher.cc", | |
43 "mock_access_token_fetcher.h", | |
44 "refresh_token_store.cc", | |
45 "refresh_token_store.h", | |
46 "remote_application_details.h", | |
47 "remote_connection_observer.h", | |
48 "remote_host_info.cc", | |
49 "remote_host_info.h", | |
50 "remote_host_info_fetcher.cc", | |
51 "remote_host_info_fetcher.h", | |
52 "test_chromoting_client.cc", | |
53 "test_chromoting_client.h", | |
54 "test_video_renderer.cc", | |
55 "test_video_renderer.h", | |
56 ] | |
57 | |
58 public_deps = [ | |
59 "//base", | |
60 "//net", | |
61 "//remoting/base", | |
62 "//remoting/protocol", | |
63 "//remoting/codec", | |
64 "//remoting/client", | |
65 "//remoting/signaling", | |
66 ] | |
67 | |
68 deps = [ | |
69 "//google_apis", | |
70 "//testing/gmock", | |
71 "//testing/gtest", | |
72 "//third_party/libjingle", | |
73 ] | |
74 } | |
75 | |
76 source_set("unit_tests") { | |
77 testonly = true | |
78 | |
79 sources = [ | |
80 "access_token_fetcher_unittest.cc", | |
81 "app_remoting_report_issue_request_unittest.cc", | |
82 "app_remoting_test_driver_environment_unittest.cc", | |
83 "host_list_fetcher_unittest.cc", | |
84 "remote_host_info_fetcher_unittest.cc", | |
85 "test_chromoting_client_unittest.cc", | |
86 "test_video_renderer_unittest.cc", | |
87 ] | |
88 | |
89 deps = [ | |
90 ":test_support", | |
91 "//base", | |
92 "//net:test_support", | |
93 "//testing/gmock", | |
94 "//testing/gtest", | |
95 "//third_party/libyuv", | |
96 "//third_party/webrtc/modules/desktop_capture", | |
97 ] | |
98 } | |
99 | |
100 executable("chromoting_test_driver") { | |
101 sources = [ | |
102 "chromoting_test_driver.cc", | |
103 ] | |
joedow
2015/07/16 02:45:14
nit: the newlines between blocks seems inconsisten
Sergey Ulanov
2015/07/16 17:39:12
There is a formatter for gn, but it doesn't insert
| |
104 deps = [ | |
105 ":test_support", | |
106 "//base/test:test_support", | |
107 "//testing/gtest", | |
108 ] | |
109 } | |
110 | |
111 # An external version of the test driver tool which includes minimal tests | |
112 executable("ar_sample_test_driver") { | |
113 sources = [ | |
114 "app_remoting_test_driver.cc", | |
115 ] | |
116 deps = [ | |
117 ":test_support", | |
118 "//base/test:test_support", | |
119 "//testing/gtest", | |
120 ] | |
121 } | |
OLD | NEW |