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

Side by Side Diff: mojo/shell/BUILD.gn

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 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 | « mojo/services/tracing/tracing_app.cc ('k') | mojo/shell/application_instance.h » ('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 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("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 source_set("shell") { 9 source_set("shell") {
10 output_name = "mojo_shell" 10 output_name = "mojo_shell"
(...skipping 24 matching lines...) Expand all
35 "shell_application_loader.cc", 35 "shell_application_loader.cc",
36 "shell_application_loader.h", 36 "shell_application_loader.h",
37 "static_application_loader.cc", 37 "static_application_loader.cc",
38 "static_application_loader.h", 38 "static_application_loader.h",
39 "switches.cc", 39 "switches.cc",
40 "switches.h", 40 "switches.h",
41 ] 41 ]
42 42
43 public_deps = [ 43 public_deps = [
44 "//base", 44 "//base",
45 "//mojo/application/public/interfaces",
46 "//mojo/common", 45 "//mojo/common",
47 "//mojo/public/cpp/bindings", 46 "//mojo/public/cpp/bindings",
48 "//mojo/services/network/public/interfaces", 47 "//mojo/services/network/public/interfaces",
49 "//mojo/services/updater", 48 "//mojo/services/updater",
49 "//mojo/shell/public/interfaces",
50 "//url", 50 "//url",
51 ] 51 ]
52 deps = [ 52 deps = [
53 "//base/third_party/dynamic_annotations", 53 "//base/third_party/dynamic_annotations",
54 "//crypto:crypto", 54 "//crypto:crypto",
55 "//mojo/application/public/cpp:sources",
56 "//mojo/environment:chromium", 55 "//mojo/environment:chromium",
56 "//mojo/shell/public/cpp:sources",
57 "//mojo/util:filename_util", 57 "//mojo/util:filename_util",
58 "//third_party/mojo/src/mojo/edk/system", 58 "//third_party/mojo/src/mojo/edk/system",
59 "//url", 59 "//url",
60 ] 60 ]
61 } 61 }
62 62
63 source_set("test_support") { 63 source_set("test_support") {
64 testonly = true 64 testonly = true
65 sources = [ 65 sources = [
66 "capability_filter_test.cc", 66 "capability_filter_test.cc",
67 "capability_filter_test.h", 67 "capability_filter_test.h",
68 "test_package_manager.cc", 68 "test_package_manager.cc",
69 "test_package_manager.h", 69 "test_package_manager.h",
70 ] 70 ]
71 71
72 deps = [ 72 deps = [
73 ":shell", 73 ":shell",
74 ":test_bindings", 74 ":test_bindings",
75 "//mojo/application/public/cpp", 75 "//mojo/shell/public/cpp",
76 "//mojo/application/public/interfaces", 76 "//mojo/shell/public/interfaces",
77 "//testing/gtest", 77 "//testing/gtest",
78 ] 78 ]
79 } 79 }
80 80
81 test("mojo_shell_unittests") { 81 test("mojo_shell_unittests") {
82 sources = [ 82 sources = [
83 "application_manager_unittest.cc", 83 "application_manager_unittest.cc",
84 "capability_filter_unittest.cc", 84 "capability_filter_unittest.cc",
85 "data_pipe_peek_unittest.cc", 85 "data_pipe_peek_unittest.cc",
86 "fetcher/about_fetcher_unittest.cc", 86 "fetcher/about_fetcher_unittest.cc",
87 "fetcher/data_fetcher_unittest.cc", 87 "fetcher/data_fetcher_unittest.cc",
88 "fetcher/network_fetcher_unittest.cc", 88 "fetcher/network_fetcher_unittest.cc",
89 "fetcher/url_resolver_unittest.cc", 89 "fetcher/url_resolver_unittest.cc",
90 "query_util_unittest.cc", 90 "query_util_unittest.cc",
91 ] 91 ]
92 92
93 deps = [ 93 deps = [
94 ":shell", 94 ":shell",
95 ":test_bindings", 95 ":test_bindings",
96 ":test_support", 96 ":test_support",
97 "//base", 97 "//base",
98 "//mojo/application/public/cpp",
99 "//mojo/edk/system:test_utils", 98 "//mojo/edk/system:test_utils",
100 "//mojo/public/cpp/system", 99 "//mojo/public/cpp/system",
101 "//mojo/shell/fetcher", 100 "//mojo/shell/fetcher",
102 "//mojo/shell/package_manager", 101 "//mojo/shell/package_manager",
102 "//mojo/shell/public/cpp",
103 "//mojo/util:filename_util", 103 "//mojo/util:filename_util",
104 "//testing/gtest", 104 "//testing/gtest",
105 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", 105 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
106 "//url", 106 "//url",
107 ] 107 ]
108 } 108 }
109 109
110 mojom("test_bindings") { 110 mojom("test_bindings") {
111 sources = [ 111 sources = [
112 "application_manager_apptests.mojom", 112 "application_manager_apptests.mojom",
113 "capability_filter_unittest.mojom", 113 "capability_filter_unittest.mojom",
114 "test.mojom", 114 "test.mojom",
115 ] 115 ]
116 } 116 }
117 117
118 mojo_native_application("apptests") { 118 mojo_native_application("apptests") {
119 output_name = "mojo_shell_apptests" 119 output_name = "mojo_shell_apptests"
120 testonly = true 120 testonly = true
121 121
122 sources = [ 122 sources = [
123 "application_manager_apptest.cc", 123 "application_manager_apptest.cc",
124 ] 124 ]
125 125
126 deps = [ 126 deps = [
127 ":test_bindings", 127 ":test_bindings",
128 "//base", 128 "//base",
129 "//base/test:test_config", 129 "//base/test:test_config",
130 "//mojo/application/public/cpp:sources",
131 "//mojo/application/public/cpp:test_support",
132 "//mojo/application/public/interfaces",
133 "//mojo/common:common_base", 130 "//mojo/common:common_base",
134 "//mojo/converters/network", 131 "//mojo/converters/network",
132 "//mojo/shell/public/cpp:sources",
133 "//mojo/shell/public/cpp:test_support",
134 "//mojo/shell/public/interfaces",
135 ] 135 ]
136 136
137 data_deps = [ 137 data_deps = [
138 ":application_manager_apptest_driver", 138 ":application_manager_apptest_driver",
139 ":application_manager_apptest_target", 139 ":application_manager_apptest_target",
140 ] 140 ]
141 } 141 }
142 142
143 executable("application_manager_apptest_driver") { 143 executable("application_manager_apptest_driver") {
144 testonly = true 144 testonly = true
145 145
146 sources = [ 146 sources = [
147 "application_manager_apptest_driver.cc", 147 "application_manager_apptest_driver.cc",
148 ] 148 ]
149 149
150 deps = [ 150 deps = [
151 ":test_bindings", 151 ":test_bindings",
152 "//base", 152 "//base",
153 "//base:base_static", 153 "//base:base_static",
154 "//mojo/application/public/cpp",
155 "//mojo/application/public/interfaces",
156 "//mojo/common:common_base", 154 "//mojo/common:common_base",
157 "//mojo/converters/network", 155 "//mojo/converters/network",
158 "//mojo/runner:init", 156 "//mojo/runner:init",
159 "//mojo/runner/child:test_native_main", 157 "//mojo/runner/child:test_native_main",
158 "//mojo/shell/public/cpp",
159 "//mojo/shell/public/interfaces",
160 "//third_party/mojo/src/mojo/edk/system", 160 "//third_party/mojo/src/mojo/edk/system",
161 ] 161 ]
162 } 162 }
163 163
164 executable("application_manager_apptest_target") { 164 executable("application_manager_apptest_target") {
165 testonly = true 165 testonly = true
166 166
167 sources = [ 167 sources = [
168 "application_manager_apptest_target.cc", 168 "application_manager_apptest_target.cc",
169 ] 169 ]
170 170
171 deps = [ 171 deps = [
172 ":test_bindings", 172 ":test_bindings",
173 "//base", 173 "//base",
174 "//mojo/application/public/cpp",
175 "//mojo/common:common_base", 174 "//mojo/common:common_base",
176 "//mojo/converters/network", 175 "//mojo/converters/network",
177 "//mojo/runner/child:test_native_main", 176 "//mojo/runner/child:test_native_main",
177 "//mojo/shell/public/cpp",
178 ] 178 ]
179 } 179 }
OLDNEW
« no previous file with comments | « mojo/services/tracing/tracing_app.cc ('k') | mojo/shell/application_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698