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

Side by Side Diff: services/navigation/BUILD.gn

Issue 2658063003: Misc service_manager and service test cleanup (Closed)
Patch Set: . Created 3 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
« no previous file with comments | « services/BUILD.gn ('k') | services/service_manager/background/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 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("//services/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//services/service_manager/public/tools/test/service_test.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
9 10
10 group("all") { 11 group("all") {
11 testonly = true 12 testonly = true
12 data_deps = [ 13 data_deps = [
13 ":navigation", 14 ":navigation",
14 ":navigation_unittests", 15 ":navigation_unittests",
15 ] 16 ]
16 } 17 }
(...skipping 19 matching lines...) Expand all
36 deps = [ 37 deps = [
37 "//content/public/browser", 38 "//content/public/browser",
38 "//skia", 39 "//skia",
39 "//ui/gfx/geometry/mojo", 40 "//ui/gfx/geometry/mojo",
40 "//ui/views", 41 "//ui/views",
41 "//ui/views/controls/webview", 42 "//ui/views/controls/webview",
42 "//ui/views/mus", 43 "//ui/views/mus",
43 ] 44 ]
44 } 45 }
45 46
46 test("navigation_unittests") { 47 service_test("navigation_unittests") {
47 sources = [ 48 sources = [
48 "navigation_unittest.cc", 49 "navigation_unittest.cc",
49 ] 50 ]
50 51
52 catalog = ":navigation_unittests_catalog"
53
51 deps = [ 54 deps = [
52 "//base", 55 "//base",
53 "//base/test:test_support", 56 "//mojo/public/cpp/bindings",
54 "//services/navigation/public/interfaces", 57 "//services/navigation/public/interfaces",
55 "//services/service_manager/public/cpp", 58 "//services/service_manager/public/cpp",
56 "//services/service_manager/public/cpp:service_test_support", 59 "//services/service_manager/public/cpp:service_test_support",
57 "//services/service_manager/public/cpp/test:run_all_service_tests", 60 "//services/service_manager/public/interfaces",
58 "//testing/gtest", 61 "//testing/gtest",
59 ] 62 ]
60 63
61 data_deps = [ 64 data_deps = [
62 ":unittest_manifest",
63 "//content/shell:content_shell", 65 "//content/shell:content_shell",
64 "//services/ui/test_wm", 66 "//services/ui/test_wm",
65 ] 67 ]
66 } 68 }
67 69
68 service_manifest("manifest") { 70 service_manifest("manifest") {
69 name = "navigation" 71 name = "navigation"
70 source = "manifest.json" 72 source = "manifest.json"
71 } 73 }
72 74
73 service_manifest("unittest_manifest") { 75 service_manifest("unittest_manifest") {
74 name = "navigation_unittests" 76 name = "navigation_unittests"
75 source = "unittest_manifest.json" 77 source = "unittest_manifest.json"
76 } 78 }
79
80 catalog("navigation_unittests_catalog") {
81 embedded_services = [ ":unittest_manifest" ]
82 standalone_services = [
83 ":manifest",
84 "//services/ui:manifest",
85 "//services/ui/test_wm:manifest",
86 ]
87 }
OLDNEW
« no previous file with comments | « services/BUILD.gn ('k') | services/service_manager/background/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698