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

Side by Side Diff: mojo/mojo.gyp

Issue 106173003: Split mojo_system dylib into public and private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | mojo/mojo_public.gypi » ('j') | mojo/public/system/core_private.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'mojo_apps.gypi', 10 'mojo_apps.gypi',
(...skipping 12 matching lines...) Expand all
23 'mojo_common_lib', 23 'mojo_common_lib',
24 'mojo_common_unittests', 24 'mojo_common_unittests',
25 'mojo_js', 25 'mojo_js',
26 'mojo_js_unittests', 26 'mojo_js_unittests',
27 'mojo_public_perftests', 27 'mojo_public_perftests',
28 'mojo_public_test_support', 28 'mojo_public_test_support',
29 'mojo_public_unittests', 29 'mojo_public_unittests',
30 'mojo_shell', 30 'mojo_shell',
31 'mojo_shell_lib', 31 'mojo_shell_lib',
32 'mojo_system', 32 'mojo_system',
33 'mojo_system_impl',
33 'mojo_system_unittests', 34 'mojo_system_unittests',
34 'sample_app', 35 'sample_app',
35 ], 36 ],
36 }, 37 },
37 { 38 {
38 'target_name': 'mojo_run_all_unittests', 39 'target_name': 'mojo_run_all_unittests',
39 'type': 'static_library', 40 'type': 'static_library',
40 'dependencies': [ 41 'dependencies': [
41 '../base/base.gyp:base', 42 '../base/base.gyp:base',
42 '../base/base.gyp:test_support_base', 43 '../base/base.gyp:test_support_base',
43 '../testing/gtest.gyp:gtest', 44 '../testing/gtest.gyp:gtest',
44 'mojo_system', 45 'mojo_system',
46 'mojo_system_impl',
45 ], 47 ],
46 'sources': [ 48 'sources': [
47 'common/test/multiprocess_test_base.cc', 49 'common/test/multiprocess_test_base.cc',
48 'common/test/multiprocess_test_base.h', 50 'common/test/multiprocess_test_base.h',
49 'common/test/run_all_unittests.cc', 51 'common/test/run_all_unittests.cc',
50 ], 52 ],
51 }, 53 },
52 { 54 {
53 'target_name': 'mojo_run_all_perftests', 55 'target_name': 'mojo_run_all_perftests',
54 'type': 'static_library', 56 'type': 'static_library',
55 'dependencies': [ 57 'dependencies': [
56 '../base/base.gyp:test_support_base', 58 '../base/base.gyp:test_support_base',
57 'mojo_system', 59 'mojo_system',
60 'mojo_system_impl',
58 ], 61 ],
59 'sources': [ 62 'sources': [
60 'common/test/run_all_perftests.cc', 63 'common/test/run_all_perftests.cc',
61 ], 64 ],
62 }, 65 },
63 { 66 {
64 'target_name': 'mojo_system', 67 'target_name': 'mojo_system_impl',
65 'type': '<(component)', 68 'type': '<(component)',
66 'dependencies': [ 69 'dependencies': [
70 'mojo_system',
67 '../base/base.gyp:base', 71 '../base/base.gyp:base',
68 ], 72 ],
69 'defines': [ 73 'defines': [
70 'MOJO_SYSTEM_IMPLEMENTATION', 74 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
71 ], 75 ],
72 'sources': [ 76 'sources': [
73 'system/channel.cc', 77 'system/channel.cc',
74 'system/channel.h', 78 'system/channel.h',
75 'system/core.cc',
76 'system/core_impl.cc', 79 'system/core_impl.cc',
77 'system/core_impl.h', 80 'system/core_impl.h',
78 'system/dispatcher.cc', 81 'system/dispatcher.cc',
79 'system/dispatcher.h', 82 'system/dispatcher.h',
80 'system/limits.h', 83 'system/limits.h',
81 'system/local_message_pipe_endpoint.cc', 84 'system/local_message_pipe_endpoint.cc',
82 'system/local_message_pipe_endpoint.h', 85 'system/local_message_pipe_endpoint.h',
83 'system/memory.cc', 86 'system/memory.cc',
84 'system/memory.h', 87 'system/memory.h',
85 'system/message_in_transit.cc', 88 'system/message_in_transit.cc',
(...skipping 14 matching lines...) Expand all
100 'system/raw_channel.h', 103 'system/raw_channel.h',
101 'system/raw_channel_posix.cc', 104 'system/raw_channel_posix.cc',
102 'system/raw_channel_win.cc', 105 'system/raw_channel_win.cc',
103 'system/simple_dispatcher.cc', 106 'system/simple_dispatcher.cc',
104 'system/simple_dispatcher.h', 107 'system/simple_dispatcher.h',
105 'system/waiter.cc', 108 'system/waiter.cc',
106 'system/waiter.h', 109 'system/waiter.h',
107 'system/waiter_list.cc', 110 'system/waiter_list.cc',
108 'system/waiter_list.h', 111 'system/waiter_list.h',
109 ], 112 ],
110 'direct_dependent_settings': { 113 'direct_dependent_settings': {
viettrungluu 2013/12/09 22:04:25 Do we still need this?
abarth-chromium 2013/12/09 22:48:34 Yes. The alternative is that I could export depen
111 'include_dirs': [ 114 'include_dirs': [
112 '..', 115 '..',
113 ], 116 ],
114 }, 117 },
115 }, 118 },
116 { 119 {
117 'target_name': 'mojo_system_unittests', 120 'target_name': 'mojo_system_unittests',
118 'type': 'executable', 121 'type': 'executable',
119 'dependencies': [ 122 'dependencies': [
120 '../base/base.gyp:run_all_unittests', 123 '../base/base.gyp:run_all_unittests',
121 '../testing/gtest.gyp:gtest', 124 '../testing/gtest.gyp:gtest',
122 'mojo_system', 125 'mojo_system',
126 'mojo_system_impl',
123 ], 127 ],
124 'sources': [ 128 'sources': [
125 'system/core_impl_unittest.cc', 129 'system/core_impl_unittest.cc',
126 'system/core_test_base.cc', 130 'system/core_test_base.cc',
127 'system/core_test_base.h', 131 'system/core_test_base.h',
128 'system/dispatcher_unittest.cc', 132 'system/dispatcher_unittest.cc',
129 'system/message_pipe_dispatcher_unittest.cc', 133 'system/message_pipe_dispatcher_unittest.cc',
130 'system/message_pipe_unittest.cc', 134 'system/message_pipe_unittest.cc',
131 'system/raw_channel_posix_unittest.cc', 135 'system/raw_channel_posix_unittest.cc',
132 'system/remote_message_pipe_posix_unittest.cc', 136 'system/remote_message_pipe_posix_unittest.cc',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 'type': 'executable', 192 'type': 'executable',
189 'dependencies': [ 193 'dependencies': [
190 '../base/base.gyp:base', 194 '../base/base.gyp:base',
191 '../base/base.gyp:base_message_loop_tests', 195 '../base/base.gyp:base_message_loop_tests',
192 '../testing/gtest.gyp:gtest', 196 '../testing/gtest.gyp:gtest',
193 'mojo_bindings', 197 'mojo_bindings',
194 'mojo_common_lib', 198 'mojo_common_lib',
195 'mojo_public_test_support', 199 'mojo_public_test_support',
196 'mojo_run_all_unittests', 200 'mojo_run_all_unittests',
197 'mojo_system', 201 'mojo_system',
202 'mojo_system_impl',
198 ], 203 ],
199 'sources': [ 204 'sources': [
200 'common/common_type_converters_unittest.cc', 205 'common/common_type_converters_unittest.cc',
201 'common/handle_watcher_unittest.cc', 206 'common/handle_watcher_unittest.cc',
202 'common/message_pump_mojo_unittest.cc', 207 'common/message_pump_mojo_unittest.cc',
203 'common/test/multiprocess_test_base_unittest.cc', 208 'common/test/multiprocess_test_base_unittest.cc',
204 ], 209 ],
205 'conditions': [ 210 'conditions': [
206 ['OS == "win"', { 211 ['OS == "win"', {
207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 212 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
208 'msvs_disabled_warnings': [ 213 'msvs_disabled_warnings': [
209 4267, 214 4267,
210 ], 215 ],
211 }], 216 }],
212 ], 217 ],
213 }, 218 },
214 { 219 {
215 'target_name': 'mojo_shell_lib', 220 'target_name': 'mojo_shell_lib',
216 'type': 'static_library', 221 'type': 'static_library',
217 'dependencies': [ 222 'dependencies': [
218 '../base/base.gyp:base', 223 '../base/base.gyp:base',
219 '../net/net.gyp:net', 224 '../net/net.gyp:net',
220 '../url/url.gyp:url_lib', 225 '../url/url.gyp:url_lib',
221 'mojo_bindings', 226 'mojo_bindings',
222 'mojo_system', 227 'mojo_system',
228 'mojo_system_impl',
223 'mojo_native_viewport_service', 229 'mojo_native_viewport_service',
224 ], 230 ],
225 'sources': [ 231 'sources': [
226 'shell/app_container.cc', 232 'shell/app_container.cc',
227 'shell/app_container.h', 233 'shell/app_container.h',
228 'shell/context.cc', 234 'shell/context.cc',
229 'shell/context.h', 235 'shell/context.h',
230 'shell/init.cc', 236 'shell/init.cc',
231 'shell/init.h', 237 'shell/init.h',
232 'shell/loader.cc', 238 'shell/loader.cc',
(...skipping 23 matching lines...) Expand all
256 { 262 {
257 'target_name': 'mojo_shell', 263 'target_name': 'mojo_shell',
258 'type': 'executable', 264 'type': 'executable',
259 'dependencies': [ 265 'dependencies': [
260 '../base/base.gyp:base', 266 '../base/base.gyp:base',
261 '../ui/gl/gl.gyp:gl', 267 '../ui/gl/gl.gyp:gl',
262 '../url/url.gyp:url_lib', 268 '../url/url.gyp:url_lib',
263 'mojo_common_lib', 269 'mojo_common_lib',
264 'mojo_shell_lib', 270 'mojo_shell_lib',
265 'mojo_system', 271 'mojo_system',
272 'mojo_system_impl',
266 ], 273 ],
267 'sources': [ 274 'sources': [
268 'shell/desktop/mojo_main.cc', 275 'shell/desktop/mojo_main.cc',
269 ], 276 ],
270 'conditions': [ 277 'conditions': [
271 ['OS == "win"', { 278 ['OS == "win"', {
272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 279 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
273 'msvs_disabled_warnings': [ 280 'msvs_disabled_warnings': [
274 4267, 281 4267,
275 ], 282 ],
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', 359 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
353 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', 360 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
354 'native_lib_target': 'libmojo_shell', 361 'native_lib_target': 'libmojo_shell',
355 }, 362 },
356 'includes': [ '../build/java_apk.gypi' ], 363 'includes': [ '../build/java_apk.gypi' ],
357 } 364 }
358 ], 365 ],
359 }], 366 }],
360 ], 367 ],
361 } 368 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo_public.gypi » ('j') | mojo/public/system/core_private.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698