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") |
| 6 |
5 group("js") { | 7 group("js") { |
6 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
7 testonly = true | 9 testonly = true |
8 deps = [ | 10 deps = [ |
9 ":js_content_handler", | 11 ":js_content_handler", |
10 ] | 12 ] |
11 } | 13 } |
12 | 14 |
13 source_set("mojo_runner") { | 15 source_set("mojo_runner") { |
14 sources = [ | 16 sources = [ |
(...skipping 23 matching lines...) Expand all Loading... |
38 "//mojo/edk/js", | 40 "//mojo/edk/js", |
39 ] | 41 ] |
40 deps = [ | 42 deps = [ |
41 ":mojo_runner", | 43 ":mojo_runner", |
42 "//mojo/application", | 44 "//mojo/application", |
43 "//mojo/public/c/system:for_shared_library", | 45 "//mojo/public/c/system:for_shared_library", |
44 "//mojo/public/cpp/utility", | 46 "//mojo/public/cpp/utility", |
45 ] | 47 ] |
46 } | 48 } |
47 | 49 |
48 shared_library("js_content_handler") { | 50 mojo_binary_application("js_content_handler") { |
49 sources = [ | 51 sources = [ |
50 "content_handler_main.cc", | 52 "content_handler_main.cc", |
51 ] | 53 ] |
52 | 54 |
53 deps = [ | 55 deps = [ |
54 ":js_apps", | 56 ":js_apps", |
55 "//base:i18n", | 57 "//base:i18n", |
56 "//mojo/application:application", | 58 "//mojo/application:application", |
57 "//mojo/application:content_handler", | 59 "//mojo/application:content_handler", |
58 "//mojo/environment:chromium", | 60 "//mojo/environment:chromium", |
59 "//mojo/services/public/interfaces/content_handler", | 61 "//mojo/services/public/interfaces/content_handler", |
60 ] | 62 ] |
61 } | 63 } |
OLD | NEW |