blob: 218ba9140bf42d0deab2b17d1649f7e2249cf1be [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
group("mojo") {
# Meta-target, don't link into production code.
testonly = true
deps = [
":tests",
"//mojo/common",
"//mojo/services",
]
if (!(is_linux && target_cpu == "x86")) {
# TODO(GYP): Figure out if this needs to be supported. Right now
# it won't work on x86 official builds because it needs stuff in the
# sysroot that doesn't exist.
deps += [ "//mojo/public" ]
}
if (is_android) {
deps += [ "//mojo/android" ]
}
deps += [ "//mojo/shell:all" ]
}
group("tests") {
testonly = true
deps = [
"//ipc/mojo:ipc_mojo_unittests",
"//mojo/common:mojo_common_unittests",
"//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
"//mojo/edk/js/test:js_integration_tests",
"//mojo/edk/js/test:js_unittests",
"//mojo/edk/system:mojo_message_pipe_perftests",
"//mojo/edk/system:mojo_system_unittests",
"//mojo/edk/test:mojo_public_bindings_perftests",
"//mojo/edk/test:mojo_public_bindings_unittests",
"//mojo/edk/test:mojo_public_system_perftests",
"//mojo/edk/test:mojo_public_system_unittests",
"//mojo/shell/public/cpp/tests:mojo_public_application_unittests",
"//mojo/shell/runner/host:mojo_runner_host_unittests",
"//mojo/shell/tests",
]
}