OLD | NEW |
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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//services/shell/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
7 import("//services/shell/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
11 source_set("lib") { | 11 source_set("lib") { |
12 testonly = true | 12 testonly = true |
13 sources = [ | 13 sources = [ |
14 "webtest.cc", | 14 "webtest.cc", |
15 "webtest.h", | 15 "webtest.h", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//mash/public/interfaces", | 20 "//mash/public/interfaces", |
21 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
22 "//services/navigation/public/interfaces", | 22 "//services/navigation/public/interfaces", |
23 "//services/shell/public/cpp", | 23 "//services/service_manager/public/cpp", |
24 "//services/shell/public/interfaces", | 24 "//services/service_manager/public/interfaces", |
25 "//services/tracing/public/cpp", | 25 "//services/tracing/public/cpp", |
26 "//services/ui/public/cpp", | 26 "//services/ui/public/cpp", |
27 "//ui/gfx/geometry/mojo", | 27 "//ui/gfx/geometry/mojo", |
28 "//ui/native_theme", | 28 "//ui/native_theme", |
29 "//ui/views", | 29 "//ui/views", |
30 "//ui/views/mus:for_mojo_application", | 30 "//ui/views/mus:for_mojo_application", |
31 "//url", | 31 "//url", |
32 ] | 32 ] |
33 | 33 |
34 data_deps = [ | 34 data_deps = [ |
35 "//services/navigation", | 35 "//services/navigation", |
36 ] | 36 ] |
37 } | 37 } |
38 | 38 |
39 service("webtest") { | 39 service("webtest") { |
40 testonly = true | 40 testonly = true |
41 sources = [ | 41 sources = [ |
42 "main.cc", | 42 "main.cc", |
43 ] | 43 ] |
44 | 44 |
45 deps = [ | 45 deps = [ |
46 ":lib", | 46 ":lib", |
47 "//services/shell/public/cpp", | 47 "//services/service_manager/public/cpp", |
48 "//ui/views/mus:for_mojo_application", | 48 "//ui/views/mus:for_mojo_application", |
49 ] | 49 ] |
50 | 50 |
51 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 51 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
52 | 52 |
53 data_deps = [ | 53 data_deps = [ |
54 ":manifest", | 54 ":manifest", |
55 "//services/ui", | 55 "//services/ui", |
56 ] | 56 ] |
57 } | 57 } |
58 | 58 |
59 service_manifest("manifest") { | 59 service_manifest("manifest") { |
60 name = "webtest" | 60 name = "webtest" |
61 source = "manifest.json" | 61 source = "manifest.json" |
62 } | 62 } |
OLD | NEW |