[Telemetry] Always uploading browser log if enabled instead of wait for crash to...
[chromium-blink-merge.git] / mojo / BUILD.gn
blob8e7062707ff9a2801e1f013814f7e67974330ebf
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 # TODO(GYP): Delete this after we've converted everything to GN.
27 # The _run targets exist only for compatibility w/ GYP.
28 group("mojo_public_bindings_unittests_run") {
29   testonly = true
30   deps = [
31     "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
32   ]
35 # TODO(GYP): Delete this after we've converted everything to GN.
36 # The _run targets exist only for compatibility w/ GYP.
37 group("mojo_public_environment_unittests_run") {
38   testonly = true
39   deps = [
40     "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
41   ]
44 group("tests") {
45   testonly = true
46   deps = [
47     "//ipc/mojo:ipc_mojo_unittests",
48     "//mojo/application/public/cpp/tests:mojo_public_application_unittests",
49     "//mojo/common:mojo_common_unittests",
50     "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
51     "//third_party/mojo/src/mojo/edk/js/test:js_unittests",
52     "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests",
53     "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
54     "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
55     "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
56     "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
57     "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
58     "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
59   ]
61   if (!is_component_build) {
62     deps += [
63       "//mojo/runner:apptests",
64       "//mojo/runner:mojo_runner_unittests",
65       "//mojo/services/network:apptests",
66       "//mojo/shell:mojo_shell_unittests",
67     ]
69     if (is_android) {
70       deps += [ "//mojo/runner:mojo_runner_apptests_apk" ]
71     }
72   }