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

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

Issue 1429653004: Remove the mojo_use_application_in_sdk GN variable. (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 | « no previous file | mojo/public/BUILD.gn » ('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("../mojo_edk.gni") 5 import("../mojo_edk.gni")
6 import("../../public/mojo.gni")
7 import("//testing/test.gni") 6 import("//testing/test.gni")
8 7
9 mojo_edk_source_set("test_support") { 8 mojo_edk_source_set("test_support") {
10 testonly = true 9 testonly = true
11 sources = [ 10 sources = [
12 "multiprocess_test_helper.cc", 11 "multiprocess_test_helper.cc",
13 "multiprocess_test_helper.h", 12 "multiprocess_test_helper.h",
14 "scoped_ipc_support.cc", 13 "scoped_ipc_support.cc",
15 "scoped_ipc_support.h", 14 "scoped_ipc_support.h",
16 "scoped_test_dir.cc", 15 "scoped_test_dir.cc",
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 89 }
91 90
92 # Public SDK test targets follow. These targets are not defined within the 91 # Public SDK test targets follow. These targets are not defined within the
93 # public SDK itself as running the unittests requires the EDK. 92 # public SDK itself as running the unittests requires the EDK.
94 # TODO(vtl): These don't really belong here. (They should be converted to 93 # TODO(vtl): These don't really belong here. (They should be converted to
95 # apptests, but even apart from that these targets belong somewhere else.) 94 # apptests, but even apart from that these targets belong somewhere else.)
96 95
97 group("public_tests") { 96 group("public_tests") {
98 testonly = true 97 testonly = true
99 deps = [ 98 deps = [
99 ":mojo_public_application_unittests",
100 ":mojo_public_bindings_perftests", 100 ":mojo_public_bindings_perftests",
101 ":mojo_public_bindings_unittests", 101 ":mojo_public_bindings_unittests",
102 ":mojo_public_environment_unittests", 102 ":mojo_public_environment_unittests",
103 ":mojo_public_system_perftests", 103 ":mojo_public_system_perftests",
104 ":mojo_public_system_unittests", 104 ":mojo_public_system_unittests",
105 ":mojo_public_utility_unittests", 105 ":mojo_public_utility_unittests",
106 ":mojo_system_impl_private_unittests", 106 ":mojo_system_impl_private_unittests",
107 ] 107 ]
108
109 if (mojo_use_application_in_sdk) {
110 deps += [ ":mojo_public_application_unittests" ]
111 }
112 } 108 }
113 109
114 if (mojo_use_application_in_sdk) { 110 test("mojo_public_application_unittests") {
115 test("mojo_public_application_unittests") { 111 deps = [
116 deps = [ 112 ":run_all_unittests",
117 ":run_all_unittests", 113 "../../public/cpp/application/tests",
118 "../../public/cpp/application/tests", 114 ]
119 ]
120 }
121 } 115 }
122 116
123 test("mojo_public_bindings_unittests") { 117 test("mojo_public_bindings_unittests") {
124 deps = [ 118 deps = [
125 ":run_all_unittests", 119 ":run_all_unittests",
126 "../../public/cpp/bindings/tests", 120 "../../public/cpp/bindings/tests",
127 ] 121 ]
128 } 122 }
129 123
130 test("mojo_public_bindings_perftests") { 124 test("mojo_public_bindings_perftests") {
(...skipping 30 matching lines...) Expand all
161 "../../public/cpp/utility/tests", 155 "../../public/cpp/utility/tests",
162 ] 156 ]
163 } 157 }
164 158
165 test("mojo_system_impl_private_unittests") { 159 test("mojo_system_impl_private_unittests") {
166 deps = [ 160 deps = [
167 ":run_all_unittests", 161 ":run_all_unittests",
168 "../../public/platform/native:system_impl_private_tests", 162 "../../public/platform/native:system_impl_private_tests",
169 ] 163 ]
170 } 164 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698