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/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 | 6 |
7 group("js") { | 7 group("js") { |
8 deps = [ | 8 deps = [ |
9 ":js_content_handler", | 9 ":js_content_handler", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 mojo_native_application("js_content_handler") { | 13 mojo_native_application("js_content_handler") { |
14 sources = [ | 14 sources = [ |
15 "content_handler_main.cc", | 15 "content_handler_main.cc", |
16 "js_app.cc", | 16 "js_app.cc", |
17 "js_app.h", | 17 "js_app.h", |
18 "js_app_message_loop_observers.cc", | 18 "js_app_message_loop_observers.cc", |
19 "js_app_message_loop_observers.h", | 19 "js_app_message_loop_observers.h", |
20 "js_app_runner_delegate.cc", | 20 "js_app_runner_delegate.cc", |
21 "js_app_runner_delegate.h", | 21 "js_app_runner_delegate.h", |
22 "js_app_shell.cc", | 22 "js_app_shell.cc", |
23 "js_app_shell.h", | 23 "js_app_shell.h", |
24 "mojo_bridge_module.cc", | 24 "js_app_bridge_module.cc", |
25 "mojo_bridge_module.h", | 25 "js_app_bridge_module.h", |
26 ] | 26 ] |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 "//base:i18n", | 29 "//base:i18n", |
30 "//mojo/application", | 30 "//mojo/application", |
31 "//mojo/application:application", | 31 "//mojo/application:application", |
32 "//mojo/application:content_handler", | 32 "//mojo/application:content_handler", |
33 "//mojo/common", | 33 "//mojo/common", |
34 "//mojo/edk/js/", | 34 "//mojo/edk/js/", |
35 "//mojo/environment:chromium", | 35 "//mojo/environment:chromium", |
(...skipping 12 matching lines...) Expand all Loading... |
48 "//gin:gin_test", | 48 "//gin:gin_test", |
49 "//mojo/edk/js", | 49 "//mojo/edk/js", |
50 "//mojo/edk/test:run_all_unittests", | 50 "//mojo/edk/test:run_all_unittests", |
51 "//mojo/edk/test:test_support", | 51 "//mojo/edk/test:test_support", |
52 "//mojo/public/cpp/utility", | 52 "//mojo/public/cpp/utility", |
53 "//mojo/environment:chromium", | 53 "//mojo/environment:chromium", |
54 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 54 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
55 "//services/js/modules/clock/test", | 55 "//services/js/modules/clock/test", |
56 ] | 56 ] |
57 } | 57 } |
| 58 |
| 59 mojo_native_application("js_apptests") { |
| 60 testonly = true |
| 61 |
| 62 sources = [ |
| 63 "js_apptests.cc", |
| 64 ] |
| 65 |
| 66 deps = [ |
| 67 "//base", |
| 68 "//mojo/public/c/system:for_shared_library", |
| 69 "//mojo/application", |
| 70 "//mojo/application:test_support", |
| 71 "//mojo/public/cpp/bindings", |
| 72 "//mojo/public/cpp/system", |
| 73 "//services/js/test:echo_service", |
| 74 ] |
| 75 } |
| 76 |
OLD | NEW |