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