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

Side by Side Diff: 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: 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/rules.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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 deps = [ 158 deps = [
163 ":system", 159 ":system",
164 ":test_utils", 160 ":test_utils",
165 "../embedder:embedder_unittests", 161 "../embedder:embedder_unittests",
166 "../test:test_support", 162 "../test:test_support",
167 "//base", 163 "//base",
168 "//base/test:test_support", 164 "//base/test:test_support",
169 "//testing/gtest", 165 "//testing/gtest",
170 ] 166 ]
171 167
172 if (is_android) {
173 deps += [ "//testing/android:native_test_native_code" ]
174 }
175
176 allow_circular_includes_from = [ "../embedder:embedder_unittests" ] 168 allow_circular_includes_from = [ "../embedder:embedder_unittests" ]
177 } 169 }
178 170
179 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests 171 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests
180 test("mojo_message_pipe_perftests") { 172 test("mojo_message_pipe_perftests") {
181 sources = [ 173 sources = [
182 "message_pipe_perftest.cc", 174 "message_pipe_perftest.cc",
183 "message_pipe_test_utils.h", 175 "message_pipe_test_utils.h",
184 "message_pipe_test_utils.cc", 176 "message_pipe_test_utils.cc",
185 ] 177 ]
186 178
187 deps = [ 179 deps = [
188 ":system", 180 ":system",
189 ":test_utils", 181 ":test_utils",
190 "../test:test_support", 182 "../test:test_support",
191 "//base", 183 "//base",
192 "//base/test:test_support", 184 "//base/test:test_support",
193 "//base/test:test_support_perf", 185 "//base/test:test_support_perf",
194 "//testing/gtest", 186 "//testing/gtest",
195 ] 187 ]
196 } 188 }
197
198 if (is_android) {
199 unittest_apk("mojo_system_unittests_apk") {
200 deps = [
201 ":mojo_system_unittests",
202 ]
203 unittests_dep = ":mojo_system_unittests"
204 }
205 }
OLDNEW
« no previous file with comments | « mojo/edk/js/test/BUILD.gn ('k') | mojo/edk/test/BUILD.gn » ('j') | testing/rules.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698