OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'ipc.gypi', | 10 'ipc.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'ipc', | 14 'target_name': 'ipc', |
15 'type': '<(component)', | 15 'type': '<(component)', |
16 'variables': { | 16 'variables': { |
17 'ipc_target': 1, | 17 'ipc_target': 1, |
18 }, | 18 }, |
19 'dependencies': [ | 19 'dependencies': [ |
20 '../base/base.gyp:base', | 20 '../base/base.gyp:base', |
21 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 21 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
23 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
24 '../mojo/mojo_public.gyp:mojo_cpp_system', | |
25 ], | 23 ], |
26 # TODO(gregoryd): direct_dependent_settings should be shared with the | 24 # TODO(gregoryd): direct_dependent_settings should be shared with the |
27 # 64-bit target, but it doesn't work due to a bug in gyp | 25 # 64-bit target, but it doesn't work due to a bug in gyp |
28 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
29 'include_dirs': [ | 27 'include_dirs': [ |
30 '..', | 28 '..', |
31 ], | 29 ], |
32 }, | 30 }, |
33 'conditions': [ | 31 'conditions': [ |
34 ['OS == "win" or OS == "mac"', { | 32 ['OS == "win" or OS == "mac"', { |
35 'dependencies': [ | 33 'dependencies': [ |
36 '../crypto/crypto.gyp:crypto', | 34 '../crypto/crypto.gyp:crypto', |
37 ], | 35 ], |
38 }], | 36 }], |
39 ], | 37 ], |
40 }, | 38 }, |
41 { | 39 { |
42 'target_name': 'ipc_run_all_unittests', | |
43 'type': 'static_library', | |
44 'dependencies': [ | |
45 '../base/base.gyp:base', | |
46 '../base/base.gyp:test_support_base', | |
47 '../mojo/mojo_edk.gyp:mojo_system_impl', | |
48 '../testing/gtest.gyp:gtest', | |
49 ], | |
50 'include_dirs': [ | |
51 '..', | |
52 ], | |
53 'sources': [ | |
54 'run_all_unittests.cc', | |
55 ], | |
56 }, | |
57 { | |
58 'target_name': 'ipc_tests', | 40 'target_name': 'ipc_tests', |
59 'type': '<(gtest_target_type)', | 41 'type': '<(gtest_target_type)', |
60 'dependencies': [ | 42 'dependencies': [ |
61 'ipc', | 43 'ipc', |
62 'ipc_run_all_unittests', | |
63 'test_support_ipc', | 44 'test_support_ipc', |
64 '../base/base.gyp:base', | 45 '../base/base.gyp:base', |
65 '../base/base.gyp:base_i18n', | 46 '../base/base.gyp:base_i18n', |
66 '../base/base.gyp:test_support_base', | 47 '../base/base.gyp:test_support_base', |
67 '../crypto/crypto.gyp:crypto', | 48 '../crypto/crypto.gyp:crypto', |
68 '../testing/gtest.gyp:gtest', | 49 '../testing/gtest.gyp:gtest', |
69 ], | 50 ], |
70 'include_dirs': [ | 51 'include_dirs': [ |
71 '..' | 52 '..' |
72 ], | 53 ], |
73 'sources': [ | 54 'sources': [ |
74 'attachment_broker_mac_unittest.cc', | 55 'attachment_broker_mac_unittest.cc', |
75 'attachment_broker_privileged_mac_unittest.cc', | 56 'attachment_broker_privileged_mac_unittest.cc', |
76 'attachment_broker_privileged_win_unittest.cc', | 57 'attachment_broker_privileged_win_unittest.cc', |
77 'ipc_channel_posix_unittest.cc', | 58 'ipc_channel_posix_unittest.cc', |
78 'ipc_channel_proxy_unittest.cc', | 59 'ipc_channel_proxy_unittest.cc', |
79 'ipc_channel_reader_unittest.cc', | 60 'ipc_channel_reader_unittest.cc', |
80 'ipc_channel_unittest.cc', | 61 'ipc_channel_unittest.cc', |
81 'ipc_fuzzing_tests.cc', | 62 'ipc_fuzzing_tests.cc', |
82 'ipc_message_attachment_set_posix_unittest.cc', | 63 'ipc_message_attachment_set_posix_unittest.cc', |
83 'ipc_message_unittest.cc', | 64 'ipc_message_unittest.cc', |
84 'ipc_message_utils_unittest.cc', | 65 'ipc_message_utils_unittest.cc', |
85 'ipc_send_fds_test.cc', | 66 'ipc_send_fds_test.cc', |
86 'ipc_sync_channel_unittest.cc', | 67 'ipc_sync_channel_unittest.cc', |
87 'ipc_sync_message_unittest.cc', | 68 'ipc_sync_message_unittest.cc', |
88 'ipc_sync_message_unittest.h', | 69 'ipc_sync_message_unittest.h', |
89 'ipc_test_messages.h', | 70 'ipc_test_messages.h', |
90 'ipc_test_message_generator.cc', | 71 'ipc_test_message_generator.cc', |
91 'ipc_test_message_generator.h', | 72 'ipc_test_message_generator.h', |
| 73 'run_all_unittests.cc', |
92 'sync_socket_unittest.cc', | 74 'sync_socket_unittest.cc', |
93 'unix_domain_socket_util_unittest.cc', | 75 'unix_domain_socket_util_unittest.cc', |
94 ], | 76 ], |
95 'conditions': [ | 77 'conditions': [ |
96 ['OS == "win" or OS == "ios"', { | 78 ['OS == "win" or OS == "ios"', { |
97 'sources!': [ | 79 'sources!': [ |
98 'unix_domain_socket_util_unittest.cc', | 80 'unix_domain_socket_util_unittest.cc', |
99 ], | 81 ], |
100 }], | 82 }], |
101 ['OS == "android"', { | 83 ['OS == "android"', { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 'type': '<(component)', | 159 'type': '<(component)', |
178 'variables': { | 160 'variables': { |
179 'ipc_target': 1, | 161 'ipc_target': 1, |
180 }, | 162 }, |
181 'dependencies': [ | 163 'dependencies': [ |
182 '../base/base.gyp:base_win64', | 164 '../base/base.gyp:base_win64', |
183 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is | 165 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is |
184 # suspect. | 166 # suspect. |
185 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations_win64', | 167 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations_win64', |
186 '../crypto/crypto.gyp:crypto_nacl_win64', | 168 '../crypto/crypto.gyp:crypto_nacl_win64', |
187 '../mojo/mojo_public.gyp:mojo_cpp_bindings_win64', | |
188 '../mojo/mojo_public.gyp:mojo_cpp_system_win64', | |
189 ], | 169 ], |
190 # TODO(gregoryd): direct_dependent_settings should be shared with the | 170 # TODO(gregoryd): direct_dependent_settings should be shared with the |
191 # 32-bit target, but it doesn't work due to a bug in gyp | 171 # 32-bit target, but it doesn't work due to a bug in gyp |
192 'direct_dependent_settings': { | 172 'direct_dependent_settings': { |
193 'include_dirs': [ | 173 'include_dirs': [ |
194 '..', | 174 '..', |
195 ], | 175 ], |
196 }, | 176 }, |
197 'configurations': { | 177 'configurations': { |
198 'Common_Base': { | 178 'Common_Base': { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 '../build/isolate.gypi', | 239 '../build/isolate.gypi', |
260 ], | 240 ], |
261 'sources': [ | 241 'sources': [ |
262 'ipc_tests.isolate', | 242 'ipc_tests.isolate', |
263 ], | 243 ], |
264 }, | 244 }, |
265 ], | 245 ], |
266 }], | 246 }], |
267 ], | 247 ], |
268 } | 248 } |
OLD | NEW |