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 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ], | 73 ], |
74 'sources': [ | 74 'sources': [ |
75 'apps/js/test/js_to_cpp_unittest.cc', | 75 'apps/js/test/js_to_cpp_unittest.cc', |
76 'apps/js/test/run_apps_js_tests.cc', | 76 'apps/js/test/run_apps_js_tests.cc', |
77 ], | 77 ], |
78 }, | 78 }, |
79 { | 79 { |
80 'target_name': 'mojo_js', | 80 'target_name': 'mojo_js', |
81 'type': 'loadable_module', | 81 'type': 'loadable_module', |
82 'dependencies': [ | 82 'dependencies': [ |
| 83 'mojo_base.gyp:mojo_application_chromium', |
| 84 'mojo_base.gyp:mojo_cpp_bindings', |
| 85 'mojo_base.gyp:mojo_utility', |
| 86 'mojo_content_handler_bindings', |
83 'mojo_js_lib', | 87 'mojo_js_lib', |
84 '<(mojo_system_for_loadable_module)', | 88 '<(mojo_system_for_loadable_module)', |
85 ], | 89 ], |
86 'sources': [ | 90 'sources': [ |
| 91 'apps/js/content_handler.cc', |
| 92 'apps/js/js_app.cc', |
| 93 'apps/js/mojo_module.cc', |
87 'apps/js/main.cc', | 94 'apps/js/main.cc', |
88 ], | 95 ], |
89 }, | 96 }, |
90 ], | 97 ], |
91 'conditions': [ | 98 'conditions': [ |
92 ['test_isolation_mode != "noop"', { | 99 ['test_isolation_mode != "noop"', { |
93 'targets': [ | 100 'targets': [ |
94 { | 101 { |
95 'target_name': 'mojo_apps_js_unittests_run', | 102 'target_name': 'mojo_apps_js_unittests_run', |
96 'type': 'none', | 103 'type': 'none', |
97 'dependencies': [ | 104 'dependencies': [ |
98 'mojo_apps_js_unittests', | 105 'mojo_apps_js_unittests', |
99 ], | 106 ], |
100 'includes': [ | 107 'includes': [ |
101 '../build/isolate.gypi', | 108 '../build/isolate.gypi', |
102 'mojo_apps_js_unittests.isolate', | 109 'mojo_apps_js_unittests.isolate', |
103 ], | 110 ], |
104 'sources': [ | 111 'sources': [ |
105 'mojo_apps_js_unittests.isolate', | 112 'mojo_apps_js_unittests.isolate', |
106 ], | 113 ], |
107 }, | 114 }, |
108 ], | 115 ], |
109 }], | 116 }], |
110 ], | 117 ], |
111 } | 118 } |
OLD | NEW |