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

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

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « media/gpu/ipc/service/BUILD.gn ('k') | services/navigation/DEPS » ('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("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 group("all") { 10 group("all") {
11 testonly = true 11 testonly = true
12 data_deps = [ 12 data_deps = [
13 ":navigation", 13 ":navigation",
14 ":navigation_unittests", 14 ":navigation_unittests",
15 ] 15 ]
16 } 16 }
17 17
18 executable("navigation") { 18 executable("navigation") {
19 testonly = true 19 testonly = true
20 sources = [ 20 sources = [
21 "main.cc", 21 "main.cc",
22 ] 22 ]
23 23
24 deps = [ 24 deps = [
25 ":lib", 25 ":lib",
26 ":pak", 26 ":pak",
27 "//base", 27 "//base",
28 "//build/win:default_exe_manifest", 28 "//build/win:default_exe_manifest",
29 "//components/mus/public/cpp",
30 "//content", 29 "//content",
31 "//content/public/app:both", 30 "//content/public/app:both",
32 "//mojo/public/cpp/bindings", 31 "//mojo/public/cpp/bindings",
33 "//services/navigation/content_client", 32 "//services/navigation/content_client",
34 "//services/shell/runner:init", 33 "//services/shell/runner:init",
35 "//services/shell/runner/common", 34 "//services/shell/runner/common",
35 "//services/ui/public/cpp",
36 "//ui/views", 36 "//ui/views",
37 "//ui/views/controls/webview", 37 "//ui/views/controls/webview",
38 "//ui/views/mus", 38 "//ui/views/mus",
39 ] 39 ]
40 40
41 data_deps = [ 41 data_deps = [
42 ":manifest", 42 ":manifest",
43 "//components/mus/test_wm", 43 "//services/ui/test_wm",
44 ] 44 ]
45 45
46 if (is_win) { 46 if (is_win) {
47 configs -= [ "//build/config/win:console" ] 47 configs -= [ "//build/config/win:console" ]
48 configs += [ "//build/config/win:windowed" ] 48 configs += [ "//build/config/win:windowed" ]
49 deps += [ "//sandbox" ] 49 deps += [ "//sandbox" ]
50 } 50 }
51 } 51 }
52 52
53 static_library("lib") { 53 static_library("lib") {
54 sources = [ 54 sources = [
55 "navigation.cc", 55 "navigation.cc",
56 "navigation.h", 56 "navigation.h",
57 "view_impl.cc", 57 "view_impl.cc",
58 "view_impl.h", 58 "view_impl.h",
59 ] 59 ]
60 60
61 deps = [ 61 deps = [
62 "//base", 62 "//base",
63 "//components/mus/public/cpp",
64 "//content/public/browser", 63 "//content/public/browser",
65 "//services/navigation/public/interfaces", 64 "//services/navigation/public/interfaces",
66 "//services/shell/public/cpp", 65 "//services/shell/public/cpp",
66 "//services/ui/public/cpp",
67 "//skia", 67 "//skia",
68 "//ui/gfx/geometry/mojo", 68 "//ui/gfx/geometry/mojo",
69 "//ui/views", 69 "//ui/views",
70 "//ui/views/controls/webview", 70 "//ui/views/controls/webview",
71 "//ui/views/mus", 71 "//ui/views/mus",
72 ] 72 ]
73 } 73 }
74 74
75 test("navigation_unittests") { 75 test("navigation_unittests") {
76 sources = [ 76 sources = [
77 "navigation_unittest.cc", 77 "navigation_unittest.cc",
78 ] 78 ]
79 79
80 deps = [ 80 deps = [
81 "//base", 81 "//base",
82 "//base/test:test_support", 82 "//base/test:test_support",
83 "//services/navigation/public/interfaces", 83 "//services/navigation/public/interfaces",
84 "//services/shell/public/cpp", 84 "//services/shell/public/cpp",
85 "//services/shell/public/cpp:shell_test_support", 85 "//services/shell/public/cpp:shell_test_support",
86 "//services/shell/public/cpp/test:run_all_shelltests", 86 "//services/shell/public/cpp/test:run_all_shelltests",
87 "//testing/gtest", 87 "//testing/gtest",
88 ] 88 ]
89 89
90 data_deps = [ 90 data_deps = [
91 ":navigation", 91 ":navigation",
92 ":unittest_manifest", 92 ":unittest_manifest",
93 "//components/mus/test_wm", 93 "//services/ui/test_wm",
94 ] 94 ]
95 } 95 }
96 96
97 mojo_application_manifest("manifest") { 97 mojo_application_manifest("manifest") {
98 type = "exe" 98 type = "exe"
99 application_name = "navigation" 99 application_name = "navigation"
100 source = "manifest.json" 100 source = "manifest.json"
101 } 101 }
102 102
103 mojo_application_manifest("unittest_manifest") { 103 mojo_application_manifest("unittest_manifest") {
(...skipping 30 matching lines...) Expand all
134 "//net:net_resources", 134 "//net:net_resources",
135 "//third_party/WebKit/public:image_resources", 135 "//third_party/WebKit/public:image_resources",
136 "//third_party/WebKit/public:resources", 136 "//third_party/WebKit/public:resources",
137 "//ui/resources", 137 "//ui/resources",
138 "//ui/strings", 138 "//ui/strings",
139 "//ui/views/resources", 139 "//ui/views/resources",
140 ] 140 ]
141 141
142 output = "$root_out_dir/navigation.pak" 142 output = "$root_out_dir/navigation.pak"
143 } 143 }
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/BUILD.gn ('k') | services/navigation/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698