blob: 070e2d1c31efd229093f63333cc36181a801a73f [file] [log] [blame]
Luis Hector Chavez645501c2016-12-28 10:56:26 -08001# 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
5import("//build/config/ui.gni")
6
7group("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")) {
Luis Hector Chavez645501c2016-12-28 10:56:26 -080016 deps += [ "//mojo/public" ]
17 }
18
19 if (is_android) {
20 deps += [ "//mojo/android" ]
21 }
22
Jay Civellicfc1eaa2017-08-21 17:18:10 -070023 deps += [ "//services/service_manager:all" ]
Luis Hector Chavez645501c2016-12-28 10:56:26 -080024}
25
26group("tests") {
27 testonly = true
28 deps = [
29 "//ipc:ipc_tests",
30 "//mojo/common:mojo_common_unittests",
Jay Civellicfc1eaa2017-08-21 17:18:10 -070031 "//mojo/edk/js/tests",
Luis Hector Chavez645501c2016-12-28 10:56:26 -080032 "//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",
Jay Civellicfc1eaa2017-08-21 17:18:10 -070038 "//services/service_manager/public/cpp/tests:mojo_public_application_unittests",
39 "//services/service_manager/tests",
Luis Hector Chavez645501c2016-12-28 10:56:26 -080040 ]
41}