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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/BUILD.gn ('k') | shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/BUILD.gn
diff --git a/services/BUILD.gn b/services/BUILD.gn
index a6e68cec94c401eb5d0beef07b2f2d53a8a8577e..7f434abd5e1f69c7535566c32869b6f98ca21394 100644
--- a/services/BUILD.gn
+++ b/services/BUILD.gn
@@ -3,7 +3,10 @@
# found in the LICENSE file.
group("services") {
+ testonly = true
+
deps = [
+ ":tests",
"//services/asset_bundle",
"//services/authenticating_url_loader_interceptor",
"//services/authentication",
@@ -48,9 +51,47 @@ group("services") {
deps += [ "//services/python" ]
}
+ # TODO(jamesr): We only support building V8 snapshot data on a linux host
+ # since it needs a 32 bit toolchain and we don't have one configured for mac
+ # hosts.
+ if (host_os == "linux") {
+ deps += [ "//services/js" ]
+ }
+}
+
+group("tests") {
+ testonly = true
+
+ deps = [
+ "//services/asset_bundle:apptests",
+ "//services/authenticating_url_loader_interceptor:apptests",
+ "//services/clipboard:apptests",
+ "//services/dart/dart_apptests",
+ "//services/files:apptests",
+ "//services/http_server:apptests",
+ "//services/prediction:apptests",
+ "//services/reaper:tests",
+ "//services/url_response_disk_cache:tests",
+ "//services/view_manager:mojo_view_manager_client_apptests",
+ "//services/view_manager:view_manager_service_apptests",
+ "//services/view_manager:view_manager_service_unittests",
+ "//services/window_manager:window_manager_apptests",
+ "//services/window_manager:window_manager_unittests",
+ ]
+ 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
+ deps += [ "//services/python:python_apptests" ]
+ }
+
+ if (is_android) {
+ deps += [ "//services/notifications:apptests" ]
+ }
+
# TODO(jamesr): We only support building V8 snapshot data on a linux host since it
# needs a 32 bit toolchain and we don't have one configured for mac hosts.
if (host_os == "linux") {
- deps += [ "//services/js" ]
+ deps += [
+ "//services/js:js_apptests",
+ "//services/js:js_services_unittests",
+ ]
}
}
« 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