Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: ipc/ipc.gyp

Issue 2069803003: Fold //ipc/mojo into //ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-deps
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ipc/OWNERS ('k') | ipc/ipc.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'ipc_interfaces',
20 '../base/base.gyp:base', 21 '../base/base.gyp:base',
21 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 22 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
22 '../mojo/mojo_public.gyp:mojo_cpp_system', 23 '../mojo/mojo_public.gyp:mojo_cpp_system',
23 ], 24 ],
24 # TODO(gregoryd): direct_dependent_settings should be shared with the 25 # 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 26 # 64-bit target, but it doesn't work due to a bug in gyp
26 'direct_dependent_settings': { 27 'direct_dependent_settings': {
27 'include_dirs': [ 28 'include_dirs': [
28 '..', 29 '..',
29 ], 30 ],
30 }, 31 },
31 'conditions': [ 32 'conditions': [
32 ['OS == "win" or OS == "mac"', { 33 ['OS == "win" or OS == "mac"', {
33 'dependencies': [ 34 'dependencies': [
34 '../crypto/crypto.gyp:crypto', 35 '../crypto/crypto.gyp:crypto',
35 ], 36 ],
36 }], 37 }],
37 ], 38 ],
38 }, 39 },
39 { 40 {
41 'target_name': 'ipc_interfaces',
42 'type': 'none',
43 'variables': {
44 'mojom_files': [
45 'ipc.mojom',
46 ],
47 },
48 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
49 },
50 {
40 'target_name': 'ipc_run_all_unittests', 51 'target_name': 'ipc_run_all_unittests',
41 'type': 'static_library', 52 'type': 'static_library',
42 'dependencies': [ 53 'dependencies': [
43 '../base/base.gyp:base', 54 '../base/base.gyp:base',
44 '../base/base.gyp:test_support_base', 55 '../base/base.gyp:test_support_base',
56 '../mojo/mojo_edk.gyp:mojo_common_test_support',
45 '../mojo/mojo_edk.gyp:mojo_system_impl', 57 '../mojo/mojo_edk.gyp:mojo_system_impl',
46 '../testing/gtest.gyp:gtest', 58 '../testing/gtest.gyp:gtest',
47 ], 59 ],
48 'include_dirs': [ 60 'include_dirs': [
49 '..', 61 '..',
50 ], 62 ],
51 'sources': [ 63 'sources': [
52 'run_all_unittests.cc', 64 'run_all_unittests.cc',
53 ], 65 ],
54 }, 66 },
55 { 67 {
56 'target_name': 'ipc_tests', 68 'target_name': 'ipc_tests',
57 'type': '<(gtest_target_type)', 69 'type': '<(gtest_target_type)',
58 'dependencies': [ 70 'dependencies': [
59 'ipc', 71 'ipc',
60 'ipc_run_all_unittests', 72 'ipc_run_all_unittests',
61 'test_support_ipc', 73 'test_support_ipc',
62 '../base/base.gyp:base', 74 '../base/base.gyp:base',
63 '../base/base.gyp:base_i18n', 75 '../base/base.gyp:base_i18n',
64 '../base/base.gyp:test_support_base', 76 '../base/base.gyp:test_support_base',
65 '../crypto/crypto.gyp:crypto', 77 '../crypto/crypto.gyp:crypto',
78 '../mojo/mojo_public.gyp:mojo_cpp_system',
66 '../testing/gtest.gyp:gtest', 79 '../testing/gtest.gyp:gtest',
67 ], 80 ],
68 'include_dirs': [ 81 'include_dirs': [
69 '..' 82 '..'
70 ], 83 ],
71 'sources': [ 84 'sources': [
72 'attachment_broker_mac_unittest.cc', 85 'attachment_broker_mac_unittest.cc',
73 'attachment_broker_privileged_mac_unittest.cc', 86 'attachment_broker_privileged_mac_unittest.cc',
74 'attachment_broker_privileged_win_unittest.cc', 87 'attachment_broker_privileged_win_unittest.cc',
88 'ipc_channel_mojo_unittest.cc',
75 'ipc_channel_posix_unittest.cc', 89 'ipc_channel_posix_unittest.cc',
76 'ipc_channel_proxy_unittest.cc', 90 'ipc_channel_proxy_unittest.cc',
77 'ipc_channel_reader_unittest.cc', 91 'ipc_channel_reader_unittest.cc',
78 'ipc_channel_unittest.cc', 92 'ipc_channel_unittest.cc',
79 'ipc_fuzzing_tests.cc', 93 'ipc_fuzzing_tests.cc',
80 'ipc_message_attachment_set_posix_unittest.cc', 94 'ipc_message_attachment_set_posix_unittest.cc',
81 'ipc_message_unittest.cc', 95 'ipc_message_unittest.cc',
82 'ipc_message_utils_unittest.cc', 96 'ipc_message_utils_unittest.cc',
97 'ipc_mojo_bootstrap_unittest.cc',
83 'ipc_send_fds_test.cc', 98 'ipc_send_fds_test.cc',
84 'ipc_sync_channel_unittest.cc', 99 'ipc_sync_channel_unittest.cc',
85 'ipc_sync_message_unittest.cc', 100 'ipc_sync_message_unittest.cc',
86 'ipc_sync_message_unittest.h', 101 'ipc_sync_message_unittest.h',
87 'ipc_test_messages.h', 102 'ipc_test_messages.h',
88 'ipc_test_message_generator.cc', 103 'ipc_test_message_generator.cc',
89 'ipc_test_message_generator.h', 104 'ipc_test_message_generator.h',
90 'sync_socket_unittest.cc', 105 'sync_socket_unittest.cc',
91 'unix_domain_socket_util_unittest.cc', 106 'unix_domain_socket_util_unittest.cc',
92 ], 107 ],
(...skipping 22 matching lines...) Expand all
115 { 130 {
116 'target_name': 'ipc_perftests', 131 'target_name': 'ipc_perftests',
117 'type': '<(gtest_target_type)', 132 'type': '<(gtest_target_type)',
118 # TODO(viettrungluu): Figure out which dependencies are really needed. 133 # TODO(viettrungluu): Figure out which dependencies are really needed.
119 'dependencies': [ 134 'dependencies': [
120 'ipc', 135 'ipc',
121 'test_support_ipc', 136 'test_support_ipc',
122 '../base/base.gyp:base', 137 '../base/base.gyp:base',
123 '../base/base.gyp:base_i18n', 138 '../base/base.gyp:base_i18n',
124 '../base/base.gyp:test_support_base', 139 '../base/base.gyp:test_support_base',
125 '../base/base.gyp:test_support_perf', 140 '../mojo/mojo_edk.gyp:mojo_common_test_support',
141 '../mojo/mojo_edk.gyp:mojo_system_impl',
142 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
126 '../testing/gtest.gyp:gtest', 143 '../testing/gtest.gyp:gtest',
127 ], 144 ],
128 'include_dirs': [ 145 'include_dirs': [
129 '..' 146 '..'
130 ], 147 ],
131 'sources': [ 148 'sources': [
149 'ipc_mojo_perftest.cc',
132 'ipc_perftests.cc', 150 'ipc_perftests.cc',
133 'ipc_test_base.cc', 151 'ipc_test_base.cc',
134 'ipc_test_base.h', 152 'ipc_test_base.h',
153 'run_all_perftests.cc',
135 ], 154 ],
136 'conditions': [ 155 'conditions': [
137 ['OS == "android"', { 156 ['OS == "android"', {
138 'dependencies': [ 157 'dependencies': [
139 '../testing/android/native_test.gyp:native_test_native_code', 158 '../testing/android/native_test.gyp:native_test_native_code',
140 ], 159 ],
141 }], 160 }],
142 ], 161 ],
143 }, 162 },
144 { 163 {
(...skipping 25 matching lines...) Expand all
170 'conditions': [ 189 'conditions': [
171 ['OS=="win" and target_arch=="ia32"', { 190 ['OS=="win" and target_arch=="ia32"', {
172 'targets': [ 191 'targets': [
173 { 192 {
174 'target_name': 'ipc_win64', 193 'target_name': 'ipc_win64',
175 'type': '<(component)', 194 'type': '<(component)',
176 'variables': { 195 'variables': {
177 'ipc_target': 1, 196 'ipc_target': 1,
178 }, 197 },
179 'dependencies': [ 198 'dependencies': [
199 'ipc_interfaces',
180 '../base/base.gyp:base_win64', 200 '../base/base.gyp:base_win64',
181 '../crypto/crypto.gyp:crypto_nacl_win64', 201 '../crypto/crypto.gyp:crypto_nacl_win64',
182 '../mojo/mojo_public.gyp:mojo_cpp_bindings_win64', 202 '../mojo/mojo_public.gyp:mojo_cpp_bindings_win64',
183 '../mojo/mojo_public.gyp:mojo_cpp_system_win64', 203 '../mojo/mojo_public.gyp:mojo_cpp_system_win64',
184 ], 204 ],
185 # TODO(gregoryd): direct_dependent_settings should be shared with the 205 # TODO(gregoryd): direct_dependent_settings should be shared with the
186 # 32-bit target, but it doesn't work due to a bug in gyp 206 # 32-bit target, but it doesn't work due to a bug in gyp
187 'direct_dependent_settings': { 207 'direct_dependent_settings': {
188 'include_dirs': [ 208 'include_dirs': [
189 '..', 209 '..',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 '../build/isolate.gypi', 274 '../build/isolate.gypi',
255 ], 275 ],
256 'sources': [ 276 'sources': [
257 'ipc_tests.isolate', 277 'ipc_tests.isolate',
258 ], 278 ],
259 }, 279 },
260 ], 280 ],
261 }], 281 }],
262 ], 282 ],
263 } 283 }
OLDNEW
« no previous file with comments | « ipc/OWNERS ('k') | ipc/ipc.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698