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

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

Issue 709603002: Move mojo/apps/js tests et al to mojo/edk/js/test,tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: chromium environment for JS tests 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 ] 10 ]
11 } 11 }
12 12
13 source_set("mojo_runner") {
14 sources = [
15 "mojo_runner_delegate.cc",
16 "mojo_runner_delegate.h",
17 ]
18
19 public_deps = [
20 "//mojo/edk/js",
21 ]
22 deps = [
23 "//base",
24 "//gin",
25 "//mojo/apps/js/bindings",
26 "//mojo/apps/js/bindings/gl",
27 "//v8",
28 ]
29 }
30
31 source_set("js_apps") { 13 source_set("js_apps") {
32 sources = [ 14 sources = [
33 "js_app.cc", 15 "js_app.cc",
34 "mojo_bridge_module.cc", 16 "mojo_bridge_module.cc",
35 ] 17 ]
36 18
37 public_deps = [ 19 public_deps = [
38 "//mojo/edk/js", 20 "//mojo/edk/js",
39 ] 21 ]
40 deps = [ 22 deps = [
41 ":mojo_runner",
42 "//mojo/application", 23 "//mojo/application",
43 "//mojo/public/c/system:for_shared_library", 24 "//mojo/public/c/system:for_shared_library",
44 "//mojo/public/cpp/utility", 25 "//mojo/public/cpp/utility",
45 ] 26 ]
46 } 27 }
47 28
48 shared_library("js_content_handler") { 29 shared_library("js_content_handler") {
49 sources = [ 30 sources = [
50 "content_handler_main.cc", 31 "content_handler_main.cc",
51 ] 32 ]
52 33
53 deps = [ 34 deps = [
54 ":js_apps", 35 ":js_apps",
55 "//base:i18n", 36 "//base:i18n",
56 "//mojo/application:application", 37 "//mojo/application:application",
57 "//mojo/application:content_handler", 38 "//mojo/application:content_handler",
58 "//mojo/environment:chromium", 39 "//mojo/environment:chromium",
59 "//mojo/services/public/interfaces/content_handler", 40 "//mojo/services/public/interfaces/content_handler",
60 ] 41 ]
61 } 42 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/apps/js/bindings/BUILD.gn » ('j') | mojo/edk/js/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698