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

Side by Side Diff: mojo/mojo.gyp

Issue 59153005: Begin implementing V8 bindings for Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar copyright Created 7 years, 1 month 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
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 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'mojo', 11 'target_name': 'mojo',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 'mojo_common_lib', 14 'mojo_common_lib',
15 'mojo_common_unittests', 15 'mojo_common_unittests',
16 'mojo_public_test_support', 16 'mojo_public_test_support',
17 'mojo_public_unittests', 17 'mojo_public_unittests',
18 'mojo_public_perftests', 18 'mojo_public_perftests',
19 'mojo_system', 19 'mojo_system',
20 'mojo_system_unittests', 20 'mojo_system_unittests',
21 'mojo_shell_lib', 21 'mojo_shell_lib',
22 'mojo_shell', 22 'mojo_shell',
23 'mojo_utility', 23 'mojo_utility',
24 'mojo_js', 24 'mojo_js',
25 'sample_app', 25 'sample_app',
26 'mojo_bindings', 26 'mojo_bindings',
27 'mojo_bindings_test', 27 'mojo_bindings_test',
28 'native_viewport', 28 'mojo_js_bindings',
29 'mojo_js_bindings_unittests',
30 'mojo_bindings',
29 ], 31 ],
30 }, 32 },
31 { 33 {
32 'target_name': 'mojo_public_test_support', 34 'target_name': 'mojo_public_test_support',
33 'type': 'static_library', 35 'type': 'static_library',
34 'dependencies': [ 36 'dependencies': [
35 '../base/base.gyp:base', 37 '../base/base.gyp:base',
36 '../testing/gtest.gyp:gtest', 38 '../testing/gtest.gyp:gtest',
37 'mojo_system', 39 'mojo_system',
38 ], 40 ],
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 'public/utility/scoped_handle.h', 271 'public/utility/scoped_handle.h',
270 ], 272 ],
271 }, 273 },
272 { 274 {
273 'target_name': 'mojo_js', 275 'target_name': 'mojo_js',
274 'type': 'shared_library', 276 'type': 'shared_library',
275 'include_dirs': [ 277 'include_dirs': [
276 '..' 278 '..'
277 ], 279 ],
278 'dependencies': [ 280 'dependencies': [
279 '../v8/tools/gyp/v8.gyp:v8', 281 'mojo_js_bindings',
280 ], 282 ],
281 'sources': [ 283 'sources': [
282 'apps/js/main.cc', 284 'apps/js/main.cc',
283 'apps/js/v8_environment.cc',
284 'apps/js/v8_environment.h',
285 ], 285 ],
286 }, 286 },
287 { 287 {
288 'target_name': 'sample_app', 288 'target_name': 'sample_app',
289 'type': 'shared_library', 289 'type': 'shared_library',
290 'dependencies': [ 290 'dependencies': [
291 '../ui/gl/gl.gyp:gl', 291 '../ui/gl/gl.gyp:gl',
292 'mojo_system', 292 'mojo_system',
293 ], 293 ],
294 'sources': [ 294 'sources': [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 'mojo_bindings', 332 'mojo_bindings',
333 'mojo_system', 333 'mojo_system',
334 ], 334 ],
335 'sources': [ 335 'sources': [
336 'public/bindings/sample/generated/sample_service.cc', 336 'public/bindings/sample/generated/sample_service.cc',
337 'public/bindings/sample/generated/sample_service.h', 337 'public/bindings/sample/generated/sample_service.h',
338 'public/bindings/sample/generated/sample_service_internal.h', 338 'public/bindings/sample/generated/sample_service_internal.h',
339 'public/bindings/sample/sample_test.cc', 339 'public/bindings/sample/sample_test.cc',
340 ], 340 ],
341 }, 341 },
342 {
343 'target_name': 'mojo_js_bindings',
344 'type': 'static_library',
345 'include_dirs': [
346 '..'
347 ],
348 'dependencies': [
349 '../gin/gin.gyp:gin',
350 'mojo_system',
351 ],
352 'export_dependent_settings': [
353 '../gin/gin.gyp:gin',
354 ],
355 'sources': [
356 'public/bindings/js/core.cc',
357 'public/bindings/js/core.h',
358 'public/bindings/js/handle.cc',
359 'public/bindings/js/handle.h',
360 'public/bindings/js/mojo.cc',
361 'public/bindings/js/mojo.h',
362 'public/bindings/js/runner_delegate.cc',
363 'public/bindings/js/runner_delegate.h',
364 ],
365 },
366 {
367 'target_name': 'mojo_js_bindings_unittests',
368 'type': 'executable',
369 'dependencies': [
370 '../base/base.gyp:run_all_unittests',
371 '../gin/gin.gyp:gin_test',
372 'mojo_js_bindings',
373 ],
374 'sources': [
375 '../gin/test/run_all_unittests.cc',
376 'public/bindings/js/test/harness.cc',
377 ],
378 },
342 { 379 {
343 'target_name': 'native_viewport', 380 'target_name': 'native_viewport',
344 'type': 'static_library', 381 'type': 'static_library',
345 'dependencies': [ 382 'dependencies': [
346 '../base/base.gyp:base', 383 '../base/base.gyp:base',
347 '../gpu/gpu.gyp:command_buffer_service', 384 '../gpu/gpu.gyp:command_buffer_service',
348 '../gpu/gpu.gyp:gles2_implementation', 385 '../gpu/gpu.gyp:gles2_implementation',
349 '../ui/events/events.gyp:events', 386 '../ui/events/events.gyp:events',
350 '../ui/gfx/gfx.gyp:gfx', 387 '../ui/gfx/gfx.gyp:gfx',
351 '../ui/gl/gl.gyp:gl', 388 '../ui/gl/gl.gyp:gl',
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', 487 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
451 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', 488 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
452 'native_lib_target': 'libmojo_shell', 489 'native_lib_target': 'libmojo_shell',
453 }, 490 },
454 'includes': [ '../build/java_apk.gypi' ], 491 'includes': [ '../build/java_apk.gypi' ],
455 } 492 }
456 ], 493 ],
457 }], 494 }],
458 ], 495 ],
459 } 496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698