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