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

Side by Side Diff: services/js/BUILD.gn

Issue 1374023002: Move JS support code from //mojo/edk/js to //services/js/system (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « services/BUILD.gn ('k') | services/js/js_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 group("js") { 8 group("js") {
9 deps = [ 9 deps = [
10 ":js_content_handler", 10 ":js_content_handler",
11 ] 11 ]
12 } 12 }
13 13
14 group("tests") {
15 testonly = true
16
17 deps = [
18 ":js_apptests",
19 ":js_services_unittests",
20 "//services/js/system:tests",
21 ]
22 }
23
14 mojo_native_application("js_content_handler") { 24 mojo_native_application("js_content_handler") {
15 sources = [ 25 sources = [
16 "content_handler_main.cc", 26 "content_handler_main.cc",
17 "js_app.cc", 27 "js_app.cc",
18 "js_app.h", 28 "js_app.h",
19 "js_app_message_loop_observers.cc", 29 "js_app_message_loop_observers.cc",
20 "js_app_message_loop_observers.h", 30 "js_app_message_loop_observers.h",
21 "js_app_runner_delegate.cc", 31 "js_app_runner_delegate.cc",
22 "js_app_runner_delegate.h", 32 "js_app_runner_delegate.h",
23 ] 33 ]
24 34
25 deps = [ 35 deps = [
26 "//base:i18n", 36 "//base:i18n",
27 "//mojo/application", 37 "//mojo/application",
28 "//mojo/application:content_handler", 38 "//mojo/application:content_handler",
29 "//mojo/data_pipe_utils", 39 "//mojo/data_pipe_utils",
30 "//mojo/edk/js/",
31 "//mojo/environment:chromium", 40 "//mojo/environment:chromium",
32 "//mojo/message_pump", 41 "//mojo/message_pump",
33 "//mojo/public/cpp/system", 42 "//mojo/public/cpp/system",
34 "//mojo/public/cpp/utility", 43 "//mojo/public/cpp/utility",
35 "//mojo/public/interfaces/application", 44 "//mojo/public/interfaces/application",
36 "//mojo/services/content_handler/public/interfaces", 45 "//mojo/services/content_handler/public/interfaces",
37 "//mojo/services/network/public/interfaces", 46 "//mojo/services/network/public/interfaces",
38 "//services/js/modules/clock", 47 "//services/js/modules/clock",
39 "//services/js/modules/gl", 48 "//services/js/modules/gl",
49 "//services/js/system",
40 ] 50 ]
41 } 51 }
42 52
43 test("js_services_unittests") { 53 test("js_services_unittests") {
44 deps = [ 54 deps = [
45 "//base", 55 "//base",
46 "//gin:gin_test", 56 "//gin:gin_test",
47 "//mojo/edk/js",
48 "//mojo/edk/test:run_all_unittests", 57 "//mojo/edk/test:run_all_unittests",
49 "//mojo/edk/test:test_support", 58 "//mojo/edk/test:test_support",
50 "//mojo/public/cpp/utility", 59 "//mojo/public/cpp/utility",
51 "//mojo/environment:chromium", 60 "//mojo/environment:chromium",
52 "//mojo/public/interfaces/bindings/tests:test_interfaces", 61 "//mojo/public/interfaces/bindings/tests:test_interfaces",
53 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", 62 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
54 "//services/js/modules/clock/test", 63 "//services/js/modules/clock/test",
64 "//services/js/system",
55 ] 65 ]
56 } 66 }
57 67
58 mojo_native_application("js_apptests") { 68 mojo_native_application("js_apptests") {
59 testonly = true 69 testonly = true
60 70
61 sources = [ 71 sources = [
62 "echo_apptest.cc", 72 "echo_apptest.cc",
63 "network_apptest.cc", 73 "network_apptest.cc",
64 "pingpong_apptest.cc", 74 "pingpong_apptest.cc",
65 ] 75 ]
66 76
67 deps = [ 77 deps = [
68 "//base", 78 "//base",
69 "//mojo/public/cpp/bindings", 79 "//mojo/public/cpp/bindings",
70 "//mojo/public/cpp/system", 80 "//mojo/public/cpp/system",
71 "//services/js/test:echo_service", 81 "//services/js/test:echo_service",
72 "//services/js/test:js_application_test_base", 82 "//services/js/test:js_application_test_base",
73 "//services/js/test:network_test_service", 83 "//services/js/test:network_test_service",
74 "//services/js/test:pingpong_service", 84 "//services/js/test:pingpong_service",
75 ] 85 ]
76 } 86 }
OLDNEW
« no previous file with comments | « services/BUILD.gn ('k') | services/js/js_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698