Fix Mac GN build
[chromium-blink-merge.git] / mojo / BUILD.gn
blob66e69aff2f456a6977905259a1e28fc36b8a1672
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.
5 import("//build/config/ui.gni")
7 group("mojo") {
8   # Meta-target, don't link into production code.
9   testonly = true
10   deps = [
11     ":tests",
12     "//mojo/common",
13     "//mojo/services",
14     "//third_party/mojo/src/mojo/public",
15   ]
17   if (is_android) {
18     deps += [ "//mojo/android" ]
19   }
21   if (!is_component_build) {
22     deps += [ "//mojo/shell" ]
23   }
26 group("tests") {
27   testonly = true
28   deps = [
29     "//mojo/common:mojo_common_unittests",
30     "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
31     "//third_party/mojo/src/mojo/edk/js/test:js_unittests",
32     "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests",
33     "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
34     "//third_party/mojo/src/mojo/edk/test:mojo_public_application_unittests",
35     "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
36     "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
37     "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
38     "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
39     "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
40   ]