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