OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //remoting:test_support | 8 # GN version: //remoting:test_support |
9 'target_name': 'remoting_test_common', | 9 'target_name': 'remoting_test_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 ['enable_remoting_host == 0', { | 84 ['enable_remoting_host == 0', { |
85 'dependencies!': [ | 85 'dependencies!': [ |
86 'remoting_host', | 86 'remoting_host', |
87 ], | 87 ], |
88 'sources/': [ | 88 'sources/': [ |
89 ['exclude', '^host/'], | 89 ['exclude', '^host/'], |
90 ] | 90 ] |
91 }], | 91 }], |
92 ], | 92 ], |
93 }, | 93 }, |
94 { | |
95 'target_name': 'remoting_test_driver_common', | |
96 'type': 'static_library', | |
97 'dependencies': [ | |
98 '../base/base.gyp:base', | |
99 '../base/base.gyp:test_support_base', | |
100 '../google_apis/google_apis.gyp:google_apis', | |
101 '../net/net.gyp:net', | |
102 '../remoting/remoting.gyp:remoting_base', | |
103 '../remoting/remoting.gyp:remoting_client', | |
104 '../remoting/remoting.gyp:remoting_protocol', | |
105 '../testing/gtest.gyp:gtest', | |
106 ], | |
107 'defines': [ | |
108 'VERSION=<(version_full)', | |
109 ], | |
110 'sources': [ | |
111 'test/access_token_fetcher.cc', | |
112 'test/access_token_fetcher.h', | |
113 'test/refresh_token_store.cc', | |
114 'test/refresh_token_store.h', | |
115 'test/remote_connection_observer.h', | |
116 'test/test_chromoting_client.cc', | |
117 'test/test_chromoting_client.h', | |
118 'test/test_video_renderer.cc', | |
119 'test/test_video_renderer.h', | |
120 ], | |
121 }, # end of target 'remoting_test_driver_common' | |
122 { | |
123 # A chromoting version of remoting_test_driver_common | |
joedow
2015/06/09 02:45:49
nit: you can probably just remove this comment, it
| |
124 'target_name': 'chromoting_test_driver', | |
125 'type': '<(gtest_target_type)', | |
126 'dependencies': [ | |
127 'remoting_test_driver_common', | |
128 ], | |
129 'defines': [ | |
130 'VERSION=<(version_full)', | |
131 ], | |
132 'sources': [ | |
133 'test/chromoting_test_driver.cc', | |
134 ], | |
135 'include_dirs': [ | |
136 '../testing/gtest/include', | |
137 ], | |
138 }, # end of target 'chromoting_test_driver' | |
139 { | |
140 'target_name': 'ar_test_driver_common', | |
141 'type': 'static_library', | |
142 'dependencies': [ | |
143 '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib', | |
144 'remoting_test_driver_common', | |
145 ], | |
146 'defines': [ | |
147 'VERSION=<(version_full)', | |
148 ], | |
149 'sources': [ | |
150 'test/app_remoting_connected_client_fixture.cc', | |
151 'test/app_remoting_connected_client_fixture.h', | |
152 'test/app_remoting_test_driver_environment.cc', | |
153 'test/app_remoting_test_driver_environment.h', | |
154 'test/remote_application_details.h', | |
155 'test/remote_host_info.cc', | |
156 'test/remote_host_info.h', | |
157 'test/remote_host_info_fetcher.cc', | |
158 'test/remote_host_info_fetcher.h', | |
159 ], | |
160 'include_dirs': [ | |
161 '../testing/gtest/include', | |
162 ], | |
163 }, # end of target 'ar_test_driver_common' | |
164 { | |
165 # An external version of the test driver tool which includes minimal tests | |
166 'target_name': 'ar_sample_test_driver', | |
167 'type': '<(gtest_target_type)', | |
168 'dependencies': [ | |
169 'ar_test_driver_common', | |
170 ], | |
171 'defines': [ | |
172 'VERSION=<(version_full)', | |
173 ], | |
174 'sources': [ | |
175 'test/app_remoting_test_driver.cc', | |
176 'test/app_remoting_test_driver_environment_app_details.cc', | |
177 ], | |
178 'include_dirs': [ | |
179 '../testing/gtest/include', | |
180 ], | |
181 }, # end of target 'ar_sample_test_driver' | |
94 | 182 |
95 # Remoting unit tests | 183 # Remoting unit tests |
96 { | 184 { |
97 # GN version: //remoting:remoting_unittests | 185 # GN version: //remoting:remoting_unittests |
98 # Note that many of the sources are broken out into subdir-specific unit | 186 # Note that many of the sources are broken out into subdir-specific unit |
99 # test source set targets that then GN version then brings together. | 187 # test source set targets that then GN version then brings together. |
100 'target_name': 'remoting_unittests', | 188 'target_name': 'remoting_unittests', |
101 'type': '<(gtest_target_type)', | 189 'type': '<(gtest_target_type)', |
102 'dependencies': [ | 190 'dependencies': [ |
103 '../base/base.gyp:base', | 191 '../base/base.gyp:base', |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
517 'dependencies': [ | 605 'dependencies': [ |
518 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 606 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
519 'remoting_webapp_browser_test_main_html', | 607 'remoting_webapp_browser_test_main_html', |
520 ], | 608 ], |
521 'includes': [ 'remoting_webapp.gypi', ], | 609 'includes': [ 'remoting_webapp.gypi', ], |
522 }, # end of target 'remoting_webapp_browser_test' | 610 }, # end of target 'remoting_webapp_browser_test' |
523 ] | 611 ] |
524 }] | 612 }] |
525 ] # end of 'conditions' | 613 ] # end of 'conditions' |
526 } | 614 } |
OLD | NEW |