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

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

Issue 1984353002: [iOS/GN] Fix and enable "gn check" for "//ios/*" and "//ios_internal/*". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix "--check" after https://codereview.chromium.org/1956113002/ Created 4 years, 7 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 | « ios/public/provider/web/BUILD.gn ('k') | ios/web/public/app/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 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//ios/web/js_compile.gni") 6 import("//ios/web/js_compile.gni")
7 7
8 source_set("web") { 8 source_set("web") {
9 deps = [ 9 deps = [
10 ":core", 10 ":core",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "public/navigation_manager.h", 109 "public/navigation_manager.h",
110 "public/origin_util.h", 110 "public/origin_util.h",
111 "public/origin_util.mm", 111 "public/origin_util.mm",
112 "public/referrer.h", 112 "public/referrer.h",
113 "public/referrer_util.cc", 113 "public/referrer_util.cc",
114 "public/referrer_util.h", 114 "public/referrer_util.h",
115 "public/security_style.h", 115 "public/security_style.h",
116 "public/ssl_status.cc", 116 "public/ssl_status.cc",
117 "public/ssl_status.h", 117 "public/ssl_status.h",
118 "public/string_util.h", 118 "public/string_util.h",
119 "public/url_data_source_ios.h",
119 "public/url_scheme_util.h", 120 "public/url_scheme_util.h",
120 "public/url_schemes.h", 121 "public/url_schemes.h",
121 "public/url_schemes.mm", 122 "public/url_schemes.mm",
122 "public/url_util.h", 123 "public/url_util.h",
123 "public/user_metrics.h", 124 "public/user_metrics.h",
124 "public/web/url_data_source_ios.h",
125 "public/web_capabilities.cc", 125 "public/web_capabilities.cc",
126 "public/web_capabilities.h", 126 "public/web_capabilities.h",
127 "public/web_client.h", 127 "public/web_client.h",
128 "public/web_client.mm", 128 "public/web_client.mm",
129 "public/web_kit_constants.h", 129 "public/web_kit_constants.h",
130 "public/web_state/context_menu_params.h", 130 "public/web_state/context_menu_params.h",
131 "public/web_state/credential.h", 131 "public/web_state/credential.h",
132 "public/web_state/crw_web_controller_observer.h", 132 "public/web_state/crw_web_controller_observer.h",
133 "public/web_state/crw_web_user_interface_delegate.h", 133 "public/web_state/crw_web_user_interface_delegate.h",
134 "public/web_state/crw_web_view_proxy.h", 134 "public/web_state/crw_web_view_proxy.h",
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 "webui/web_ui_ios_impl.h", 253 "webui/web_ui_ios_impl.h",
254 "webui/web_ui_ios_impl.mm", 254 "webui/web_ui_ios_impl.mm",
255 ] 255 ]
256 256
257 libs = [ "WebKit.framework" ] 257 libs = [ "WebKit.framework" ]
258 } 258 }
259 259
260 source_set("core") { 260 source_set("core") {
261 deps = [ 261 deps = [
262 "//base", 262 "//base",
263 "//url",
263 ] 264 ]
264 265
265 sources = [ 266 sources = [
266 "crw_network_activity_indicator_manager.h", 267 "crw_network_activity_indicator_manager.h",
267 "crw_network_activity_indicator_manager.mm", 268 "crw_network_activity_indicator_manager.mm",
268 "history_state_util.h", 269 "history_state_util.h",
269 "history_state_util.mm", 270 "history_state_util.mm",
270 ] 271 ]
271 } 272 }
272 273
273 source_set("user_agent") { 274 source_set("user_agent") {
274 deps = [ 275 deps = [
275 "//base", 276 "//base",
276 ] 277 ]
277 278
278 sources = [ 279 sources = [
279 "public/user_agent.h", 280 "public/user_agent.h",
280 "public/user_agent.mm", 281 "public/user_agent.mm",
281 ] 282 ]
282 } 283 }
283 284
284 source_set("earl_grey_test_support") { 285 source_set("earl_grey_test_support") {
285 testonly = true 286 testonly = true
286 287
287 deps = [ 288 deps = [
288 ":test_support", 289 ":test_support",
290 ":web",
291 "//base",
292 "//base/test:test_support",
289 "//ios/third_party/earl_grey", 293 "//ios/third_party/earl_grey",
290 ] 294 ]
291 295
292 sources = [ 296 sources = [
293 "public/test/earl_grey/web_view_matchers.h", 297 "public/test/earl_grey/web_view_matchers.h",
294 "public/test/earl_grey/web_view_matchers.mm", 298 "public/test/earl_grey/web_view_matchers.mm",
295 "public/test/web_view_interaction_test_util.h", 299 "public/test/web_view_interaction_test_util.h",
296 "public/test/web_view_interaction_test_util.mm", 300 "public/test/web_view_interaction_test_util.mm",
297 ] 301 ]
298 } 302 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 "test/data/testpass.pkpass", 379 "test/data/testpass.pkpass",
376 ] 380 ]
377 outputs = [ 381 outputs = [
378 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + 382 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
379 "{{source_file_part}}", 383 "{{source_file_part}}",
380 ] 384 ]
381 } 385 }
382 386
383 test("ios_web_unittests") { 387 test("ios_web_unittests") {
384 deps = [ 388 deps = [
389 ":core",
385 ":ios_web_unittests_bundle_data", 390 ":ios_web_unittests_bundle_data",
386 ":test_support", 391 ":test_support",
387 ":web", 392 ":web",
388 "//base", 393 "//base",
389 "//base/test:test_support", 394 "//base/test:test_support",
395 "//ios/net",
390 "//ios/testing:ocmock_support", 396 "//ios/testing:ocmock_support",
397 "//ios/web/test:mojo_bindings",
398 "//mojo/edk/system",
391 "//net:test_support", 399 "//net:test_support",
400 "//services/shell/public/cpp",
392 "//testing/gmock", 401 "//testing/gmock",
393 "//testing/gtest", 402 "//testing/gtest",
394 "//third_party/ocmock", 403 "//third_party/ocmock",
395 "//ui/base:test_support", 404 "//ui/base:test_support",
396 ] 405 ]
397 406
398 sources = [ 407 sources = [
399 "active_state_manager_impl_unittest.mm", 408 "active_state_manager_impl_unittest.mm",
400 "alloc_with_zone_interceptor_unittest.mm", 409 "alloc_with_zone_interceptor_unittest.mm",
401 "browser_state_unittest.cc", 410 "browser_state_unittest.cc",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 "webui/mojo_facade_unittest.mm", 460 "webui/mojo_facade_unittest.mm",
452 "webui/url_fetcher_block_adapter_unittest.mm", 461 "webui/url_fetcher_block_adapter_unittest.mm",
453 ] 462 ]
454 } 463 }
455 464
456 test("ios_web_inttests") { 465 test("ios_web_inttests") {
457 deps = [ 466 deps = [
458 ":test_support", 467 ":test_support",
459 ":web", 468 ":web",
460 "//base/test:test_support", 469 "//base/test:test_support",
470 "//mojo/edk/system",
461 "//net:test_support", 471 "//net:test_support",
462 "//testing/gtest", 472 "//testing/gtest",
463 "//ui/base:test_support", 473 "//ui/base:test_support",
464 ] 474 ]
465 sources = [ 475 sources = [
466 "browser_state_web_view_partition_inttest.mm", 476 "browser_state_web_view_partition_inttest.mm",
467 "public/test/http_server_inttest.mm", 477 "public/test/http_server_inttest.mm",
468 "test/run_all_unittests.cc", 478 "test/run_all_unittests.cc",
469 ] 479 ]
470 } 480 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 ":web_bundle", 514 ":web_bundle",
505 ":web_ui_bundle", 515 ":web_ui_bundle",
506 ] 516 ]
507 517
508 sources = [ 518 sources = [
509 "web_state/js/resources/plugin_placeholder.js", 519 "web_state/js/resources/plugin_placeholder.js",
510 "web_state/js/resources/post_request.js", 520 "web_state/js/resources/post_request.js",
511 "web_state/js/resources/window_id.js", 521 "web_state/js/resources/window_id.js",
512 ] 522 ]
513 } 523 }
OLDNEW
« no previous file with comments | « ios/public/provider/web/BUILD.gn ('k') | ios/web/public/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698