Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: mojo/edk/system/test/BUILD.gn

Issue 1430593005: EDK: Remove (direct) dependencies of //mojo/edk/system on //base/test. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/system/run_all_unittests.cc ('k') | mojo/edk/system/test/perf_log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../mojo_edk.gni") 5 import("../../mojo_edk.gni")
6 6
7 # Utilties for use by EDK internal (unit and perf) tests.
7 mojo_edk_source_set("test") { 8 mojo_edk_source_set("test") {
8 testonly = true 9 testonly = true
10 mojo_edk_visibility = [ "mojo/edk/*" ]
9 11
10 sources = [ 12 sources = [
11 "random.cc", 13 "random.cc",
12 "random.h", 14 "random.h",
13 "scoped_test_dir.cc", 15 "scoped_test_dir.cc",
14 "scoped_test_dir.h", 16 "scoped_test_dir.h",
15 "simple_test_thread.cc", 17 "simple_test_thread.cc",
16 "simple_test_thread.h", 18 "simple_test_thread.h",
17 "sleep.cc", 19 "sleep.cc",
18 "sleep.h", 20 "sleep.h",
19 "stopwatch.cc", 21 "stopwatch.cc",
20 "stopwatch.h", 22 "stopwatch.h",
21 "test_io_thread.cc", 23 "test_io_thread.cc",
22 "test_io_thread.h", 24 "test_io_thread.h",
23 "timeouts.cc", 25 "timeouts.cc",
24 "timeouts.h", 26 "timeouts.h",
25 ] 27 ]
26 28
27 mojo_sdk_public_deps = [ 29 mojo_sdk_public_deps = [
28 "mojo/public/c/system", 30 "mojo/public/c/system",
29 "mojo/public/cpp/system", 31 "mojo/public/cpp/system",
30 ] 32 ]
31 33
32 deps = [ 34 deps = [
33 "//base", 35 "//base",
34 "//base/test:test_support", 36 "//base/test:test_support",
37 "//testing/gtest",
35 ] 38 ]
36 39
37 mojo_edk_deps = [ 40 mojo_edk_deps = [
38 "mojo/edk/embedder:platform", 41 "mojo/edk/embedder:platform",
39 "mojo/edk/util", 42 "mojo/edk/util",
40 ] 43 ]
41 } 44 }
42 45
46 # Utilities for use by EDK internal perf tests (for use with
47 # :run_all_perftests).
48 mojo_edk_source_set("perf") {
49 testonly = true
50 mojo_edk_visibility = [ "mojo/edk/*" ]
51
52 sources = [
53 "perf_log.cc",
54 "perf_log.h",
55 ]
56
57 deps = [
58 "//base/test:test_support",
59 ]
60 }
61
62 mojo_edk_source_set("run_all_unittests") {
63 testonly = true
64 mojo_edk_visibility = [ "mojo/edk/*" ]
65
66 sources = [
67 "run_all_unittests.cc",
68 ]
69
70 deps = [
71 "//base",
72 "//base/test:test_support",
73 "//testing/gtest",
74 ]
75 }
76
77 mojo_edk_source_set("run_all_perftests") {
78 testonly = true
79 mojo_edk_visibility = [ "mojo/edk/*" ]
80
81 sources = [
82 "run_all_perftests.cc",
83 ]
84
85 deps = [
86 "//base/test:test_support",
87 ]
88 }
89
43 mojo_edk_source_set("unittests") { 90 mojo_edk_source_set("unittests") {
44 testonly = true 91 testonly = true
45 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] 92 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
46 93
47 sources = [ 94 sources = [
48 "random_unittest.cc", 95 "random_unittest.cc",
49 ] 96 ]
50 97
51 deps = [ 98 deps = [
52 ":test", 99 ":test",
53 "//testing/gtest", 100 "//testing/gtest",
54 ] 101 ]
55 } 102 }
OLDNEW
« no previous file with comments | « mojo/edk/system/run_all_unittests.cc ('k') | mojo/edk/system/test/perf_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698