OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //mojo/apps/js | 8 # GN version: //mojo/apps/js |
9 # //mojo/apps/js/bindings | 9 # //mojo/apps/js/bindings |
10 # //mojo/apps/js/bindings/gl | 10 # //mojo/apps/js/bindings/gl |
11 'target_name': 'mojo_js_lib', | 11 'target_name': 'mojo_js_lib', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
| 15 '../base/base.gyp:base_i18n', |
15 '../gin/gin.gyp:gin', | 16 '../gin/gin.gyp:gin', |
16 '../ui/gl/gl.gyp:gl', | 17 '../ui/gl/gl.gyp:gl', |
17 '../v8/tools/gyp/v8.gyp:v8', | 18 '../v8/tools/gyp/v8.gyp:v8', |
18 'mojo_base.gyp:mojo_common_lib', | 19 'mojo_base.gyp:mojo_common_lib', |
19 'mojo_base.gyp:mojo_environment_chromium', | 20 'mojo_base.gyp:mojo_environment_chromium', |
20 'mojo_base.gyp:mojo_gles2_bindings', | 21 'mojo_base.gyp:mojo_gles2_bindings', |
21 'mojo_base.gyp:mojo_js_bindings_lib', | 22 'mojo_base.gyp:mojo_js_bindings_lib', |
22 'mojo_native_viewport_bindings', | 23 'mojo_native_viewport_bindings', |
23 ], | 24 ], |
24 'includes': [ | 25 'includes': [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ], | 74 ], |
74 'sources': [ | 75 'sources': [ |
75 'apps/js/test/js_to_cpp_unittest.cc', | 76 'apps/js/test/js_to_cpp_unittest.cc', |
76 'apps/js/test/run_apps_js_tests.cc', | 77 'apps/js/test/run_apps_js_tests.cc', |
77 ], | 78 ], |
78 }, | 79 }, |
79 { | 80 { |
80 'target_name': 'mojo_js', | 81 'target_name': 'mojo_js', |
81 'type': 'loadable_module', | 82 'type': 'loadable_module', |
82 'dependencies': [ | 83 'dependencies': [ |
| 84 'mojo_base.gyp:mojo_application_chromium', |
| 85 'mojo_base.gyp:mojo_cpp_bindings', |
| 86 'mojo_base.gyp:mojo_utility', |
| 87 'mojo_content_handler_bindings', |
83 'mojo_js_lib', | 88 'mojo_js_lib', |
84 '<(mojo_system_for_loadable_module)', | 89 '<(mojo_system_for_loadable_module)', |
85 ], | 90 ], |
86 'sources': [ | 91 'sources': [ |
| 92 'apps/js/application_delegate_impl.cc', |
| 93 'apps/js/js_app.cc', |
| 94 'apps/js/mojo_module.cc', |
87 'apps/js/main.cc', | 95 'apps/js/main.cc', |
88 ], | 96 ], |
89 }, | 97 }, |
90 ], | 98 ], |
91 'conditions': [ | 99 'conditions': [ |
92 ['test_isolation_mode != "noop"', { | 100 ['test_isolation_mode != "noop"', { |
93 'targets': [ | 101 'targets': [ |
94 { | 102 { |
95 'target_name': 'mojo_apps_js_unittests_run', | 103 'target_name': 'mojo_apps_js_unittests_run', |
96 'type': 'none', | 104 'type': 'none', |
97 'dependencies': [ | 105 'dependencies': [ |
98 'mojo_apps_js_unittests', | 106 'mojo_apps_js_unittests', |
99 ], | 107 ], |
100 'includes': [ | 108 'includes': [ |
101 '../build/isolate.gypi', | 109 '../build/isolate.gypi', |
102 'mojo_apps_js_unittests.isolate', | 110 'mojo_apps_js_unittests.isolate', |
103 ], | 111 ], |
104 'sources': [ | 112 'sources': [ |
105 'mojo_apps_js_unittests.isolate', | 113 'mojo_apps_js_unittests.isolate', |
106 ], | 114 ], |
107 }, | 115 }, |
108 ], | 116 ], |
109 }], | 117 }], |
110 ], | 118 ], |
111 } | 119 } |
OLD | NEW |