1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 # GN version: //mojo/apps/js
9 # //mojo/apps/js/bindings
10 # //mojo/apps/js/bindings/gl
11 'target_name': 'mojo_js_lib',
12 'type': 'static_library',
14 '../base/base.gyp:base',
17 '../v8/tools/gyp/v8.gyp:v8',
18 'mojo_base.gyp:mojo_common_lib',
19 'mojo_base.gyp:mojo_environment_chromium',
20 'mojo_base.gyp:mojo_gles2_bindings',
21 'mojo_base.gyp:mojo_js_bindings_lib',
22 'mojo_native_viewport_bindings',
23 '<(mojo_gles2_for_loadable_module)',
25 'export_dependent_settings': [
26 '../base/base.gyp:base',
28 'mojo_base.gyp:mojo_common_lib',
29 'mojo_base.gyp:mojo_gles2_bindings',
30 'mojo_native_viewport_bindings',
31 '<(mojo_gles2_for_loadable_module)',
34 'apps/js/mojo_runner_delegate.cc',
35 'apps/js/mojo_runner_delegate.h',
36 'apps/js/bindings/threading.cc',
37 'apps/js/bindings/threading.h',
38 'apps/js/bindings/gl/context.cc',
39 'apps/js/bindings/gl/context.h',
40 'apps/js/bindings/gl/module.cc',
41 'apps/js/bindings/gl/module.h',
42 'apps/js/bindings/monotonic_clock.cc',
43 'apps/js/bindings/monotonic_clock.h',
47 'target_name': 'mojo_apps_js_bindings',
48 'type': 'static_library',
50 'apps/js/test/js_to_cpp.mojom',
52 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
53 'export_dependent_settings': [
54 'mojo_base.gyp:mojo_cpp_bindings',
57 'mojo_base.gyp:mojo_cpp_bindings',
61 # GN version: //mojo/apps/js/test/mojo_apps_js_unittests
62 'target_name': 'mojo_apps_js_unittests',
65 '../gin/gin.gyp:gin_test',
66 'mojo_base.gyp:mojo_common_lib',
67 'mojo_base.gyp:mojo_common_test_support',
68 'mojo_base.gyp:mojo_public_test_interfaces',
69 'mojo_base.gyp:mojo_run_all_unittests',
70 'mojo_apps_js_bindings',
74 'apps/js/test/js_to_cpp_unittest.cc',
75 'apps/js/test/run_apps_js_tests.cc',
79 'target_name': 'mojo_js',
80 'type': 'loadable_module',
83 '<(mojo_system_for_loadable_module)',
91 ['test_isolation_mode != "noop"', {
94 'target_name': 'mojo_apps_js_unittests_run',
97 'mojo_apps_js_unittests',
100 '../build/isolate.gypi',
101 'mojo_apps_js_unittests.isolate',
104 'mojo_apps_js_unittests.isolate',