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