[Sync] Don't synchronously stop datatypes that encounter errors
[chromium-blink-merge.git] / mojo / mojo_apps.gypi
blob934964f0bf4e0a56ef717a314086007ce4689f92
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',
9         '../ui/gl/gl.gyp:gl',
10         '../v8/tools/gyp/v8.gyp:v8',
11         'mojo_base.gyp:mojo_common_lib',
12         'mojo_base.gyp:mojo_environment_chromium',
13         'mojo_base.gyp:mojo_js_bindings_lib',
14         'mojo_gles2',
15         'mojo_gles2_bindings',
16         'mojo_native_viewport_bindings',
17       ],
18       'export_dependent_settings': [
19         '../base/base.gyp:base',
20         '../gin/gin.gyp:gin',
21         'mojo_base.gyp:mojo_common_lib',
22         'mojo_gles2',
23         'mojo_gles2_bindings',
24         'mojo_native_viewport_bindings',
25       ],
26       'sources': [
27         'apps/js/mojo_runner_delegate.cc',
28         'apps/js/mojo_runner_delegate.h',
29         'apps/js/bindings/threading.cc',
30         'apps/js/bindings/threading.h',
31         'apps/js/bindings/gl/context.cc',
32         'apps/js/bindings/gl/context.h',
33         'apps/js/bindings/gl/module.cc',
34         'apps/js/bindings/gl/module.h',
35         'apps/js/bindings/monotonic_clock.cc',
36         'apps/js/bindings/monotonic_clock.h',
37       ],
38     },
39     {
40       'target_name': 'mojo_apps_js_bindings',
41       'type': 'static_library',
42       'sources': [
43         'apps/js/test/js_to_cpp.mojom',
44       ],
45       'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
46       'export_dependent_settings': [
47         'mojo_base.gyp:mojo_cpp_bindings',
48       ],
49       'dependencies': [
50         'mojo_base.gyp:mojo_cpp_bindings',
51       ],
52     },
53     {
54       'target_name': 'mojo_apps_js_unittests',
55       'type': 'executable',
56       'dependencies': [
57         '../gin/gin.gyp:gin_test',
58         'mojo_base.gyp:mojo_common_lib',
59         'mojo_base.gyp:mojo_common_test_support',
60         'mojo_base.gyp:mojo_public_test_interfaces',
61         'mojo_base.gyp:mojo_run_all_unittests',
62         'mojo_apps_js_bindings',
63         'mojo_js_lib',
64       ],
65       'sources': [
66         'apps/js/test/js_to_cpp_unittest.cc',
67         'apps/js/test/run_apps_js_tests.cc',
68       ],
69     },
70     {
71       'target_name': 'mojo_js',
72       'type': 'loadable_module',
73       'dependencies': [
74         'mojo_js_lib',
75         '<(mojo_system_for_loadable_module)',
76       ],
77       'sources': [
78         'apps/js/main.cc',
79       ],
80     },
81   ],
82   'conditions': [
83     ['test_isolation_mode != "noop"', {
84       'targets': [
85         {
86           'target_name': 'mojo_apps_js_unittests_run',
87           'type': 'none',
88           'dependencies': [
89             'mojo_apps_js_unittests',
90           ],
91           'includes': [
92             '../build/isolate.gypi',
93             'mojo_apps_js_unittests.isolate',
94           ],
95           'sources': [
96             'mojo_apps_js_unittests.isolate',
97           ],
98         },
99       ],
100     }],
101   ],