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_examples.gypi', | 10 'mojo_examples.gypi', |
11 'mojo_public.gypi', | 11 'mojo_public.gypi', |
12 'mojo_services.gypi', | 12 'mojo_services.gypi', |
13 ], | 13 ], |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'mojo', | 16 'target_name': 'mojo', |
17 'type': 'none', | 17 'type': 'none', |
18 'dependencies': [ | 18 'dependencies': [ |
19 'hello_world_service_impl', | 19 'hello_world_service', |
20 'mojo_bindings', | 20 'mojo_bindings', |
21 'mojo_bindings_unittests', | 21 'mojo_bindings_unittests', |
22 'mojo_common_lib', | 22 'mojo_common_lib', |
23 'mojo_common_unittests', | 23 'mojo_common_unittests', |
24 'mojo_js', | 24 'mojo_js', |
25 'mojo_js_bindings', | 25 'mojo_js_bindings', |
26 'mojo_js_bindings_unittests', | 26 'mojo_js_bindings_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', |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'system/simple_dispatcher_unittest.cc', | 129 'system/simple_dispatcher_unittest.cc', |
130 'system/test_utils.cc', | 130 'system/test_utils.cc', |
131 'system/test_utils.h', | 131 'system/test_utils.h', |
132 'system/waiter_list_unittest.cc', | 132 'system/waiter_list_unittest.cc', |
133 'system/waiter_test_utils.cc', | 133 'system/waiter_test_utils.cc', |
134 'system/waiter_test_utils.h', | 134 'system/waiter_test_utils.h', |
135 'system/waiter_unittest.cc', | 135 'system/waiter_unittest.cc', |
136 ], | 136 ], |
137 }, | 137 }, |
138 { | 138 { |
| 139 'target_name': 'mojo_gles2', |
| 140 'type': '<(component)', |
| 141 'dependencies': [ |
| 142 '../gpu/gpu.gyp:gles2_c_lib', |
| 143 ], |
| 144 'defines': [ |
| 145 'MOJO_GLES2_IMPLEMENTATION', |
| 146 ], |
| 147 'sources': [ |
| 148 'gles2/adaptor.cc', |
| 149 ], |
| 150 }, |
| 151 { |
139 'target_name': 'mojo_common_lib', | 152 'target_name': 'mojo_common_lib', |
140 'type': '<(component)', | 153 'type': '<(component)', |
141 'defines': [ | 154 'defines': [ |
142 'MOJO_COMMON_IMPLEMENTATION', | 155 'MOJO_COMMON_IMPLEMENTATION', |
143 ], | 156 ], |
144 'dependencies': [ | 157 'dependencies': [ |
145 '../base/base.gyp:base', | 158 '../base/base.gyp:base', |
146 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 159 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
147 'mojo_system', | 160 'mojo_system', |
148 ], | 161 ], |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 }, | 208 }, |
196 { | 209 { |
197 'target_name': 'mojo_shell_lib', | 210 'target_name': 'mojo_shell_lib', |
198 'type': 'static_library', | 211 'type': 'static_library', |
199 'dependencies': [ | 212 'dependencies': [ |
200 '../base/base.gyp:base', | 213 '../base/base.gyp:base', |
201 '../net/net.gyp:net', | 214 '../net/net.gyp:net', |
202 '../url/url.gyp:url_lib', | 215 '../url/url.gyp:url_lib', |
203 'mojo_bindings', | 216 'mojo_bindings', |
204 'mojo_system', | 217 'mojo_system', |
205 'native_viewport_impl', | 218 'mojo_native_viewport_service', |
206 ], | 219 ], |
207 'sources': [ | 220 'sources': [ |
208 'shell/app_container.cc', | 221 'shell/app_container.cc', |
209 'shell/app_container.h', | 222 'shell/app_container.h', |
210 'shell/context.cc', | 223 'shell/context.cc', |
211 'shell/context.h', | 224 'shell/context.h', |
212 'shell/init.cc', | 225 'shell/init.cc', |
213 'shell/init.h', | 226 'shell/init.h', |
214 'shell/loader.cc', | 227 'shell/loader.cc', |
215 'shell/loader.h', | 228 'shell/loader.h', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 ], | 270 ], |
258 }], | 271 }], |
259 ], | 272 ], |
260 }, | 273 }, |
261 { | 274 { |
262 'target_name': 'mojo_js', | 275 'target_name': 'mojo_js', |
263 'type': 'shared_library', | 276 'type': 'shared_library', |
264 'dependencies': [ | 277 'dependencies': [ |
265 '../base/base.gyp:base', | 278 '../base/base.gyp:base', |
266 '../gin/gin.gyp:gin', | 279 '../gin/gin.gyp:gin', |
267 'hello_world_service', | 280 'hello_world_bindings', |
268 'mojo_common_lib', | 281 'mojo_common_lib', |
269 'mojo_js_bindings', | 282 'mojo_js_bindings', |
270 'mojo_system', | 283 'mojo_system', |
271 ], | 284 ], |
272 'sources': [ | 285 'sources': [ |
273 'apps/js/main.cc', | 286 'apps/js/main.cc', |
274 'apps/js/mojo_runner_delegate.cc', | 287 'apps/js/mojo_runner_delegate.cc', |
275 'apps/js/mojo_runner_delegate.h', | 288 'apps/js/mojo_runner_delegate.h', |
276 'apps/js/threading.cc', | 289 'apps/js/threading.cc', |
277 'apps/js/threading.h', | 290 'apps/js/threading.h', |
278 ], | 291 ], |
279 }, | 292 }, |
280 ], | 293 ], |
281 'conditions': [ | 294 'conditions': [ |
282 ['OS=="android"', { | 295 ['OS=="android"', { |
283 'targets': [ | 296 'targets': [ |
284 { | 297 { |
285 'target_name': 'native_viewport_java', | 298 'target_name': 'mojo_native_viewport_java', |
286 'type': 'none', | 299 'type': 'none', |
287 'dependencies': [ | 300 'dependencies': [ |
288 '../base/base.gyp:base_java', | 301 '../base/base.gyp:base_java', |
289 ], | 302 ], |
290 'variables': { | 303 'variables': { |
291 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', | 304 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
292 }, | 305 }, |
293 'includes': [ '../build/java.gypi' ], | 306 'includes': [ '../build/java.gypi' ], |
294 }, | 307 }, |
295 { | 308 { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 'shell/android/mojo_main.cc', | 351 'shell/android/mojo_main.cc', |
339 'shell/android/mojo_main.h', | 352 'shell/android/mojo_main.h', |
340 ], | 353 ], |
341 }, | 354 }, |
342 { | 355 { |
343 'target_name': 'mojo_shell_apk', | 356 'target_name': 'mojo_shell_apk', |
344 'type': 'none', | 357 'type': 'none', |
345 'dependencies': [ | 358 'dependencies': [ |
346 '../base/base.gyp:base_java', | 359 '../base/base.gyp:base_java', |
347 '../net/net.gyp:net_java', | 360 '../net/net.gyp:net_java', |
348 'native_viewport_java', | 361 'mojo_native_viewport_java', |
349 'libmojo_shell', | 362 'libmojo_shell', |
350 ], | 363 ], |
351 'variables': { | 364 'variables': { |
352 'apk_name': 'MojoShell', | 365 'apk_name': 'MojoShell', |
353 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 366 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
354 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 367 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
355 'native_lib_target': 'libmojo_shell', | 368 'native_lib_target': 'libmojo_shell', |
356 }, | 369 }, |
357 'includes': [ '../build/java_apk.gypi' ], | 370 'includes': [ '../build/java_apk.gypi' ], |
358 } | 371 } |
359 ], | 372 ], |
360 }], | 373 }], |
361 ], | 374 ], |
362 } | 375 } |
OLD | NEW |