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