Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / common / test / BUILD.gn
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.
4
5 # GYP version: mojo/mojo_base.gyp:mojo_run_all_unittests
6 source_set("run_all_unittests") {
7   testonly = true
8   deps = [
9     ":test_support_impl",
10     "//base",
11     "//base/test:test_support",
12     "//mojo/public/c/test_support",
13     "//mojo/system",
14     "//testing/gtest",
15   ]
16
17   sources = [ "run_all_unittests.cc" ]
18 }
19
20 # GYP version: mojo/mojo_base.gyp:mojo_run_all_perftests
21 source_set("run_all_perftests") {
22   testonly = true
23   deps = [
24     ":test_support_impl",
25     "//base",
26     "//base/test:test_support",
27     "//mojo/public/c/test_support",
28     "//mojo/system",
29   ]
30
31   sources = [ "run_all_perftests.cc" ]
32 }
33
34
35 # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl
36 source_set("test_support_impl") {
37   testonly = true
38   deps = [
39     "//base",
40   ]
41
42   sources = [
43     "test_support_impl.cc",
44     "test_support_impl.h",
45   ]
46 }
47
48 # GYP version: mojo/mojo_base.gyp:mojo_common_test_support
49 source_set("test_support") {
50   testonly = true
51   deps = [
52     "//base",
53     "//base/test:test_support",
54     "//testing/gtest",
55     "//mojo/system",
56   ]
57
58   sources = [
59     "multiprocess_test_helper.cc",
60     "multiprocess_test_helper.h",
61     "test_utils.h",
62     "test_utils_posix.cc",
63     "test_utils_win.cc",
64   ]
65 }