Hidehiko Abe | b268b43 | 2018-04-24 01:37:19 +0900 | [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 | import("//build/config/ui.gni") |
| 6 | |
| 7 | group("mojo") { |
| 8 | # Meta-target, don't link into production code. |
| 9 | testonly = true |
| 10 | deps = [ |
| 11 | ":tests", |
| 12 | "//mojo/common", |
| 13 | ] |
| 14 | |
| 15 | if (!(is_linux && current_cpu == "x86")) { |
| 16 | deps += [ "//mojo/public" ] |
| 17 | } |
| 18 | |
| 19 | if (is_android) { |
| 20 | deps += [ "//mojo/android" ] |
| 21 | } |
| 22 | |
| 23 | deps += [ "//services/service_manager:all" ] |
| 24 | } |
| 25 | |
| 26 | group("tests") { |
| 27 | testonly = true |
| 28 | deps = [ |
| 29 | "//ipc:ipc_tests", |
| 30 | "//mojo/common:mojo_common_unittests", |
| 31 | "//mojo/edk/js/tests", |
| 32 | "//mojo/edk/system:mojo_message_pipe_perftests", |
| 33 | "//mojo/edk/system:mojo_system_unittests", |
| 34 | "//mojo/edk/test:mojo_public_bindings_perftests", |
| 35 | "//mojo/edk/test:mojo_public_bindings_unittests", |
| 36 | "//mojo/edk/test:mojo_public_system_perftests", |
| 37 | "//mojo/edk/test:mojo_public_system_unittests", |
| 38 | "//services/service_manager/public/cpp/tests:mojo_public_application_unittests", |
| 39 | "//services/service_manager/tests", |
| 40 | ] |
| 41 | } |