John Abd-El-Malek | 99a563e | 2014-10-29 16:30:52 -0700 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | group("services") { |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 6 | testonly = true |
| 7 | |
John Abd-El-Malek | 99a563e | 2014-10-29 16:30:52 -0700 | [diff] [blame] | 8 | deps = [ |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 9 | ":tests", |
Adam Barth | be44db1 | 2015-06-22 20:24:19 -0700 | [diff] [blame] | 10 | "//services/asset_bundle", |
Colin Blundell | cde1f38 | 2015-06-08 14:13:54 +0200 | [diff] [blame] | 11 | "//services/authenticating_url_loader_interceptor", |
Benjamin Lerman | 749ded8 | 2015-06-04 12:51:13 +0200 | [diff] [blame] | 12 | "//services/authentication", |
James Robinson | 28099f7 | 2014-12-02 10:54:46 -0800 | [diff] [blame] | 13 | "//services/clipboard", |
Zachary Anderson | cc43905 | 2015-02-23 14:06:24 -0800 | [diff] [blame] | 14 | "//services/dart", |
Viet-Trung Luu | fe49483 | 2015-12-17 13:27:27 -0800 | [diff] [blame] | 15 | "//services/debugger", |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 16 | "//services/gles2:lib", |
John Abd-El-Malek | 99a563e | 2014-10-29 16:30:52 -0700 | [diff] [blame] | 17 | "//services/http_server", |
Adam Barth | 3d35910 | 2015-01-08 11:25:50 -0800 | [diff] [blame] | 18 | "//services/icu_data", |
Vardhan Mudunuru | bb36498 | 2015-12-18 11:09:03 -0800 | [diff] [blame] | 19 | "//services/log", |
Viet-Trung Luu | c8e6b80 | 2015-10-01 14:58:35 -0700 | [diff] [blame] | 20 | "//services/native_support", |
Ria Runjie Jiang | dc1f153 | 2015-06-04 15:24:38 -0700 | [diff] [blame] | 21 | "//services/prediction", |
James Robinson | 63b637a | 2014-12-03 14:46:39 -0800 | [diff] [blame] | 22 | "//services/test_service:bindings", |
James Robinson | 85ccf05 | 2014-12-01 16:31:03 -0800 | [diff] [blame] | 23 | "//services/tracing", |
John Abd-El-Malek | 99a563e | 2014-10-29 16:30:52 -0700 | [diff] [blame] | 24 | ] |
Zachary Anderson | d409c40 | 2015-01-20 09:44:29 -0800 | [diff] [blame] | 25 | |
Craig Stout | 3f18d24 | 2016-04-27 13:25:05 -0700 | [diff] [blame] | 26 | # TODO: fix ffmpeg build |
| 27 | if (!is_fnl) { |
| 28 | deps += [ "//services/media" ] |
| 29 | } |
| 30 | |
Etienne Membrives | f2b541c | 2015-02-20 12:39:43 +0100 | [diff] [blame] | 31 | if (is_android) { |
Alhaad Gokhale | 08a3543 | 2015-03-10 12:41:33 -0700 | [diff] [blame] | 32 | deps += [ |
Gautham Thambidorai | a6ccbb4 | 2015-10-07 13:43:28 -0700 | [diff] [blame] | 33 | "//services/camera", |
Benjamin Lerman | e726ea3 | 2015-11-16 15:46:58 +0100 | [diff] [blame] | 34 | "//services/camera:camera_roll", |
Benjamin Lerman | d475d57 | 2015-10-01 15:56:10 +0200 | [diff] [blame] | 35 | "//services/contacts", |
Benjamin Lerman | 13402aa | 2015-11-23 11:15:53 +0100 | [diff] [blame] | 36 | "//services/java_handler", |
Alhaad Gokhale | 08a3543 | 2015-03-10 12:41:33 -0700 | [diff] [blame] | 37 | "//services/location", |
Andrew Wilson | d433573 | 2015-06-16 12:36:22 -0700 | [diff] [blame] | 38 | "//services/notifications", |
Dave Moore | b1efb14 | 2015-04-21 09:56:05 -0700 | [diff] [blame] | 39 | "//services/sensors", |
Alhaad Gokhale | 01c387c | 2015-08-19 17:14:22 -0700 | [diff] [blame] | 40 | "//services/sharing:android_sharing", |
Benjamin Lerman | 13402aa | 2015-11-23 11:15:53 +0100 | [diff] [blame] | 41 | "//services/speech_recognizer", |
Alhaad Gokhale | 08a3543 | 2015-03-10 12:41:33 -0700 | [diff] [blame] | 42 | ] |
Gautham Thambidorai | 658bb42 | 2015-08-19 12:40:00 -0700 | [diff] [blame] | 43 | if (defined(go_build_tool) && go_build_tool != "") { |
| 44 | deps += [ "//services/vanadium/security:principal_service" ] |
| 45 | } |
Etienne Membrives | f2b541c | 2015-02-20 12:39:43 +0100 | [diff] [blame] | 46 | } |
| 47 | |
Kris Giesing | 2ccd493 | 2015-11-20 10:07:46 -0800 | [diff] [blame] | 48 | if (is_linux) { |
| 49 | deps += [ "//services/keyboard" ] |
| 50 | } |
| 51 | |
Craig Stout | 0e7c2c3 | 2015-09-17 15:14:08 -0700 | [diff] [blame] | 52 | if (is_linux && !is_fnl) { |
Colin Blundell | 3a9bcfc | 2015-03-04 16:04:48 +0100 | [diff] [blame] | 53 | deps += [ "//services/python" ] |
Etienne Membrives | f251ca2 | 2015-02-06 12:48:56 +0100 | [diff] [blame] | 54 | } |
James Robinson | fa50ab6 | 2015-05-07 15:35:46 -0700 | [diff] [blame] | 55 | |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 56 | if (is_android || is_linux) { |
| 57 | deps += [ |
| 58 | "//services/device_info", |
| 59 | "//services/files", |
Jeff Brown | 751f4d3 | 2016-01-26 15:51:01 -0800 | [diff] [blame] | 60 | "//services/gfx", |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 61 | "//services/native_viewport", |
Jeff Brown | c837be7 | 2016-01-26 15:48:40 -0800 | [diff] [blame] | 62 | "//services/ui", |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 63 | "//services/url_response_disk_cache", |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 64 | ] |
| 65 | } |
| 66 | |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 67 | # TODO(jamesr): We only support building V8 snapshot data on a linux host |
| 68 | # since it needs a 32 bit toolchain and we don't have one configured for mac |
| 69 | # hosts. |
craig stout | 34776a7 | 2015-10-22 08:17:33 -0700 | [diff] [blame] | 70 | # TODO(cstout): javascript/v8 build support for fnl/musl |
| 71 | if (!is_fnl && host_os == "linux") { |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 72 | deps += [ "//services/js" ] |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | group("tests") { |
| 77 | testonly = true |
| 78 | |
| 79 | deps = [ |
| 80 | "//services/asset_bundle:apptests", |
| 81 | "//services/authenticating_url_loader_interceptor:apptests", |
| 82 | "//services/clipboard:apptests", |
Jeff Brown | 751f4d3 | 2016-01-26 15:51:01 -0800 | [diff] [blame] | 83 | "//services/gfx/compositor:apptests", |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 84 | "//services/http_server:apptests", |
Dale Sather | 51a3952 | 2016-05-04 11:31:09 -0700 | [diff] [blame] | 85 | "//services/media/common:apptests", |
Viet-Trung Luu | c8e6b80 | 2015-10-01 14:58:35 -0700 | [diff] [blame] | 86 | "//services/native_support:apptests", |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 87 | "//services/prediction:apptests", |
Michael Jurka | dec9013 | 2016-05-18 15:15:14 -0700 | [diff] [blame] | 88 | "//services/ui/view_manager:view_manager_apptests", |
Dale Sather | bf706cd | 2016-05-31 15:20:57 -0700 | [diff] [blame] | 89 | "//services/util/cpp:apptests", |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 90 | ] |
| 91 | |
Craig Stout | 3f18d24 | 2016-04-27 13:25:05 -0700 | [diff] [blame] | 92 | # TODO: fix ffmpeg build |
| 93 | if (!is_fnl) { |
| 94 | deps += [ "//services/media/framework:apptests" ] |
| 95 | } |
| 96 | |
ukode | 1195c66 | 2016-03-18 14:18:48 -0700 | [diff] [blame] | 97 | if (!is_android) { |
| 98 | deps += [ "//services/authentication:apptests" ] |
| 99 | } |
| 100 | |
Craig Stout | 0e7c2c3 | 2015-09-17 15:14:08 -0700 | [diff] [blame] | 101 | if (is_linux && !is_fnl) { |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 102 | deps += [ "//services/python:python_apptests" ] |
| 103 | } |
| 104 | |
| 105 | if (is_android) { |
Benjamin Lerman | d475d57 | 2015-10-01 15:56:10 +0200 | [diff] [blame] | 106 | deps += [ "//services/contacts:apptests" ] |
James Robinson | 25dfab2 | 2015-08-24 15:20:18 -0700 | [diff] [blame] | 107 | deps += [ "//services/notifications:apptests" ] |
| 108 | } |
| 109 | |
James Robinson | fa50ab6 | 2015-05-07 15:35:46 -0700 | [diff] [blame] | 110 | # TODO(jamesr): We only support building V8 snapshot data on a linux host since it |
| 111 | # needs a 32 bit toolchain and we don't have one configured for mac hosts. |
craig stout | 34776a7 | 2015-10-22 08:17:33 -0700 | [diff] [blame] | 112 | # TODO(cstout): javascript/v8 build support for fnl/musl |
| 113 | if (!is_fnl && host_os == "linux") { |
James Robinson | 1572dd5 | 2015-09-28 14:17:16 -0700 | [diff] [blame] | 114 | deps += [ "//services/js:tests" ] |
James Robinson | fa50ab6 | 2015-05-07 15:35:46 -0700 | [diff] [blame] | 115 | } |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 116 | |
| 117 | if (is_android || is_linux) { |
| 118 | deps += [ |
| 119 | "//services/files:apptests", |
Vardhan Mudunuru | bb36498 | 2015-12-18 11:09:03 -0800 | [diff] [blame] | 120 | "//services/log:apptests", |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 121 | "//services/url_response_disk_cache:tests", |
James Robinson | 04362ac | 2015-09-18 18:24:02 -0700 | [diff] [blame] | 122 | ] |
| 123 | } |
John Abd-El-Malek | 99a563e | 2014-10-29 16:30:52 -0700 | [diff] [blame] | 124 | } |