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

Side by Side Diff: services/BUILD.gn

Issue 1312763004: Rationalize the top-level BUILD.gn rules a bit (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « mojo/BUILD.gn ('k') | shell/BUILD.gn » ('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 group("services") { 5 group("services") {
6 testonly = true
7
6 deps = [ 8 deps = [
9 ":tests",
7 "//services/asset_bundle", 10 "//services/asset_bundle",
8 "//services/authenticating_url_loader_interceptor", 11 "//services/authenticating_url_loader_interceptor",
9 "//services/authentication", 12 "//services/authentication",
10 "//services/clipboard", 13 "//services/clipboard",
11 "//services/dart", 14 "//services/dart",
12 "//services/debugger", 15 "//services/debugger",
13 "//services/device_info", 16 "//services/device_info",
14 "//services/fake_surfaces", 17 "//services/fake_surfaces",
15 "//services/files", 18 "//services/files",
16 "//services/gles2:lib", 19 "//services/gles2:lib",
(...skipping 24 matching lines...) Expand all
41 ] 44 ]
42 if (defined(go_build_tool) && go_build_tool != "") { 45 if (defined(go_build_tool) && go_build_tool != "") {
43 deps += [ "//services/vanadium/security:principal_service" ] 46 deps += [ "//services/vanadium/security:principal_service" ]
44 } 47 }
45 } 48 }
46 49
47 if (is_linux) { 50 if (is_linux) {
48 deps += [ "//services/python" ] 51 deps += [ "//services/python" ]
49 } 52 }
50 53
54 # TODO(jamesr): We only support building V8 snapshot data on a linux host
55 # since it needs a 32 bit toolchain and we don't have one configured for mac
56 # hosts.
57 if (host_os == "linux") {
58 deps += [ "//services/js" ]
59 }
60 }
61
62 group("tests") {
63 testonly = true
64
65 deps = [
66 "//services/asset_bundle:apptests",
67 "//services/authenticating_url_loader_interceptor:apptests",
68 "//services/clipboard:apptests",
69 "//services/dart/dart_apptests",
70 "//services/files:apptests",
71 "//services/http_server:apptests",
72 "//services/prediction:apptests",
73 "//services/reaper:tests",
74 "//services/url_response_disk_cache:tests",
75 "//services/view_manager:mojo_view_manager_client_apptests",
76 "//services/view_manager:view_manager_service_apptests",
77 "//services/view_manager:view_manager_service_unittests",
78 "//services/window_manager:window_manager_apptests",
79 "//services/window_manager:window_manager_unittests",
80 ]
81 if (is_linux) {
viettrungluu 2015/08/24 21:55:29 nit: blank line above? (or remove the blank line a
jamesr 2015/08/24 21:58:11 sure. i was expecting 'gn format' to have an opini
82 deps += [ "//services/python:python_apptests" ]
83 }
84
85 if (is_android) {
86 deps += [ "//services/notifications:apptests" ]
87 }
88
51 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it 89 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc e it
52 # needs a 32 bit toolchain and we don't have one configured for mac hosts. 90 # needs a 32 bit toolchain and we don't have one configured for mac hosts.
53 if (host_os == "linux") { 91 if (host_os == "linux") {
54 deps += [ "//services/js" ] 92 deps += [
93 "//services/js:js_apptests",
94 "//services/js:js_services_unittests",
95 ]
55 } 96 }
56 } 97 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698