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_support', | 9 'target_name': 'remoting_test_support', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
13 '../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': [ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ], | 106 ], |
108 'conditions': [ | 107 'conditions': [ |
109 ['enable_remoting_host == 0', { | 108 ['enable_remoting_host == 0', { |
110 'dependencies!': [ | 109 'dependencies!': [ |
111 'remoting_host', | 110 'remoting_host', |
112 ], | 111 ], |
113 'sources/': [ | 112 'sources/': [ |
114 ['exclude', '^host/'], | 113 ['exclude', '^host/'], |
115 ] | 114 ] |
116 }], | 115 }], |
| 116 ['configuration_policy == 1', { |
| 117 'dependencies': [ |
| 118 '../components/components.gyp:policy_component_test_support', |
| 119 ], |
| 120 }], |
117 ], | 121 ], |
118 }, | 122 }, |
119 { | 123 { |
120 'target_name': 'chromoting_test_driver', | 124 'target_name': 'chromoting_test_driver', |
121 'type': '<(gtest_target_type)', | 125 'type': '<(gtest_target_type)', |
122 'dependencies': [ | 126 'dependencies': [ |
123 '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib', | 127 '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib', |
124 '../testing/gtest.gyp:gtest', | 128 '../testing/gtest.gyp:gtest', |
125 'remoting_test_support', | 129 'remoting_test_support', |
126 ], | 130 ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 { | 173 { |
170 # GN version: //remoting:remoting_unittests | 174 # GN version: //remoting:remoting_unittests |
171 # Note that many of the sources are broken out into subdir-specific unit | 175 # Note that many of the sources are broken out into subdir-specific unit |
172 # test source set targets that then GN version then brings together. | 176 # test source set targets that then GN version then brings together. |
173 'target_name': 'remoting_unittests', | 177 'target_name': 'remoting_unittests', |
174 'type': '<(gtest_target_type)', | 178 'type': '<(gtest_target_type)', |
175 'dependencies': [ | 179 'dependencies': [ |
176 '../base/base.gyp:base', | 180 '../base/base.gyp:base', |
177 '../base/base.gyp:base_i18n', | 181 '../base/base.gyp:base_i18n', |
178 '../base/base.gyp:test_support_base', | 182 '../base/base.gyp:test_support_base', |
179 '../components/components.gyp:policy', | |
180 '../ipc/ipc.gyp:ipc', | 183 '../ipc/ipc.gyp:ipc', |
181 '../net/net.gyp:net_test_support', | 184 '../net/net.gyp:net_test_support', |
182 '../ppapi/ppapi.gyp:ppapi_cpp', | 185 '../ppapi/ppapi.gyp:ppapi_cpp', |
183 '../testing/gmock.gyp:gmock', | 186 '../testing/gmock.gyp:gmock', |
184 '../testing/gtest.gyp:gtest', | 187 '../testing/gtest.gyp:gtest', |
185 '../third_party/libyuv/libyuv.gyp:libyuv', | 188 '../third_party/libyuv/libyuv.gyp:libyuv', |
186 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 189 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
187 '../ui/base/ui_base.gyp:ui_base', | 190 '../ui/base/ui_base.gyp:ui_base', |
188 '../ui/gfx/gfx.gyp:gfx', | 191 '../ui/gfx/gfx.gyp:gfx', |
189 '../ui/gfx/gfx.gyp:gfx_geometry', | 192 '../ui/gfx/gfx.gyp:gfx_geometry', |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 'sources/': [ | 394 'sources/': [ |
392 ['exclude', '^codec/'], | 395 ['exclude', '^codec/'], |
393 ['exclude', '^host/'], | 396 ['exclude', '^host/'], |
394 ] | 397 ] |
395 }], | 398 }], |
396 [ 'OS == "linux" and use_allocator!="none"', { | 399 [ 'OS == "linux" and use_allocator!="none"', { |
397 'dependencies': [ | 400 'dependencies': [ |
398 '../base/allocator/allocator.gyp:allocator', | 401 '../base/allocator/allocator.gyp:allocator', |
399 ], | 402 ], |
400 }], | 403 }], |
| 404 ['configuration_policy == 1', { |
| 405 'dependencies': [ |
| 406 '../components/components.gyp:policy', |
| 407 ], |
| 408 }], |
401 ], # end of 'conditions' | 409 ], # end of 'conditions' |
402 }, # end of target 'remoting_unittests' | 410 }, # end of target 'remoting_unittests' |
403 { | 411 { |
404 # GN version: //remoting/webapp:browser_test_resources | 412 # GN version: //remoting/webapp:browser_test_resources |
405 'target_name': 'remoting_browser_test_resources', | 413 'target_name': 'remoting_browser_test_resources', |
406 'type': 'none', | 414 'type': 'none', |
407 'copies': [ | 415 'copies': [ |
408 { | 416 { |
409 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', | 417 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', |
410 'files': [ | 418 'files': [ |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 '../build/isolate.gypi', | 613 '../build/isolate.gypi', |
606 ], | 614 ], |
607 'sources': [ | 615 'sources': [ |
608 'remoting_unittests.isolate', | 616 'remoting_unittests.isolate', |
609 ], | 617 ], |
610 }, | 618 }, |
611 ], | 619 ], |
612 }], | 620 }], |
613 ] # end of 'conditions' | 621 ] # end of 'conditions' |
614 } | 622 } |
OLD | NEW |