Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: mojo/apps/js/BUILD.gn

Issue 687273002: mojo: Update content handler API (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename content_handler.h Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 ":js_standalone"
11 ] 10 ]
12 } 11 }
13 12
14 source_set("mojo_runner") { 13 source_set("mojo_runner") {
15 sources = [ 14 sources = [
16 "mojo_runner_delegate.cc", 15 "mojo_runner_delegate.cc",
17 "mojo_runner_delegate.h", 16 "mojo_runner_delegate.h",
18 ] 17 ]
19 18
20 public_deps = [ 19 public_deps = [
21 "//mojo/bindings/js", 20 "//mojo/bindings/js",
22 ] 21 ]
23 deps = [ 22 deps = [
24 "//base", 23 "//base",
25 "//gin", 24 "//gin",
26 "//mojo/apps/js/bindings", 25 "//mojo/apps/js/bindings",
27 "//mojo/apps/js/bindings/gl", 26 "//mojo/apps/js/bindings/gl",
28 "//v8", 27 "//v8",
29 ] 28 ]
30 } 29 }
31 30
32 source_set("js_apps") { 31 source_set("js_apps") {
33 sources = [ 32 sources = [
34 "application_delegate_impl.cc",
35 "js_app.cc", 33 "js_app.cc",
36 "mojo_bridge_module.cc", 34 "mojo_bridge_module.cc",
37 ] 35 ]
38 36
39 public_deps = [ 37 public_deps = [
40 "//mojo/bindings/js", 38 "//mojo/bindings/js",
41 ] 39 ]
42 deps = [ 40 deps = [
43 ":mojo_runner", 41 ":mojo_runner",
44 "//mojo/application", 42 "//mojo/application",
45 "//mojo/public/c/system:for_shared_library", 43 "//mojo/public/c/system:for_shared_library",
46 "//mojo/public/cpp/utility", 44 "//mojo/public/cpp/utility",
47 ] 45 ]
48 } 46 }
49 47
50 shared_library("js_content_handler") { 48 shared_library("js_content_handler") {
51 sources = [ 49 sources = [
52 "content_handler_impl.cc",
53 "content_handler_main.cc", 50 "content_handler_main.cc",
54 ] 51 ]
55 52
56 deps = [ 53 deps = [
57 ":js_apps", 54 ":js_apps",
58 "//base:i18n", 55 "//base:i18n",
59 "//mojo/application:application", 56 "//mojo/application:application",
57 "//mojo/application:content_handler",
60 "//mojo/environment:chromium", 58 "//mojo/environment:chromium",
61 "//mojo/services/public/interfaces/content_handler", 59 "//mojo/services/public/interfaces/content_handler",
62 ] 60 ]
63 } 61 }
64
65 shared_library("js_standalone") {
66 sources = [
67 "standalone_main.cc"
68 ]
69
70 deps = [
71 ":js_apps",
72 "//base:i18n",
73 "//mojo/application:application",
74 "//mojo/environment:chromium",
75 "//mojo/public/cpp/application",
76 ]
77 }
78
79
80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698