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

Side by Side Diff: remoting/remoting_test.gypi

Issue 139283010: Break some parts of remoting.gyp into separate .gypi files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move remoting_locales back into remoting.gyp Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 # Remoting unit tests
8 {
9 'target_name': 'remoting_unittests',
10 'type': '<(gtest_target_type)',
11 'dependencies': [
12 '../base/base.gyp:base',
13 '../base/base.gyp:base_i18n',
14 '../base/base.gyp:test_support_base',
15 '../ipc/ipc.gyp:ipc',
16 '../net/net.gyp:net_test_support',
17 '../ppapi/ppapi.gyp:ppapi_cpp',
18 '../testing/gmock.gyp:gmock',
19 '../testing/gtest.gyp:gtest',
20 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
21 '../ui/gfx/gfx.gyp:gfx',
22 '../ui/gfx/gfx.gyp:gfx_geometry',
23 '../ui/ui.gyp:ui',
24 'remoting_base',
25 'remoting_breakpad',
26 'remoting_client',
27 'remoting_client_plugin',
28 'remoting_host',
29 'remoting_host_setup_base',
30 'remoting_it2me_host_static',
31 'remoting_native_messaging_base',
32 'remoting_protocol',
33 'remoting_resources',
34 ],
35 'defines': [
36 'VERSION=<(version_full)',
37 ],
38 'include_dirs': [
39 '../testing/gmock/include',
40 ],
41 'sources': [
42 '../chrome/test/base/run_all_remoting_unittests.cc',
43 'base/auth_token_util_unittest.cc',
44 'base/auto_thread_task_runner_unittest.cc',
45 'base/auto_thread_unittest.cc',
46 'base/breakpad_win_unittest.cc',
47 'base/capabilities_unittest.cc',
48 'base/compound_buffer_unittest.cc',
49 'base/rate_counter_unittest.cc',
50 'base/resources_unittest.cc',
51 'base/rsa_key_pair_unittest.cc',
52 'base/running_average_unittest.cc',
53 'base/test_rsa_key_pair.h',
54 'base/typed_buffer_unittest.cc',
55 'base/util_unittest.cc',
56 'client/audio_player_unittest.cc',
57 'client/key_event_mapper_unittest.cc',
58 'client/plugin/normalizing_input_filter_cros_unittest.cc',
59 'client/plugin/normalizing_input_filter_mac_unittest.cc',
60 'codec/audio_encoder_opus_unittest.cc',
61 'codec/codec_test.cc',
62 'codec/codec_test.h',
63 'codec/video_decoder_vpx_unittest.cc',
64 'codec/video_encoder_verbatim_unittest.cc',
65 'codec/video_encoder_vpx_unittest.cc',
66 'host/audio_silence_detector_unittest.cc',
67 'host/branding.cc',
68 'host/branding.h',
69 'host/capture_scheduler_unittest.cc',
70 'host/chromoting_host_context_unittest.cc',
71 'host/chromoting_host_unittest.cc',
72 'host/client_session_unittest.cc',
73 'host/config_file_watcher_unittest.cc',
74 'host/daemon_process_unittest.cc',
75 'host/desktop_process_unittest.cc',
76 'host/desktop_shape_tracker_unittest.cc',
77 'host/heartbeat_sender_unittest.cc',
78 'host/host_change_notification_listener_unittest.cc',
79 'host/host_mock_objects.cc',
80 'host/host_status_monitor_fake.h',
81 'host/host_status_sender_unittest.cc',
82 'host/ipc_desktop_environment_unittest.cc',
83 'host/it2me/it2me_native_messaging_host_unittest.cc',
84 'host/json_host_config_unittest.cc',
85 'host/linux/x_server_clipboard_unittest.cc',
86 'host/local_input_monitor_unittest.cc',
87 'host/log_to_server_unittest.cc',
88 'host/native_messaging/native_messaging_reader_unittest.cc',
89 'host/native_messaging/native_messaging_writer_unittest.cc',
90 'host/pairing_registry_delegate_linux_unittest.cc',
91 'host/pairing_registry_delegate_win_unittest.cc',
92 'host/pin_hash_unittest.cc',
93 'host/policy_hack/fake_policy_watcher.cc',
94 'host/policy_hack/fake_policy_watcher.h',
95 'host/policy_hack/mock_policy_callback.cc',
96 'host/policy_hack/mock_policy_callback.h',
97 'host/policy_hack/policy_watcher_unittest.cc',
98 'host/register_support_host_request_unittest.cc',
99 'host/remote_input_filter_unittest.cc',
100 'host/resizing_host_observer_unittest.cc',
101 'host/screen_capturer_fake.cc',
102 'host/screen_capturer_fake.h',
103 'host/screen_resolution_unittest.cc',
104 'host/server_log_entry_unittest.cc',
105 'host/setup/me2me_native_messaging_host_unittest.cc',
106 'host/setup/oauth_helper_unittest.cc',
107 'host/setup/pin_validator_unittest.cc',
108 'host/shaped_screen_capturer_unittest.cc',
109 'host/token_validator_factory_impl_unittest.cc',
110 'host/video_scheduler_unittest.cc',
111 'host/win/rdp_client_unittest.cc',
112 'host/win/worker_process_launcher.cc',
113 'host/win/worker_process_launcher.h',
114 'host/win/worker_process_launcher_unittest.cc',
115 'jingle_glue/chromium_socket_factory_unittest.cc',
116 'jingle_glue/fake_signal_strategy.cc',
117 'jingle_glue/fake_signal_strategy.h',
118 'jingle_glue/iq_sender_unittest.cc',
119 'jingle_glue/mock_objects.cc',
120 'jingle_glue/mock_objects.h',
121 'protocol/authenticator_test_base.cc',
122 'protocol/authenticator_test_base.h',
123 'protocol/buffered_socket_writer_unittest.cc',
124 'protocol/channel_multiplexer_unittest.cc',
125 'protocol/clipboard_echo_filter_unittest.cc',
126 'protocol/clipboard_filter_unittest.cc',
127 'protocol/connection_tester.cc',
128 'protocol/connection_tester.h',
129 'protocol/connection_to_client_unittest.cc',
130 'protocol/content_description_unittest.cc',
131 'protocol/fake_authenticator.cc',
132 'protocol/fake_authenticator.h',
133 'protocol/fake_session.cc',
134 'protocol/fake_session.h',
135 'protocol/input_event_tracker_unittest.cc',
136 'protocol/input_filter_unittest.cc',
137 'protocol/jingle_messages_unittest.cc',
138 'protocol/jingle_session_unittest.cc',
139 'protocol/message_decoder_unittest.cc',
140 'protocol/message_reader_unittest.cc',
141 'protocol/mouse_input_filter_unittest.cc',
142 'protocol/negotiating_authenticator_unittest.cc',
143 'protocol/pairing_registry_unittest.cc',
144 'protocol/ppapi_module_stub.cc',
145 'protocol/protocol_mock_objects.cc',
146 'protocol/protocol_mock_objects.h',
147 'protocol/ssl_hmac_channel_authenticator_unittest.cc',
148 'protocol/third_party_authenticator_unittest.cc',
149 'protocol/v2_authenticator_unittest.cc',
150 ],
151 'conditions': [
152 [ 'OS=="win"', {
153 'defines': [
154 '_ATL_NO_EXCEPTIONS',
155 ],
156 'include_dirs': [
157 '../breakpad/src',
158 ],
159 'link_settings': {
160 'libraries': [
161 '-lrpcrt4.lib',
162 '-lwtsapi32.lib',
163 ],
164 },
165 }],
166 [ 'OS=="mac" or (OS=="linux" and chromeos==0)', {
167 # Javascript unittests are disabled on CrOS because they cause
168 # valgrind and test errors.
169 #
170 # Javascript unittests are disabled on Windows because they add a
171 # dependency on 'common_constants' which (only on Windows) requires
172 # additional dependencies:
173 # '../content/content.gyp:content_common',
174 # 'installer_util',
175 # These targets are defined in .gypi files that would need to be
176 # included here:
177 # '../chrome/chrome_common.gypi',
178 # '../chrome/chrome_installer.gypi',
179 # '../chrome/chrome_installer_util.gypi',
180 # But we can't do that because ninja will complain about multiple
181 # target definitions.
182 # TODO(garykac): Move installer_util into a proper .gyp file so that
183 # it can be included in multiple .gyp files.
184 'includes': [
185 '../chrome/js_unittest_rules.gypi',
186 ],
187 'dependencies': [
188 '../chrome/common_constants.gyp:common_constants',
189 '../v8/tools/gyp/v8.gyp:v8',
190 ],
191 'sources': [
192 '../chrome/test/base/v8_unit_test.cc',
193 '../chrome/test/base/v8_unit_test.h',
194 'webapp/browser_globals.gtestjs',
195 'webapp/all_js_load.gtestjs',
196 'webapp/format_iq.gtestjs',
197 '<@(remoting_webapp_js_files)',
198 ],
199 }],
200 [ 'OS=="android"', {
201 'dependencies!': [
202 'remoting_client_plugin',
203 ],
204 }],
205 [ 'OS=="android" and gtest_target_type=="shared_library"', {
206 'dependencies': [
207 '../testing/android/native_test.gyp:native_test_native_code',
208 ],
209 }],
210 [ 'chromeos==0', {
211 'sources!': [
212 'client/plugin/normalizing_input_filter_cros_unittest.cc',
213 ],
214 }],
215 ['enable_remoting_host == 0', {
216 'dependencies!': [
217 'remoting_host',
218 'remoting_host_setup_base',
219 'remoting_it2me_host_static',
220 'remoting_native_messaging_base',
221 ],
222 'sources/': [
223 ['exclude', '^codec/'],
224 ['exclude', '^host/'],
225 ['exclude', '^base/resources_unittest\\.cc$'],
226 ]
227 }],
228 ['toolkit_uses_gtk == 1', {
229 'dependencies': [
230 # Needed for the following #include chain:
231 # base/run_all_unittests.cc
232 # ../base/test_suite.h
233 # gtk/gtk.h
234 '../build/linux/system.gyp:gtk',
235 '../build/linux/system.gyp:ssl',
236 ],
237 'conditions': [
238 [ 'linux_use_tcmalloc==1', {
239 'dependencies': [
240 '../base/allocator/allocator.gyp:allocator',
241 ],
242 },
243 ],
244 ],
245 }], # end of 'toolkit_uses_gtk == 1'
246 ], # end of 'conditions'
247 }, # end of target 'remoting_unittests'
248 ], # end of targets
249 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698