OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 group("js") { | |
6 # Meta-target, don't link into production code. | |
7 testonly = true | |
8 deps = [ | |
9 ":js_content_handler", | |
10 ] | |
11 } | |
12 | |
13 source_set("js_apps") { | |
14 sources = [ | |
15 "js_app.cc", | |
16 "mojo_bridge_module.cc", | |
17 ] | |
18 | |
19 public_deps = [ | |
20 "//mojo/edk/js", | |
21 ] | |
22 deps = [ | |
23 "//mojo/application", | |
24 "//mojo/public/c/system:for_shared_library", | |
25 "//mojo/public/cpp/utility", | |
26 ] | |
27 } | |
28 | |
29 shared_library("js_content_handler") { | |
30 sources = [ | |
31 "content_handler_main.cc", | |
32 ] | |
33 | |
34 deps = [ | |
35 ":js_apps", | |
36 "//base:i18n", | |
37 "//mojo/application:application", | |
38 "//mojo/application:content_handler", | |
39 "//mojo/environment:chromium", | |
40 "//mojo/services/public/interfaces/content_handler", | |
41 ] | |
42 } | |
OLD | NEW |