fixup! [M108 Migration][API] Bring up autofill
[platform/framework/web/chromium-efl.git] / mojo / BUILD.gn
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.
4
5 import("//build/config/ui.gni")
6 import("//testing/test.gni")
7
8 group("mojo") {
9   # Meta-target, don't link into production code.
10   testonly = true
11   deps = [ ":tests" ]
12
13   if (!((is_linux || is_chromeos) && current_cpu == "x86")) {
14     deps += [ "//mojo/public" ]
15   }
16
17   if (is_android) {
18     deps += [ "//mojo/public/java/system" ]
19   }
20
21   deps += [ "//services/service_manager:all" ]
22 }
23
24 group("tests") {
25   testonly = true
26   deps = [
27     ":mojo_perftests",
28     ":mojo_unittests",
29     "//ipc:ipc_tests",
30     "//mojo/public/tools:mojo_python_unittests",
31     "//services/service_manager/tests",
32     "//third_party/ipcz/src:ipcz_tests",
33   ]
34 }
35
36 test("mojo_unittests") {
37   deps = [
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",
45   ]
46 }
47
48 test("mojo_perftests") {
49   sources = [ "//mojo/core/handle_table_perftest.cc" ]
50   deps = [
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",
55     "//testing/perf",
56   ]
57
58   if (!is_ios) {
59     sources += [ "//mojo/core/message_pipe_perftest.cc" ]
60
61     deps += [
62       "//base",
63       "//base/test:test_support",
64       "//mojo/core:embedder_internal",
65       "//mojo/core/embedder",
66       "//testing/gtest",
67     ]
68   }
69 }