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 import("//mojo/system.gni") |
| 6 |
| 7 shared_library("mojo_js") { |
| 8 sources = [ |
| 9 "application_delegate_impl.cc", |
| 10 "js_app.cc", |
| 11 "mojo_module.cc", |
| 12 "main.cc" |
| 13 ] |
| 14 |
| 15 deps = [ |
| 16 ":js", |
| 17 "//base:i18n", |
| 18 "//mojo/application", |
| 19 "//mojo/public/cpp/bindings", |
| 20 "//mojo/public/cpp/utility", |
| 21 "//mojo/services/public/interfaces/content_handler", |
| 22 ] + mojo_system_for_shared_library |
| 23 } |
| 24 |
5 # GYP version: part of mojo/mojo_apps.gypi:mojo_js_lib | 25 # GYP version: part of mojo/mojo_apps.gypi:mojo_js_lib |
6 source_set("js") { | 26 source_set("js") { |
7 deps = [ | 27 deps = [ |
8 "//base", | 28 "//base", |
9 "//gin", | 29 "//gin", |
10 "//mojo/apps/js/bindings", | 30 "//mojo/apps/js/bindings", |
11 "//mojo/apps/js/bindings/gl", | 31 "//mojo/apps/js/bindings/gl", |
12 "//mojo/bindings/js", | 32 "//mojo/bindings/js", |
| 33 "//v8", |
13 ] | 34 ] |
14 sources = [ | 35 sources = [ |
15 "mojo_runner_delegate.cc", | 36 "mojo_runner_delegate.cc", |
16 "mojo_runner_delegate.h", | 37 "mojo_runner_delegate.h", |
17 ] | 38 ] |
18 } | 39 } |
OLD | NEW |