| OLD | NEW |
| 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 | 6 testonly = true |
| 7 | 7 |
| 8 deps = [ | 8 deps = [ |
| 9 ":tests", | 9 ":tests", |
| 10 "//services/asset_bundle", | 10 "//services/asset_bundle", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 } | 46 } |
| 47 | 47 |
| 48 if (is_linux && !is_fnl) { | 48 if (is_linux && !is_fnl) { |
| 49 deps += [ "//services/python" ] | 49 deps += [ "//services/python" ] |
| 50 } | 50 } |
| 51 | 51 |
| 52 if (is_android || is_linux) { | 52 if (is_android || is_linux) { |
| 53 deps += [ | 53 deps += [ |
| 54 "//services/device_info", | 54 "//services/device_info", |
| 55 "//services/files", | 55 "//services/files", |
| 56 "//services/gfx", |
| 56 "//services/ui", | 57 "//services/ui", |
| 57 "//services/native_viewport", | 58 "//services/native_viewport", |
| 58 "//services/url_response_disk_cache", | 59 "//services/url_response_disk_cache", |
| 59 ] | 60 ] |
| 60 } | 61 } |
| 61 | 62 |
| 62 # TODO(jamesr): We only support building V8 snapshot data on a linux host | 63 # TODO(jamesr): We only support building V8 snapshot data on a linux host |
| 63 # since it needs a 32 bit toolchain and we don't have one configured for mac | 64 # since it needs a 32 bit toolchain and we don't have one configured for mac |
| 64 # hosts. | 65 # hosts. |
| 65 # TODO(cstout): javascript/v8 build support for fnl/musl | 66 # TODO(cstout): javascript/v8 build support for fnl/musl |
| 66 if (!is_fnl && host_os == "linux") { | 67 if (!is_fnl && host_os == "linux") { |
| 67 deps += [ "//services/js" ] | 68 deps += [ "//services/js" ] |
| 68 } | 69 } |
| 69 } | 70 } |
| 70 | 71 |
| 71 group("tests") { | 72 group("tests") { |
| 72 testonly = true | 73 testonly = true |
| 73 | 74 |
| 74 deps = [ | 75 deps = [ |
| 75 "//services/asset_bundle:apptests", | 76 "//services/asset_bundle:apptests", |
| 76 "//services/authenticating_url_loader_interceptor:apptests", | 77 "//services/authenticating_url_loader_interceptor:apptests", |
| 77 "//services/clipboard:apptests", | 78 "//services/clipboard:apptests", |
| 79 "//services/gfx/compositor:apptests", |
| 78 "//services/http_server:apptests", | 80 "//services/http_server:apptests", |
| 79 "//services/native_support:apptests", | 81 "//services/native_support:apptests", |
| 80 "//services/prediction:apptests", | 82 "//services/prediction:apptests", |
| 81 ] | 83 ] |
| 82 | 84 |
| 83 if (is_linux && !is_fnl) { | 85 if (is_linux && !is_fnl) { |
| 84 deps += [ "//services/python:python_apptests" ] | 86 deps += [ "//services/python:python_apptests" ] |
| 85 } | 87 } |
| 86 | 88 |
| 87 if (is_android) { | 89 if (is_android) { |
| 88 deps += [ "//services/contacts:apptests" ] | 90 deps += [ "//services/contacts:apptests" ] |
| 89 deps += [ "//services/notifications:apptests" ] | 91 deps += [ "//services/notifications:apptests" ] |
| 90 } | 92 } |
| 91 | 93 |
| 92 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc
e it | 94 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc
e it |
| 93 # needs a 32 bit toolchain and we don't have one configured for mac hosts. | 95 # needs a 32 bit toolchain and we don't have one configured for mac hosts. |
| 94 # TODO(cstout): javascript/v8 build support for fnl/musl | 96 # TODO(cstout): javascript/v8 build support for fnl/musl |
| 95 if (!is_fnl && host_os == "linux") { | 97 if (!is_fnl && host_os == "linux") { |
| 96 deps += [ "//services/js:tests" ] | 98 deps += [ "//services/js:tests" ] |
| 97 } | 99 } |
| 98 | 100 |
| 99 if (is_android || is_linux) { | 101 if (is_android || is_linux) { |
| 100 deps += [ | 102 deps += [ |
| 101 "//services/files:apptests", | 103 "//services/files:apptests", |
| 102 "//services/log:apptests", | 104 "//services/log:apptests", |
| 103 "//services/url_response_disk_cache:tests", | 105 "//services/url_response_disk_cache:tests", |
| 104 ] | 106 ] |
| 105 } | 107 } |
| 106 } | 108 } |
| OLD | NEW |