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

Side by Side Diff: services/service_manager/public/cpp/test/BUILD.gn

Issue 2897123004: Move display_service_unittests to services_unittests. (Closed)
Patch Set: Merge with tot Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 # NOTE: Don't depend on this target directly. Instead use the service_test 7 # Only depend on this target if you're trying to implement a custom service
8 # template from //services/service_manager/public/tools/test/service_test.gni. 8 # test runner.
9 source_set("run_all_service_tests") { 9 source_set("common_initialization") {
10 testonly = true 10 testonly = true
11 11
12 sources = [ 12 sources = [
13 "run_all_service_tests.cc", 13 "common_initialization.cc",
14 "common_initialization.h",
14 "service_test_catalog.h", 15 "service_test_catalog.h",
15 ] 16 ]
16 17
17 deps = [ 18 deps = [
18 "//base", 19 "//base",
19 "//base/test:test_support", 20 "//base/test:test_support",
20 "//mojo/edk/system", 21 "//mojo/edk/system",
21 "//services/catalog:lib", 22 "//services/catalog:lib",
22 "//services/service_manager/background:lib", 23 "//services/service_manager/background:lib",
23 "//services/service_manager/public/cpp/standalone_service", 24 "//services/service_manager/public/cpp/standalone_service",
24 ] 25 ]
25 26
26 if (is_android) { 27 if (is_android) {
27 deps += [ "//mojo/android:libsystem_java" ] 28 deps += [ "//mojo/android:libsystem_java" ]
28 } 29 }
29 } 30 }
31
32 # NOTE: Don't depend on this target directly. Instead use the service_test
sky 2017/05/24 22:34:11 Is it possible to enforce this with visibility?
Elliot Glaysher 2017/05/24 22:42:09 I don't believe it can. The visibility check happe
33 # template from //services/service_manager/public/tools/test/service_test.gni.
34 source_set("run_all_service_tests") {
35 testonly = true
36
37 sources = [
38 "run_all_service_tests.cc",
39 ]
40
41 deps = [
42 ":common_initialization",
43 "//base",
44 "//base/test:test_support",
45 ]
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698