OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_system', | 4 'target_name': 'mojo_system', |
5 'type': '<(component)', | 5 'type': 'static_library', |
6 'defines': [ | 6 'defines': [ |
7 'MOJO_SYSTEM_IMPLEMENTATION', | 7 'MOJO_SYSTEM_IMPLEMENTATION', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
11 ], | 11 ], |
12 'direct_dependent_settings': { | 12 'direct_dependent_settings': { |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..', | 14 '..', |
15 ], | 15 ], |
16 }, | 16 }, |
17 'sources': [ | 17 'sources': [ |
18 'public/c/system/async_waiter.h', | 18 'public/c/system/async_waiter.h', |
19 'public/c/system/core.h', | 19 'public/c/system/core.h', |
20 'public/c/system/macros.h', | 20 'public/c/system/macros.h', |
21 'public/c/system/system_export.h', | 21 'public/c/system/system_export.h', |
22 'public/system/core_private.cc', | 22 'public/platform/native/system_thunks.cc', |
23 'public/system/core_private.h', | 23 'public/platform/native/system_thunks.h', |
24 ], | |
25 'conditions': [ | |
26 ['OS=="mac"', { | |
27 'xcode_settings': { | |
28 # Make it a run-path dependent library. | |
29 'DYLIB_INSTALL_NAME_BASE': '@rpath', | |
30 }, | |
31 'direct_dependent_settings': { | |
32 'xcode_settings': { | |
33 # Look for run-path dependent libraries in the loader's directory. | |
34 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], | |
35 }, | |
36 }, | |
37 }], | |
38 ], | 24 ], |
39 }, | 25 }, |
40 { | 26 { |
41 'target_name': 'mojo_gles2', | 27 'target_name': 'mojo_gles2', |
42 'type': 'shared_library', | 28 'type': 'shared_library', |
43 'defines': [ | 29 'defines': [ |
44 'MOJO_GLES2_IMPLEMENTATION', | 30 'MOJO_GLES2_IMPLEMENTATION', |
45 'GLES2_USE_MOJO', | 31 'GLES2_USE_MOJO', |
46 ], | 32 ], |
47 'include_dirs': [ | 33 'include_dirs': [ |
(...skipping 13 matching lines...) Expand all Loading... |
61 'sources': [ | 47 'sources': [ |
62 'public/c/gles2/gles2.h', | 48 'public/c/gles2/gles2.h', |
63 'public/c/gles2/gles2_export.h', | 49 'public/c/gles2/gles2_export.h', |
64 'public/gles2/gles2_private.cc', | 50 'public/gles2/gles2_private.cc', |
65 'public/gles2/gles2_private.h', | 51 'public/gles2/gles2_private.h', |
66 ], | 52 ], |
67 'conditions': [ | 53 'conditions': [ |
68 ['OS=="mac"', { | 54 ['OS=="mac"', { |
69 'xcode_settings': { | 55 'xcode_settings': { |
70 # Make it a run-path dependent library. | 56 # Make it a run-path dependent library. |
71 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 57 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
72 }, | |
73 'direct_dependent_settings': { | |
74 'xcode_settings': { | |
75 # Look for run-path dependent libraries in the loader's directory. | |
76 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], | |
77 }, | |
78 }, | 58 }, |
79 }], | 59 }], |
80 ], | 60 ], |
81 }, | 61 }, |
82 { | 62 { |
83 'target_name': 'mojo_test_support', | 63 'target_name': 'mojo_test_support', |
84 'type': 'shared_library', | 64 'type': 'shared_library', |
85 'defines': [ | 65 'defines': [ |
86 'MOJO_TEST_SUPPORT_IMPLEMENTATION', | 66 'MOJO_TEST_SUPPORT_IMPLEMENTATION', |
87 ], | 67 ], |
88 'include_dirs': [ | 68 'include_dirs': [ |
89 '..', | 69 '..', |
90 ], | 70 ], |
91 'direct_dependent_settings': { | 71 'direct_dependent_settings': { |
92 'include_dirs': [ | 72 'include_dirs': [ |
93 '..', | 73 '..', |
94 ], | 74 ], |
95 }, | 75 }, |
96 'sources': [ | 76 'sources': [ |
97 'public/c/test_support/test_support.h', | 77 'public/c/test_support/test_support.h', |
98 'public/c/test_support/test_support_export.h', | 78 'public/c/test_support/test_support_export.h', |
99 'public/tests/test_support_private.cc', | 79 'public/tests/test_support_private.cc', |
100 'public/tests/test_support_private.h', | 80 'public/tests/test_support_private.h', |
101 ], | 81 ], |
102 'conditions': [ | 82 'conditions': [ |
103 ['OS=="mac"', { | 83 ['OS=="mac"', { |
104 'xcode_settings': { | 84 'xcode_settings': { |
105 # Make it a run-path dependent library. | 85 # Make it a run-path dependent library. |
106 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 86 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
107 }, | |
108 'direct_dependent_settings': { | |
109 'xcode_settings': { | |
110 # Look for run-path dependent libraries in the loader's directory. | |
111 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], | |
112 }, | |
113 }, | 87 }, |
114 }], | 88 }], |
115 ], | 89 ], |
116 }, | 90 }, |
117 { | 91 { |
118 'target_name': 'mojo_public_test_utils', | 92 'target_name': 'mojo_public_test_utils', |
119 'type': 'static_library', | 93 'type': 'static_library', |
120 'dependencies': [ | 94 'dependencies': [ |
121 '../base/base.gyp:base', | 95 '../base/base.gyp:base', |
122 '../testing/gtest.gyp:gtest', | 96 '../testing/gtest.gyp:gtest', |
123 'mojo_system', | |
124 'mojo_test_support', | 97 'mojo_test_support', |
125 ], | 98 ], |
126 'sources': [ | 99 'sources': [ |
127 'public/cpp/test_support/lib/test_utils.cc', | 100 'public/cpp/test_support/lib/test_utils.cc', |
128 'public/cpp/test_support/test_utils.h', | 101 'public/cpp/test_support/test_utils.h', |
129 ], | 102 ], |
130 }, | 103 }, |
131 # TODO(vtl): Reorganize the mojo_public_*_unittests. | 104 # TODO(vtl): Reorganize the mojo_public_*_unittests. |
132 { | 105 { |
133 'target_name': 'mojo_public_bindings_unittests', | 106 'target_name': 'mojo_public_bindings_unittests', |
134 'type': 'executable', | 107 'type': 'executable', |
135 'dependencies': [ | 108 'dependencies': [ |
136 '../testing/gtest.gyp:gtest', | 109 '../testing/gtest.gyp:gtest', |
137 'mojo_bindings', | 110 'mojo_bindings', |
138 'mojo_environment_standalone', | 111 'mojo_environment_standalone', |
139 'mojo_public_test_utils', | 112 'mojo_public_test_utils', |
140 'mojo_run_all_unittests', | 113 'mojo_run_all_unittests', |
141 'mojo_sample_service', | 114 'mojo_sample_service', |
142 'mojo_system', | |
143 'mojo_utility', | 115 'mojo_utility', |
144 ], | 116 ], |
145 'sources': [ | 117 'sources': [ |
146 'public/cpp/bindings/tests/array_unittest.cc', | 118 'public/cpp/bindings/tests/array_unittest.cc', |
147 'public/cpp/bindings/tests/buffer_unittest.cc', | 119 'public/cpp/bindings/tests/buffer_unittest.cc', |
148 'public/cpp/bindings/tests/connector_unittest.cc', | 120 'public/cpp/bindings/tests/connector_unittest.cc', |
149 'public/cpp/bindings/tests/handle_passing_unittest.cc', | 121 'public/cpp/bindings/tests/handle_passing_unittest.cc', |
150 'public/cpp/bindings/tests/remote_ptr_unittest.cc', | 122 'public/cpp/bindings/tests/remote_ptr_unittest.cc', |
151 'public/cpp/bindings/tests/request_response_unittest.cc', | 123 'public/cpp/bindings/tests/request_response_unittest.cc', |
152 'public/cpp/bindings/tests/router_unittest.cc', | 124 'public/cpp/bindings/tests/router_unittest.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
164 }, | 136 }, |
165 { | 137 { |
166 'target_name': 'mojo_public_environment_unittests', | 138 'target_name': 'mojo_public_environment_unittests', |
167 'type': 'executable', | 139 'type': 'executable', |
168 'dependencies': [ | 140 'dependencies': [ |
169 '../base/base.gyp:base', | 141 '../base/base.gyp:base', |
170 '../testing/gtest.gyp:gtest', | 142 '../testing/gtest.gyp:gtest', |
171 'mojo_environment_standalone', | 143 'mojo_environment_standalone', |
172 'mojo_public_test_utils', | 144 'mojo_public_test_utils', |
173 'mojo_run_all_unittests', | 145 'mojo_run_all_unittests', |
174 'mojo_system', | |
175 'mojo_utility', | 146 'mojo_utility', |
176 ], | 147 ], |
177 'sources': [ | 148 'sources': [ |
178 'public/cpp/environment/tests/async_waiter_unittest.cc', | 149 'public/cpp/environment/tests/async_waiter_unittest.cc', |
179 ], | 150 ], |
180 }, | 151 }, |
181 { | 152 { |
182 'target_name': 'mojo_public_system_unittests', | 153 'target_name': 'mojo_public_system_unittests', |
183 'type': 'executable', | 154 'type': 'executable', |
184 'dependencies': [ | 155 'dependencies': [ |
185 '../base/base.gyp:base', | 156 '../base/base.gyp:base', |
186 '../testing/gtest.gyp:gtest', | 157 '../testing/gtest.gyp:gtest', |
187 'mojo_bindings', | 158 'mojo_bindings', |
188 'mojo_public_test_utils', | 159 'mojo_public_test_utils', |
189 'mojo_run_all_unittests', | 160 'mojo_run_all_unittests', |
190 'mojo_system', | |
191 ], | 161 ], |
192 'sources': [ | 162 'sources': [ |
193 'public/c/system/tests/core_unittest.cc', | 163 'public/c/system/tests/core_unittest.cc', |
194 'public/c/system/tests/core_unittest_pure_c.c', | 164 'public/c/system/tests/core_unittest_pure_c.c', |
195 'public/c/system/tests/macros_unittest.cc', | 165 'public/c/system/tests/macros_unittest.cc', |
196 'public/cpp/system/tests/core_unittest.cc', | 166 'public/cpp/system/tests/core_unittest.cc', |
197 'public/cpp/system/tests/macros_unittest.cc', | 167 'public/cpp/system/tests/macros_unittest.cc', |
198 ], | 168 ], |
199 }, | 169 }, |
200 { | 170 { |
201 'target_name': 'mojo_public_utility_unittests', | 171 'target_name': 'mojo_public_utility_unittests', |
202 'type': 'executable', | 172 'type': 'executable', |
203 'dependencies': [ | 173 'dependencies': [ |
204 '../base/base.gyp:base', | 174 '../base/base.gyp:base', |
205 '../testing/gtest.gyp:gtest', | 175 '../testing/gtest.gyp:gtest', |
206 'mojo_bindings', | 176 'mojo_bindings', |
207 'mojo_public_test_utils', | 177 'mojo_public_test_utils', |
208 'mojo_run_all_unittests', | 178 'mojo_run_all_unittests', |
209 'mojo_system', | |
210 'mojo_utility', | 179 'mojo_utility', |
211 ], | 180 ], |
212 'sources': [ | 181 'sources': [ |
213 'public/cpp/utility/tests/mutex_unittest.cc', | 182 'public/cpp/utility/tests/mutex_unittest.cc', |
214 'public/cpp/utility/tests/run_loop_unittest.cc', | 183 'public/cpp/utility/tests/run_loop_unittest.cc', |
215 'public/cpp/utility/tests/thread_unittest.cc', | 184 'public/cpp/utility/tests/thread_unittest.cc', |
216 ], | 185 ], |
217 'conditions': [ | 186 'conditions': [ |
218 # See crbug.com/342893: | 187 # See crbug.com/342893: |
219 ['OS=="win"', { | 188 ['OS=="win"', { |
220 'sources!': [ | 189 'sources!': [ |
221 'public/cpp/utility/tests/mutex_unittest.cc', | 190 'public/cpp/utility/tests/mutex_unittest.cc', |
222 'public/cpp/utility/tests/thread_unittest.cc', | 191 'public/cpp/utility/tests/thread_unittest.cc', |
223 ], | 192 ], |
224 }], | 193 }], |
225 ], | 194 ], |
226 }, | 195 }, |
227 { | 196 { |
228 'target_name': 'mojo_public_system_perftests', | 197 'target_name': 'mojo_public_system_perftests', |
229 'type': 'executable', | 198 'type': 'executable', |
230 'dependencies': [ | 199 'dependencies': [ |
231 '../base/base.gyp:base', | 200 '../base/base.gyp:base', |
232 '../testing/gtest.gyp:gtest', | 201 '../testing/gtest.gyp:gtest', |
233 'mojo_public_test_utils', | 202 'mojo_public_test_utils', |
234 'mojo_run_all_perftests', | 203 'mojo_run_all_perftests', |
235 'mojo_system', | |
236 'mojo_utility', | 204 'mojo_utility', |
237 ], | 205 ], |
238 'sources': [ | 206 'sources': [ |
239 'public/c/system/tests/core_perftest.cc', | 207 'public/c/system/tests/core_perftest.cc', |
240 ], | 208 ], |
241 }, | 209 }, |
242 { | 210 { |
243 'target_name': 'mojo_bindings', | 211 'target_name': 'mojo_bindings', |
244 'type': 'static_library', | 212 'type': 'static_library', |
245 'include_dirs': [ | 213 'include_dirs': [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 'public/interfaces/bindings/tests/sample_service.mojom', | 262 'public/interfaces/bindings/tests/sample_service.mojom', |
295 'public/interfaces/bindings/tests/sample_import.mojom', | 263 'public/interfaces/bindings/tests/sample_import.mojom', |
296 'public/interfaces/bindings/tests/sample_import2.mojom', | 264 'public/interfaces/bindings/tests/sample_import2.mojom', |
297 ], | 265 ], |
298 'variables': { | 266 'variables': { |
299 'mojom_base_output_dir': 'mojo', | 267 'mojom_base_output_dir': 'mojo', |
300 }, | 268 }, |
301 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 269 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
302 'export_dependent_settings': [ | 270 'export_dependent_settings': [ |
303 'mojo_bindings', | 271 'mojo_bindings', |
304 'mojo_system', | |
305 ], | 272 ], |
306 'dependencies': [ | 273 'dependencies': [ |
307 'mojo_bindings', | 274 'mojo_bindings', |
308 'mojo_system', | |
309 ], | 275 ], |
310 }, | 276 }, |
311 { | 277 { |
312 'target_name': 'mojo_environment_standalone', | 278 'target_name': 'mojo_environment_standalone', |
313 'type': 'static_library', | 279 'type': 'static_library', |
314 'sources': [ | 280 'sources': [ |
315 'public/cpp/environment/buffer_tls.h', | 281 'public/cpp/environment/buffer_tls.h', |
316 'public/cpp/environment/default_async_waiter.h', | 282 'public/cpp/environment/default_async_waiter.h', |
317 'public/cpp/environment/environment.h', | 283 'public/cpp/environment/environment.h', |
318 'public/cpp/environment/lib/default_async_waiter.cc', | 284 'public/cpp/environment/lib/default_async_waiter.cc', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 'type': 'static_library', | 325 'type': 'static_library', |
360 'sources': [ | 326 'sources': [ |
361 'public/interfaces/shell/shell.mojom', | 327 'public/interfaces/shell/shell.mojom', |
362 ], | 328 ], |
363 'variables': { | 329 'variables': { |
364 'mojom_base_output_dir': 'mojo', | 330 'mojom_base_output_dir': 'mojo', |
365 }, | 331 }, |
366 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 332 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
367 'dependencies': [ | 333 'dependencies': [ |
368 'mojo_bindings', | 334 'mojo_bindings', |
369 'mojo_system', | |
370 ], | 335 ], |
371 'export_dependent_settings': [ | 336 'export_dependent_settings': [ |
372 'mojo_bindings', | 337 'mojo_bindings', |
373 ], | 338 ], |
374 }, | 339 }, |
375 { | 340 { |
376 'target_name': 'mojo_shell_client', | 341 'target_name': 'mojo_shell_client', |
377 'type': 'static_library', | 342 'type': 'static_library', |
378 'sources': [ | 343 'sources': [ |
379 'public/cpp/shell/application.h', | 344 'public/cpp/shell/application.h', |
380 'public/cpp/shell/service.h', | 345 'public/cpp/shell/service.h', |
381 'public/cpp/shell/lib/application.cc', | 346 'public/cpp/shell/lib/application.cc', |
382 'public/cpp/shell/lib/service.cc', | 347 'public/cpp/shell/lib/service.cc', |
383 ], | 348 ], |
384 'dependencies': [ | 349 'dependencies': [ |
385 'mojo_shell_bindings', | 350 'mojo_shell_bindings', |
386 ], | 351 ], |
387 'export_dependent_settings': [ | 352 'export_dependent_settings': [ |
388 'mojo_shell_bindings', | 353 'mojo_shell_bindings', |
389 ], | 354 ], |
390 }, | 355 }, |
391 ], | 356 ], |
392 } | 357 } |
OLD | NEW |