OLD | NEW |
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 Loading... |
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 Loading... |
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': { | |
111 'include_dirs': [ | |
112 '..', | |
113 ], | |
114 }, | |
115 }, | 113 }, |
116 { | 114 { |
117 'target_name': 'mojo_system_unittests', | 115 'target_name': 'mojo_system_unittests', |
118 'type': 'executable', | 116 'type': 'executable', |
119 'dependencies': [ | 117 'dependencies': [ |
120 '../base/base.gyp:run_all_unittests', | 118 '../base/base.gyp:run_all_unittests', |
121 '../testing/gtest.gyp:gtest', | 119 '../testing/gtest.gyp:gtest', |
122 'mojo_system', | 120 'mojo_system', |
| 121 'mojo_system_impl', |
123 ], | 122 ], |
124 'sources': [ | 123 'sources': [ |
125 'system/core_impl_unittest.cc', | 124 'system/core_impl_unittest.cc', |
126 'system/core_test_base.cc', | 125 'system/core_test_base.cc', |
127 'system/core_test_base.h', | 126 'system/core_test_base.h', |
128 'system/dispatcher_unittest.cc', | 127 'system/dispatcher_unittest.cc', |
129 'system/message_pipe_dispatcher_unittest.cc', | 128 'system/message_pipe_dispatcher_unittest.cc', |
130 'system/message_pipe_unittest.cc', | 129 'system/message_pipe_unittest.cc', |
131 'system/raw_channel_posix_unittest.cc', | 130 'system/raw_channel_posix_unittest.cc', |
132 'system/remote_message_pipe_posix_unittest.cc', | 131 'system/remote_message_pipe_posix_unittest.cc', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 'type': 'executable', | 187 'type': 'executable', |
189 'dependencies': [ | 188 'dependencies': [ |
190 '../base/base.gyp:base', | 189 '../base/base.gyp:base', |
191 '../base/base.gyp:base_message_loop_tests', | 190 '../base/base.gyp:base_message_loop_tests', |
192 '../testing/gtest.gyp:gtest', | 191 '../testing/gtest.gyp:gtest', |
193 'mojo_bindings', | 192 'mojo_bindings', |
194 'mojo_common_lib', | 193 'mojo_common_lib', |
195 'mojo_public_test_support', | 194 'mojo_public_test_support', |
196 'mojo_run_all_unittests', | 195 'mojo_run_all_unittests', |
197 'mojo_system', | 196 'mojo_system', |
| 197 'mojo_system_impl', |
198 ], | 198 ], |
199 'sources': [ | 199 'sources': [ |
200 'common/common_type_converters_unittest.cc', | 200 'common/common_type_converters_unittest.cc', |
201 'common/handle_watcher_unittest.cc', | 201 'common/handle_watcher_unittest.cc', |
202 'common/message_pump_mojo_unittest.cc', | 202 'common/message_pump_mojo_unittest.cc', |
203 'common/test/multiprocess_test_base_unittest.cc', | 203 'common/test/multiprocess_test_base_unittest.cc', |
204 ], | 204 ], |
205 'conditions': [ | 205 'conditions': [ |
206 ['OS == "win"', { | 206 ['OS == "win"', { |
207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
208 'msvs_disabled_warnings': [ | 208 'msvs_disabled_warnings': [ |
209 4267, | 209 4267, |
210 ], | 210 ], |
211 }], | 211 }], |
212 ], | 212 ], |
213 }, | 213 }, |
214 { | 214 { |
215 'target_name': 'mojo_shell_lib', | 215 'target_name': 'mojo_shell_lib', |
216 'type': 'static_library', | 216 'type': 'static_library', |
217 'dependencies': [ | 217 'dependencies': [ |
218 '../base/base.gyp:base', | 218 '../base/base.gyp:base', |
219 '../net/net.gyp:net', | 219 '../net/net.gyp:net', |
220 '../url/url.gyp:url_lib', | 220 '../url/url.gyp:url_lib', |
221 'mojo_bindings', | 221 'mojo_bindings', |
222 'mojo_system', | 222 'mojo_system', |
| 223 'mojo_system_impl', |
223 'mojo_native_viewport_service', | 224 'mojo_native_viewport_service', |
224 ], | 225 ], |
225 'sources': [ | 226 'sources': [ |
226 'shell/app_container.cc', | 227 'shell/app_container.cc', |
227 'shell/app_container.h', | 228 'shell/app_container.h', |
228 'shell/context.cc', | 229 'shell/context.cc', |
229 'shell/context.h', | 230 'shell/context.h', |
230 'shell/init.cc', | 231 'shell/init.cc', |
231 'shell/init.h', | 232 'shell/init.h', |
232 'shell/loader.cc', | 233 'shell/loader.cc', |
(...skipping 23 matching lines...) Expand all Loading... |
256 { | 257 { |
257 'target_name': 'mojo_shell', | 258 'target_name': 'mojo_shell', |
258 'type': 'executable', | 259 'type': 'executable', |
259 'dependencies': [ | 260 'dependencies': [ |
260 '../base/base.gyp:base', | 261 '../base/base.gyp:base', |
261 '../ui/gl/gl.gyp:gl', | 262 '../ui/gl/gl.gyp:gl', |
262 '../url/url.gyp:url_lib', | 263 '../url/url.gyp:url_lib', |
263 'mojo_common_lib', | 264 'mojo_common_lib', |
264 'mojo_shell_lib', | 265 'mojo_shell_lib', |
265 'mojo_system', | 266 'mojo_system', |
| 267 'mojo_system_impl', |
266 ], | 268 ], |
267 'sources': [ | 269 'sources': [ |
268 'shell/desktop/mojo_main.cc', | 270 'shell/desktop/mojo_main.cc', |
269 ], | 271 ], |
270 'conditions': [ | 272 'conditions': [ |
271 ['OS == "win"', { | 273 ['OS == "win"', { |
272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 274 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
273 'msvs_disabled_warnings': [ | 275 'msvs_disabled_warnings': [ |
274 4267, | 276 4267, |
275 ], | 277 ], |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 354 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
353 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 355 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
354 'native_lib_target': 'libmojo_shell', | 356 'native_lib_target': 'libmojo_shell', |
355 }, | 357 }, |
356 'includes': [ '../build/java_apk.gypi' ], | 358 'includes': [ '../build/java_apk.gypi' ], |
357 } | 359 } |
358 ], | 360 ], |
359 }], | 361 }], |
360 ], | 362 ], |
361 } | 363 } |
OLD | NEW |