blob: dddf66f9b80eba60e9f3b8f87e2e4bd323c35ebc [file] [log] [blame]
abarth@chromium.org53e66c52013-12-04 08:18:25 +09001{
2 'targets': [
3 {
4 'target_name': 'mojo_js_lib',
5 'type': 'static_library',
6 'dependencies': [
7 '../base/base.gyp:base',
8 '../gin/gin.gyp:gin',
abarth@chromium.org53e66c52013-12-04 08:18:25 +09009 'mojo_common_lib',
abarth@chromium.org6103d352013-12-05 09:44:28 +090010 'mojo_gles2',
11 'mojo_gles2_bindings',
12 'mojo_native_viewport_bindings',
abarth@chromium.org53e66c52013-12-04 08:18:25 +090013 'mojo_system',
14 ],
15 'export_dependent_settings': [
16 '../base/base.gyp:base',
17 '../gin/gin.gyp:gin',
abarth@chromium.org53e66c52013-12-04 08:18:25 +090018 'mojo_common_lib',
abarth@chromium.org6103d352013-12-05 09:44:28 +090019 'mojo_gles2',
20 'mojo_gles2_bindings',
21 'mojo_native_viewport_bindings',
abarth@chromium.org53e66c52013-12-04 08:18:25 +090022 'mojo_system',
23 ],
24 'sources': [
25 'apps/js/mojo_runner_delegate.cc',
26 'apps/js/mojo_runner_delegate.h',
27 'apps/js/bindings/threading.cc',
28 'apps/js/bindings/threading.h',
29 'apps/js/bindings/core.cc',
30 'apps/js/bindings/core.h',
31 'apps/js/bindings/handle.cc',
32 'apps/js/bindings/handle.h',
33 'apps/js/bindings/support.cc',
34 'apps/js/bindings/support.h',
35 'apps/js/bindings/waiting_callback.cc',
36 'apps/js/bindings/waiting_callback.h',
37 ],
38 },
39 {
40 'target_name': 'mojo_js_unittests',
41 'type': 'executable',
42 'dependencies': [
43 '../gin/gin.gyp:gin_test',
44 'mojo_js_lib',
45 'mojo_run_all_unittests',
46 'sample_service',
47 ],
48 'sources': [
49 'apps/js/test/run_js_tests.cc',
50 ],
51 },
52 {
53 'target_name': 'mojo_js',
54 'type': 'shared_library',
55 'dependencies': [
56 'mojo_js_lib',
57 ],
58 'sources': [
59 'apps/js/main.cc',
60 ],
61 },
62 ],
63}