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 | |
9 'target_name': 'remoting_test_common', | 8 'target_name': 'remoting_test_common', |
10 'type': 'static_library', | 9 'type': 'static_library', |
11 'dependencies': [ | 10 'dependencies': [ |
12 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
13 '../components/components.gyp:policy_component_test_support', | 12 '../components/components.gyp:policy_component_test_support', |
14 '../net/net.gyp:net_test_support', | 13 '../net/net.gyp:net_test_support', |
15 '../testing/gmock.gyp:gmock', | 14 '../testing/gmock.gyp:gmock', |
16 '../testing/gtest.gyp:gtest', | 15 '../testing/gtest.gyp:gtest', |
17 'remoting_base', | 16 'remoting_base', |
18 'remoting_client', | 17 'remoting_client', |
19 'remoting_host', | 18 'remoting_host', |
20 'remoting_protocol', | 19 'remoting_protocol', |
21 'remoting_resources', | 20 'remoting_resources', |
22 ], | 21 ], |
23 'sources': [ | 22 'sources': [ |
24 # Note: sources list duplicated in GN build. | |
25 'host/fake_desktop_capturer.cc', | 23 'host/fake_desktop_capturer.cc', |
26 'host/fake_desktop_capturer.h', | 24 'host/fake_desktop_capturer.h', |
27 'host/fake_desktop_environment.cc', | 25 'host/fake_desktop_environment.cc', |
28 'host/fake_desktop_environment.h', | 26 'host/fake_desktop_environment.h', |
29 'host/fake_host_status_monitor.h', | 27 'host/fake_host_status_monitor.h', |
30 'host/fake_mouse_cursor_monitor.cc', | 28 'host/fake_mouse_cursor_monitor.cc', |
31 'host/fake_mouse_cursor_monitor.h', | 29 'host/fake_mouse_cursor_monitor.h', |
32 'protocol/fake_authenticator.cc', | 30 'protocol/fake_authenticator.cc', |
33 'protocol/fake_authenticator.h', | 31 'protocol/fake_authenticator.h', |
34 'protocol/fake_datagram_socket.cc', | 32 'protocol/fake_datagram_socket.cc', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 ], | 64 ], |
67 'sources/': [ | 65 'sources/': [ |
68 ['exclude', '^host/'], | 66 ['exclude', '^host/'], |
69 ] | 67 ] |
70 }], | 68 }], |
71 ], | 69 ], |
72 }, | 70 }, |
73 | 71 |
74 # Remoting unit tests | 72 # Remoting unit tests |
75 { | 73 { |
76 # GN version: //remoting:remoting_unittests | |
77 # Note that many of the sources are broken out into subdir-specific unit | |
78 # test source set targets that then GN version then brings together. | |
79 'target_name': 'remoting_unittests', | 74 'target_name': 'remoting_unittests', |
80 'type': '<(gtest_target_type)', | 75 'type': '<(gtest_target_type)', |
81 'dependencies': [ | 76 'dependencies': [ |
82 '../base/base.gyp:base', | 77 '../base/base.gyp:base', |
83 '../base/base.gyp:base_i18n', | 78 '../base/base.gyp:base_i18n', |
84 '../base/base.gyp:test_support_base', | 79 '../base/base.gyp:test_support_base', |
85 '../components/components.gyp:policy', | 80 '../components/components.gyp:policy', |
86 '../ipc/ipc.gyp:ipc', | 81 '../ipc/ipc.gyp:ipc', |
87 '../net/net.gyp:net_test_support', | 82 '../net/net.gyp:net_test_support', |
88 '../ppapi/ppapi.gyp:ppapi_cpp', | 83 '../ppapi/ppapi.gyp:ppapi_cpp', |
(...skipping 16 matching lines...) Expand all Loading... |
105 'remoting_resources', | 100 'remoting_resources', |
106 'remoting_test_common', | 101 'remoting_test_common', |
107 ], | 102 ], |
108 'defines': [ | 103 'defines': [ |
109 'VERSION=<(version_full)', | 104 'VERSION=<(version_full)', |
110 ], | 105 ], |
111 'include_dirs': [ | 106 'include_dirs': [ |
112 '../testing/gmock/include', | 107 '../testing/gmock/include', |
113 ], | 108 ], |
114 'sources': [ | 109 'sources': [ |
115 # Note: sources list duplicated in GN build. | |
116 'base/auto_thread_task_runner_unittest.cc', | 110 'base/auto_thread_task_runner_unittest.cc', |
117 'base/auto_thread_unittest.cc', | 111 'base/auto_thread_unittest.cc', |
118 'base/breakpad_win_unittest.cc', | 112 'base/breakpad_win_unittest.cc', |
119 'base/buffered_socket_writer_unittest.cc', | 113 'base/buffered_socket_writer_unittest.cc', |
120 'base/capabilities_unittest.cc', | 114 'base/capabilities_unittest.cc', |
121 'base/compound_buffer_unittest.cc', | 115 'base/compound_buffer_unittest.cc', |
122 'base/rate_counter_unittest.cc', | 116 'base/rate_counter_unittest.cc', |
123 'base/resources_unittest.cc', | 117 'base/resources_unittest.cc', |
124 'base/rsa_key_pair_unittest.cc', | 118 'base/rsa_key_pair_unittest.cc', |
125 'base/run_all_unittests.cc', | 119 'base/run_all_unittests.cc', |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 'dependencies': [ | 420 'dependencies': [ |
427 '../base/allocator/allocator.gyp:allocator', | 421 '../base/allocator/allocator.gyp:allocator', |
428 ], | 422 ], |
429 }], | 423 }], |
430 ], # end of 'conditions' | 424 ], # end of 'conditions' |
431 }, # end of target 'remoting_perftests' | 425 }, # end of target 'remoting_perftests' |
432 ] | 426 ] |
433 }] | 427 }] |
434 ] | 428 ] |
435 } | 429 } |
OLD | NEW |