suppress uninit error at BrowserView::ShowAvatarBubbleFromAvatarButton
[chromium-blink-merge.git] / mojo / mojo_apps.gypi
blob5e1d2ca75e091ac8035e009303e1070ee6edf040
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_common_lib',
12         'mojo_environment_chromium',
13         'mojo_gles2',
14         'mojo_gles2_bindings',
15         'mojo_js_bindings_lib',
16         'mojo_native_viewport_bindings',
17       ],
18       'export_dependent_settings': [
19         '../base/base.gyp:base',
20         '../gin/gin.gyp:gin',
21         '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_cpp_bindings',
48       ],
49       'dependencies': [
50         '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_apps_js_bindings',
59         'mojo_common_lib',
60         'mojo_common_test_support',
61         'mojo_js_lib',
62         'mojo_run_all_unittests',
63         'mojo_public_test_interfaces',
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': 'shared_library',
73       'dependencies': [
74         'mojo_js_lib',
75         'mojo_system_impl',
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   ],