gn: 'platform_impl' should be a group instead of component (since it has no code...
[chromium-blink-merge.git] / mojo / BUILD.gn
blob5bcbc9573d99443c9feee6e20768ce248324c576
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/runner" ]
23   }
26 group("tests") {
27   testonly = true
28   deps = [
29     "//mojo/application/public/cpp/tests:mojo_public_application_unittests",
30     "//mojo/common:mojo_common_unittests",
31     "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
32     "//third_party/mojo/src/mojo/edk/js/test:js_unittests",
33     "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests",
34     "//third_party/mojo/src/mojo/edk/system:mojo_system_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   ]
42   if (!is_component_build) {
43     deps += [
44       "//mojo/runner:apptests",
45       "//mojo/runner:tests",
46       "//mojo/services/network:apptests",
47       "//mojo/shell:tests",
48     ]
49   }