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

Side by Side Diff: third_party/mojo/src/mojo/edk/system/BUILD.gn

Issue 824263004: Move the test template to //testing/test.gni (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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
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("../mojo_edk.gni") 6 import("../mojo_edk.gni")
6 7
7 if (is_android) {
8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni")
10 }
11
12 config("system_config") { 8 config("system_config") {
13 defines = [ 9 defines = [
14 # Ensures that dependent projects import the core functions on Windows. 10 # Ensures that dependent projects import the core functions on Windows.
15 "MOJO_USE_SYSTEM_IMPL", 11 "MOJO_USE_SYSTEM_IMPL",
16 ] 12 ]
17 } 13 }
18 14
19 component("system") { 15 component("system") {
20 output_name = "mojo_system_impl" 16 output_name = "mojo_system_impl"
21 17
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 deps = [ 162 deps = [
167 ":system", 163 ":system",
168 ":test_utils", 164 ":test_utils",
169 "../embedder:embedder_unittests", 165 "../embedder:embedder_unittests",
170 "../test:test_support", 166 "../test:test_support",
171 "//base", 167 "//base",
172 "//base/test:test_support", 168 "//base/test:test_support",
173 "//testing/gtest", 169 "//testing/gtest",
174 ] 170 ]
175 171
176 if (is_android) {
177 deps += [ "//testing/android:native_test_native_code" ]
178 }
179
180 allow_circular_includes_from = [ "../embedder:embedder_unittests" ] 172 allow_circular_includes_from = [ "../embedder:embedder_unittests" ]
181 } 173 }
182 174
183 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests 175 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests
184 test("mojo_message_pipe_perftests") { 176 test("mojo_message_pipe_perftests") {
185 sources = [ 177 sources = [
186 "message_pipe_perftest.cc", 178 "message_pipe_perftest.cc",
187 "message_pipe_test_utils.h", 179 "message_pipe_test_utils.h",
188 "message_pipe_test_utils.cc", 180 "message_pipe_test_utils.cc",
189 ] 181 ]
190 182
191 deps = [ 183 deps = [
192 ":system", 184 ":system",
193 ":test_utils", 185 ":test_utils",
194 "../test:test_support", 186 "../test:test_support",
195 "//base", 187 "//base",
196 "//base/test:test_support", 188 "//base/test:test_support",
197 "//base/test:test_support_perf", 189 "//base/test:test_support_perf",
198 "//testing/gtest", 190 "//testing/gtest",
199 ] 191 ]
200 } 192 }
201
202 if (is_android) {
203 unittest_apk("mojo_system_unittests_apk") {
204 deps = [
205 ":mojo_system_unittests",
206 ]
207 unittests_dep = ":mojo_system_unittests"
208 }
209 }
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/js/test/BUILD.gn ('k') | third_party/mojo/src/mojo/edk/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698