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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 months 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/wait_set_dispatcher_unittest.cc ('k') | mojo/edk/test/mojo_test_base.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 2014 The Chromium Authors. All rights reserved. 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 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 source_set("test_support") { 7 source_set("test_support") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "mojo_test_base.cc", 10 "mojo_test_base.cc",
11 "mojo_test_base.h", 11 "mojo_test_base.h",
12 "multiprocess_test_helper.cc", 12 "multiprocess_test_helper.cc",
13 "multiprocess_test_helper.h", 13 "multiprocess_test_helper.h",
14 "scoped_ipc_support.cc", 14 "scoped_ipc_support.cc",
15 "scoped_ipc_support.h", 15 "scoped_ipc_support.h",
16 "test_utils.h", 16 "test_utils.h",
17 "test_utils_posix.cc", 17 "test_utils_posix.cc",
18 "test_utils_win.cc", 18 "test_utils_win.cc",
19 ] 19 ]
20 20
21 deps = [ 21 deps = [
22 "//base", 22 "//base",
23 "//base/test:test_support", 23 "//base/test:test_support",
24 "//mojo/edk/system",
24 "//mojo/public/cpp/system", 25 "//mojo/public/cpp/system",
25 "//testing/gtest", 26 "//testing/gtest",
26
27 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are
28 # declared in third party only for now.
29 "//third_party/mojo/src/mojo/edk/system",
30 ] 27 ]
31 } 28 }
32 29
33 source_set("run_all_unittests") { 30 source_set("run_all_unittests") {
34 testonly = true 31 testonly = true
35 sources = [ 32 sources = [
36 "run_all_unittests.cc", 33 "run_all_unittests.cc",
37 ] 34 ]
38 35
39 deps = [ 36 deps = [
40 ":test_support", 37 ":test_support",
41 ":test_support_impl", 38 ":test_support_impl",
42 "//base", 39 "//base",
43 "//base/test:test_support", 40 "//base/test:test_support",
41 "//mojo/edk/system",
44 "//mojo/public/c/test_support", 42 "//mojo/public/c/test_support",
45 "//testing/gtest", 43 "//testing/gtest",
46
47 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are
48 # declared in third party only for now.
49 "//third_party/mojo/src/mojo/edk/system",
50 ] 44 ]
51 } 45 }
52 46
53 source_set("run_all_perftests") { 47 source_set("run_all_perftests") {
54 testonly = true 48 testonly = true
55 deps = [ 49 deps = [
56 ":test_support_impl", 50 ":test_support_impl",
57 "//base", 51 "//base",
58 "//base/test:test_support", 52 "//base/test:test_support",
53 "//mojo/edk/system",
59 "//mojo/edk/test:test_support", 54 "//mojo/edk/test:test_support",
60 "//mojo/public/c/test_support", 55 "//mojo/public/c/test_support",
61
62 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are
63 # declared in third party only for now.
64 "//third_party/mojo/src/mojo/edk/system",
65 ] 56 ]
66 57
67 sources = [ 58 sources = [
68 "run_all_perftests.cc", 59 "run_all_perftests.cc",
69 ] 60 ]
70 } 61 }
71 62
72 source_set("test_support_impl") { 63 source_set("test_support_impl") {
73 testonly = true 64 testonly = true
74 deps = [ 65 deps = [
(...skipping 10 matching lines...) Expand all
85 } 76 }
86 77
87 # Public SDK test targets follow. These targets are not defined within the 78 # Public SDK test targets follow. These targets are not defined within the
88 # public SDK itself as running the unittests requires the EDK. 79 # public SDK itself as running the unittests requires the EDK.
89 # TODO(vtl): These don't really belong here. (They should be converted to 80 # TODO(vtl): These don't really belong here. (They should be converted to
90 # apptests, but even apart from that these targets belong somewhere else.) 81 # apptests, but even apart from that these targets belong somewhere else.)
91 82
92 group("public_tests") { 83 group("public_tests") {
93 testonly = true 84 testonly = true
94 deps = [ 85 deps = [
95 # TODO(use_chrome_edk): remove "2" 86 ":mojo_public_bindings_unittests",
96 ":mojo_public_bindings_unittests2", 87 ":mojo_public_environment_unittests",
97 ":mojo_public_environment_unittests2", 88 ":mojo_public_system_perftests",
98 ":mojo_public_system_perftests2", 89 ":mojo_public_system_unittests",
99 ":mojo_public_system_unittests2", 90 ":mojo_public_utility_unittests",
100 ":mojo_public_utility_unittests2",
101 ] 91 ]
102 } 92 }
103 93
104 # TODO(use_chrome_edk): remove "2" 94 test("mojo_public_bindings_unittests") {
105 test("mojo_public_bindings_unittests2") {
106 deps = [ 95 deps = [
107 ":run_all_unittests", 96 ":run_all_unittests",
97 "//mojo/edk/test:test_support",
108 "//mojo/public/cpp/bindings/tests", 98 "//mojo/public/cpp/bindings/tests",
109 ] 99 ]
100
101 if (is_linux && !is_component_build) {
102 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
103 }
110 } 104 }
111 105
112 # TODO(use_chrome_edk): remove "2" 106 test("mojo_public_environment_unittests") {
113 test("mojo_public_environment_unittests2") {
114 deps = [ 107 deps = [
115 ":run_all_unittests", 108 ":run_all_unittests",
116 "//mojo/public/cpp/environment/tests", 109 "//mojo/public/cpp/environment/tests",
117 ] 110 ]
111
112 if (is_linux && !is_component_build) {
113 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
114 }
118 } 115 }
119 116
120 # TODO(use_chrome_edk): remove "2" 117 test("mojo_public_system_perftests") {
121 test("mojo_public_system_perftests2") {
122 deps = [ 118 deps = [
123 ":run_all_perftests", 119 ":run_all_perftests",
124 "//mojo/public/c/system/tests:perftests", 120 "//mojo/public/c/system/tests:perftests",
125 ] 121 ]
122
123 if (is_linux && !is_component_build) {
124 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
125 }
126 } 126 }
127 127
128 # TODO(use_chrome_edk): remove "2" 128 test("mojo_public_system_unittests") {
129 test("mojo_public_system_unittests2") {
130 deps = [ 129 deps = [
131 ":run_all_unittests", 130 ":run_all_unittests",
132 "//mojo/public/cpp/system/tests", 131 "//mojo/public/cpp/system/tests",
133 ] 132 ]
133
134 if (is_linux && !is_component_build) {
135 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
136 }
134 } 137 }
135 138
136 # TODO(use_chrome_edk): remove "2" 139 test("mojo_public_utility_unittests") {
137 test("mojo_public_utility_unittests2") {
138 deps = [ 140 deps = [
139 ":run_all_unittests", 141 ":run_all_unittests",
140 "//mojo/public/cpp/utility/tests", 142 "//mojo/public/cpp/utility/tests",
141 ] 143 ]
144
145 if (is_linux && !is_component_build) {
146 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
147 }
142 } 148 }
OLDNEW
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher_unittest.cc ('k') | mojo/edk/test/mojo_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698