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

Side by Side Diff: ios/web/BUILD.gn

Issue 2260023004: [ARC] [Split this CL] Convert ios/web/webui to ARC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-web-net
Patch Set: Created 4 years, 4 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 | « no previous file | ios/web/webui/crw_web_ui_manager.mm » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//ios/build/config.gni") 5 import("//ios/build/config.gni")
6 import("//ios/web/js_compile.gni") 6 import("//ios/web/js_compile.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 source_set("web_arc_transition") {
11 deps = [
12 ":core",
13 ":js_resources",
14 ":resources",
15 ":user_agent",
16 "//base",
17 "//components/url_formatter",
18 "//ios/net",
19 "//ios/third_party/blink:html_tokenizer",
20 "//mojo/public/cpp/system",
21 "//mojo/public/js",
22 "//net",
23 "//services/shell/public/cpp",
24 "//ui/base",
25 "//ui/gfx",
26 "//ui/gfx/geometry:geometry",
27 "//ui/resources",
28 "//url",
29 ]
30
31 sources = []
32
33 libs = [ "WebKit.framework" ]
34
35 cflags_objcc = [ "-ccc-arcmt-modify" ]
36 }
37
10 source_set("web_arc") { 38 source_set("web_arc") {
11 deps = [ 39 deps = [
12 ":core", 40 ":core",
13 ":js_resources", 41 ":js_resources",
14 ":resources", 42 ":resources",
15 ":user_agent", 43 ":user_agent",
16 "//base", 44 "//base",
17 "//components/url_formatter", 45 "//components/url_formatter",
18 "//ios/net", 46 "//ios/net",
19 "//ios/third_party/blink:html_tokenizer", 47 "//ios/third_party/blink:html_tokenizer",
20 "//mojo/public/cpp/system", 48 "//mojo/public/cpp/system",
21 "//mojo/public/js", 49 "//mojo/public/js",
22 "//net", 50 "//net",
23 "//services/shell/public/cpp", 51 "//services/shell/public/cpp",
24 "//ui/base", 52 "//ui/base",
25 "//ui/gfx", 53 "//ui/gfx",
26 "//ui/gfx/geometry:geometry", 54 "//ui/gfx/geometry:geometry",
27 "//ui/resources", 55 "//ui/resources",
28 "//url", 56 "//url",
29 ] 57 ]
30 58
59 allow_circular_includes_from = [ ":web_arc_transition" ]
60
61 public_deps = [
62 ":web_arc_transition",
63 ]
64
31 sources = [ 65 sources = [
32 "active_state_manager_impl.h", 66 "active_state_manager_impl.h",
33 "active_state_manager_impl.mm", 67 "active_state_manager_impl.mm",
34 "alloc_with_zone_interceptor.h", 68 "alloc_with_zone_interceptor.h",
35 "alloc_with_zone_interceptor.mm", 69 "alloc_with_zone_interceptor.mm",
36 "browser_state.mm", 70 "browser_state.mm",
37 "browser_url_rewriter_impl.h", 71 "browser_url_rewriter_impl.h",
38 "browser_url_rewriter_impl.mm", 72 "browser_url_rewriter_impl.mm",
39 "interstitials/html_web_interstitial_impl.h", 73 "interstitials/html_web_interstitial_impl.h",
40 "interstitials/html_web_interstitial_impl.mm", 74 "interstitials/html_web_interstitial_impl.mm",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "net/request_tracker_impl.mm", 126 "net/request_tracker_impl.mm",
93 "net/web_http_protocol_handler_delegate.h", 127 "net/web_http_protocol_handler_delegate.h",
94 "net/web_http_protocol_handler_delegate.mm", 128 "net/web_http_protocol_handler_delegate.mm",
95 "string_util.cc", 129 "string_util.cc",
96 "url_scheme_util.mm", 130 "url_scheme_util.mm",
97 "url_util.cc", 131 "url_util.cc",
98 "web_kit_constants.cc", 132 "web_kit_constants.cc",
99 "web_thread_impl.cc", 133 "web_thread_impl.cc",
100 "web_thread_impl.h", 134 "web_thread_impl.h",
101 "web_view_creation_util.mm", 135 "web_view_creation_util.mm",
136 "webui/crw_web_ui_manager.h",
137 "webui/crw_web_ui_manager.mm",
138 "webui/crw_web_ui_page_builder.h",
139 "webui/crw_web_ui_page_builder.mm",
140 "webui/mojo_facade.h",
141 "webui/mojo_facade.mm",
142 "webui/mojo_js_constants.cc",
143 "webui/mojo_js_constants.h",
144 "webui/shared_resources_data_source_ios.h",
145 "webui/shared_resources_data_source_ios.mm",
146 "webui/url_data_manager_ios.cc",
147 "webui/url_data_manager_ios.h",
148 "webui/url_data_manager_ios_backend.h",
149 "webui/url_data_manager_ios_backend.mm",
150 "webui/url_data_source_ios.mm",
151 "webui/url_data_source_ios_impl.cc",
152 "webui/url_data_source_ios_impl.h",
153 "webui/url_fetcher_block_adapter.h",
154 "webui/url_fetcher_block_adapter.mm",
155 "webui/web_ui_ios_controller_factory_registry.cc",
156 "webui/web_ui_ios_controller_factory_registry.h",
157 "webui/web_ui_ios_data_source_impl.h",
158 "webui/web_ui_ios_data_source_impl.mm",
159 "webui/web_ui_ios_impl.h",
160 "webui/web_ui_ios_impl.mm",
102 ] 161 ]
103 162
104 libs = [ "WebKit.framework" ] 163 libs = [ "WebKit.framework" ]
105 164
106 configs += [ "//build/config/compiler:enable_arc" ] 165 configs += [ "//build/config/compiler:enable_arc" ]
107 } 166 }
108 167
109 source_set("web") { 168 source_set("web") {
110 deps = [ 169 deps = [
111 ":core", 170 ":core",
(...skipping 10 matching lines...) Expand all
122 "//services/shell/public/cpp", 181 "//services/shell/public/cpp",
123 "//ui/base", 182 "//ui/base",
124 "//ui/gfx", 183 "//ui/gfx",
125 "//ui/gfx/geometry:geometry", 184 "//ui/gfx/geometry:geometry",
126 "//ui/resources", 185 "//ui/resources",
127 "//url", 186 "//url",
128 ] 187 ]
129 188
130 public_deps = [ 189 public_deps = [
131 ":web_arc", 190 ":web_arc",
191 ":web_arc_transition",
132 ] 192 ]
133 193
134 sources = [ 194 sources = [
135 "payments/payment_request.cc", 195 "payments/payment_request.cc",
136 "public/active_state_manager.h", 196 "public/active_state_manager.h",
137 "public/block_types.h", 197 "public/block_types.h",
138 "public/browser_state.h", 198 "public/browser_state.h",
139 "public/browser_url_rewriter.h", 199 "public/browser_url_rewriter.h",
140 "public/cert_policy.h", 200 "public/cert_policy.h",
141 "public/cert_store.h", 201 "public/cert_store.h",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "web_state/web_state_impl.mm", 323 "web_state/web_state_impl.mm",
264 "web_state/web_state_observer.mm", 324 "web_state/web_state_observer.mm",
265 "web_state/web_state_observer_bridge.mm", 325 "web_state/web_state_observer_bridge.mm",
266 "web_state/web_state_policy_decider.mm", 326 "web_state/web_state_policy_decider.mm",
267 "web_state/web_state_weak_ptr_factory.h", 327 "web_state/web_state_weak_ptr_factory.h",
268 "web_state/web_state_weak_ptr_factory.mm", 328 "web_state/web_state_weak_ptr_factory.mm",
269 "web_state/web_view_internal_creation_util.h", 329 "web_state/web_view_internal_creation_util.h",
270 "web_state/web_view_internal_creation_util.mm", 330 "web_state/web_view_internal_creation_util.mm",
271 "web_state/wk_web_view_security_util.h", 331 "web_state/wk_web_view_security_util.h",
272 "web_state/wk_web_view_security_util.mm", 332 "web_state/wk_web_view_security_util.mm",
273 "webui/crw_web_ui_manager.h",
274 "webui/crw_web_ui_manager.mm",
275 "webui/crw_web_ui_page_builder.h",
276 "webui/crw_web_ui_page_builder.mm",
277 "webui/mojo_facade.h",
278 "webui/mojo_facade.mm",
279 "webui/mojo_js_constants.cc",
280 "webui/mojo_js_constants.h",
281 "webui/shared_resources_data_source_ios.h",
282 "webui/shared_resources_data_source_ios.mm",
283 "webui/url_data_manager_ios.cc",
284 "webui/url_data_manager_ios.h",
285 "webui/url_data_manager_ios_backend.h",
286 "webui/url_data_manager_ios_backend.mm",
287 "webui/url_data_source_ios.mm",
288 "webui/url_data_source_ios_impl.cc",
289 "webui/url_data_source_ios_impl.h",
290 "webui/url_fetcher_block_adapter.h",
291 "webui/url_fetcher_block_adapter.mm",
292 "webui/web_ui_ios_controller_factory_registry.cc",
293 "webui/web_ui_ios_controller_factory_registry.h",
294 "webui/web_ui_ios_data_source_impl.h",
295 "webui/web_ui_ios_data_source_impl.mm",
296 "webui/web_ui_ios_impl.h",
297 "webui/web_ui_ios_impl.mm",
298 ] 333 ]
299 334
300 libs = [ "WebKit.framework" ] 335 libs = [ "WebKit.framework" ]
301 336
302 allow_circular_includes_from = [ ":web_arc" ] 337 allow_circular_includes_from = [
338 ":web_arc",
339 ":web_arc_transition",
340 ]
303 } 341 }
304 342
305 source_set("core") { 343 source_set("core") {
306 deps = [ 344 deps = [
307 "//base", 345 "//base",
308 "//url", 346 "//url",
309 ] 347 ]
310 348
311 sources = [ 349 sources = [
312 "crw_network_activity_indicator_manager.h", 350 "crw_network_activity_indicator_manager.h",
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 } 638 }
601 639
602 grit("resources") { 640 grit("resources") {
603 source = "ios_web_resources.grd" 641 source = "ios_web_resources.grd"
604 use_qualified_include = true 642 use_qualified_include = true
605 outputs = [ 643 outputs = [
606 "grit/ios_web_resources.h", 644 "grit/ios_web_resources.h",
607 "ios_web_resources.pak", 645 "ios_web_resources.pak",
608 ] 646 ]
609 } 647 }
OLDNEW
« no previous file with comments | « no previous file | ios/web/webui/crw_web_ui_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698