OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 # One Big Target for services to register their unit test sources. This exists | 7 # One Big Target for services to register their unit test sources. This exists |
8 # to avoid having to maintain a separate test binary for every service. | 8 # to avoid having to maintain a separate test binary for every service. |
9 # | 9 # |
10 # To add tests for a new service, please define a "tests" source_set in the | 10 # To add tests for a new service, please define a "tests" source_set in the |
11 # service subdirectory and add it as a dependency here. | 11 # service subdirectory and add it as a dependency here. |
12 test("service_unittests") { | 12 test("service_unittests") { |
13 deps = [ | 13 deps = [ |
14 "//services/image_decoder:tests", | 14 "//services/image_decoder:tests", |
15 "//services/test:run_all_unittests", | 15 "//services/test:run_all_unittests", |
16 ] | 16 ] |
| 17 |
| 18 if (is_android) { |
| 19 # Some tests need to initialize V8. |
| 20 deps += [ "//v8:v8_external_startup_data_assets" ] |
| 21 } |
17 } | 22 } |
OLD | NEW |