1 # Copyright 2014 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
6 import("//testing/test.gni")
9 # Meta-target, don't link into production code.
13 if (!((is_linux || is_chromeos) && current_cpu == "x86")) {
14 deps += [ "//mojo/public" ]
18 deps += [ "//mojo/public/java/system" ]
21 deps += [ "//services/service_manager:all" ]
30 "//mojo/public/tools:mojo_python_unittests",
31 "//services/service_manager/tests",
32 "//third_party/ipcz/src:ipcz_tests",
36 test("mojo_unittests") {
38 "//mojo/core:test_sources",
39 "//mojo/core/test:run_all_unittests",
40 "//mojo/public/cpp/base:tests",
41 "//mojo/public/cpp/bindings/tests",
42 "//mojo/public/cpp/platform/tests",
43 "//mojo/public/cpp/system/tests",
44 "//mojo/public/js/ts/bindings/tests",
48 test("mojo_perftests") {
49 sources = [ "//mojo/core/handle_table_perftest.cc" ]
51 "//mojo/core/test:run_all_perftests",
52 "//mojo/core/test:test_support",
53 "//mojo/public/c/system/tests:perftests",
54 "//mojo/public/cpp/bindings/tests:perftests",
59 sources += [ "//mojo/core/message_pipe_perftest.cc" ]
63 "//base/test:test_support",
64 "//mojo/core:embedder_internal",
65 "//mojo/core/embedder",