| 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("//ios/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") |
| 6 | 6 |
| 7 source_set("web") { | 7 source_set("web") { |
| 8 configs += [ "//build/config/compiler:enable_arc" ] | 8 configs += [ "//build/config/compiler:enable_arc" ] |
| 9 sources = [ | 9 sources = [ |
| 10 "dom_altering_lock.h", | 10 "dom_altering_lock.h", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 deps = [ | 66 deps = [ |
| 67 ":sad_tab_tab_helper_delegate", | 67 ":sad_tab_tab_helper_delegate", |
| 68 ":test_support", | 68 ":test_support", |
| 69 ":web", | 69 ":web", |
| 70 "//base:base", | 70 "//base:base", |
| 71 "//base/test:test_support", | 71 "//base/test:test_support", |
| 72 "//components/strings:components_strings_grit", | 72 "//components/strings:components_strings_grit", |
| 73 "//ios/chrome/browser/ui:ui", | 73 "//ios/chrome/browser/ui:ui", |
| 74 "//ios/chrome/browser/ui/sad_tab", | 74 "//ios/chrome/browser/ui/sad_tab", |
| 75 "//ios/chrome/test:test_support", | 75 "//ios/chrome/test:test_support", |
| 76 "//ios/web:test_support", | |
| 77 "//ios/web:web_arc", | 76 "//ios/web:web_arc", |
| 77 "//ios/web/public/test:test_support", |
| 78 "//ios/web/public/test/fakes:test_support", |
| 78 "//testing/gtest", | 79 "//testing/gtest", |
| 79 "//ui/base:base", | 80 "//ui/base:base", |
| 80 "//url:url", | 81 "//url:url", |
| 81 ] | 82 ] |
| 82 } | 83 } |
| 83 | 84 |
| 84 bundle_data("resources") { | 85 bundle_data("resources") { |
| 85 sources = [ | 86 sources = [ |
| 86 "resources/autofill_card_american_express.png", | 87 "resources/autofill_card_american_express.png", |
| 87 "resources/autofill_card_american_express@2x.png", | 88 "resources/autofill_card_american_express@2x.png", |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 "fake_mailto_handler_helpers.h", | 252 "fake_mailto_handler_helpers.h", |
| 252 "fake_mailto_handler_helpers.mm", | 253 "fake_mailto_handler_helpers.mm", |
| 253 ] | 254 ] |
| 254 deps = [ | 255 deps = [ |
| 255 "//components/password_manager/core/browser:test_support", | 256 "//components/password_manager/core/browser:test_support", |
| 256 "//ios/chrome/browser/browser_state:test_support", | 257 "//ios/chrome/browser/browser_state:test_support", |
| 257 "//ios/chrome/browser/passwords", | 258 "//ios/chrome/browser/passwords", |
| 258 "//ios/chrome/browser/ui:ui_internal", | 259 "//ios/chrome/browser/ui:ui_internal", |
| 259 "//ios/chrome/browser/web", | 260 "//ios/chrome/browser/web", |
| 260 "//ios/web", | 261 "//ios/web", |
| 261 "//ios/web:test_support", | 262 "//ios/web/public/test:test_support", |
| 262 ] | 263 ] |
| 263 } | 264 } |
| 264 | 265 |
| 265 source_set("unit_tests_internal") { | 266 source_set("unit_tests_internal") { |
| 266 configs += [ "//build/config/compiler:enable_arc" ] | 267 configs += [ "//build/config/compiler:enable_arc" ] |
| 267 testonly = true | 268 testonly = true |
| 268 sources = [ | 269 sources = [ |
| 269 "auto_reload_controller_unittest.mm", | 270 "auto_reload_controller_unittest.mm", |
| 270 "blocked_popup_tab_helper_unittest.mm", | 271 "blocked_popup_tab_helper_unittest.mm", |
| 271 "chrome_web_client_unittest.mm", | 272 "chrome_web_client_unittest.mm", |
| 272 "error_page_generator_unittest.mm", | 273 "error_page_generator_unittest.mm", |
| 273 "external_app_launcher_unittest.mm", | 274 "external_app_launcher_unittest.mm", |
| 274 ] | 275 ] |
| 275 deps = [ | 276 deps = [ |
| 276 ":test_support", | 277 ":test_support", |
| 277 ":web_internal", | 278 ":web_internal", |
| 278 "//base", | 279 "//base", |
| 279 "//base/test:test_support", | 280 "//base/test:test_support", |
| 280 "//components/content_settings/core/browser", | 281 "//components/content_settings/core/browser", |
| 281 "//components/infobars/core", | 282 "//components/infobars/core", |
| 282 "//ios/chrome/browser/browser_state:test_support", | 283 "//ios/chrome/browser/browser_state:test_support", |
| 283 "//ios/chrome/browser/content_settings:content_settings", | 284 "//ios/chrome/browser/content_settings:content_settings", |
| 284 "//ios/chrome/browser/find_in_page", | 285 "//ios/chrome/browser/find_in_page", |
| 285 "//ios/chrome/browser/infobars", | 286 "//ios/chrome/browser/infobars", |
| 286 "//ios/chrome/browser/ui", | 287 "//ios/chrome/browser/ui", |
| 287 "//ios/web", | 288 "//ios/web", |
| 288 "//ios/web:test_support", | 289 "//ios/web/public/test:test_support", |
| 290 "//ios/web/public/test/fakes:test_support", |
| 289 "//net", | 291 "//net", |
| 290 "//testing/gtest", | 292 "//testing/gtest", |
| 291 "//third_party/ocmock", | 293 "//third_party/ocmock", |
| 292 "//url", | 294 "//url", |
| 293 ] | 295 ] |
| 294 } | 296 } |
| 295 | 297 |
| 296 source_set("eg_tests") { | 298 source_set("eg_tests") { |
| 297 configs += [ "//build/config/compiler:enable_arc" ] | 299 configs += [ "//build/config/compiler:enable_arc" ] |
| 298 testonly = true | 300 testonly = true |
| (...skipping 25 matching lines...) Expand all Loading... |
| 324 "//ios/chrome/browser/content_settings", | 326 "//ios/chrome/browser/content_settings", |
| 325 "//ios/chrome/browser/ui", | 327 "//ios/chrome/browser/ui", |
| 326 "//ios/chrome/browser/ui/commands", | 328 "//ios/chrome/browser/ui/commands", |
| 327 "//ios/chrome/test/app:test_support", | 329 "//ios/chrome/test/app:test_support", |
| 328 "//ios/chrome/test/earl_grey:test_support", | 330 "//ios/chrome/test/earl_grey:test_support", |
| 329 "//ios/testing:ios_test_support", | 331 "//ios/testing:ios_test_support", |
| 330 "//ios/testing/earl_grey:earl_grey_support", | 332 "//ios/testing/earl_grey:earl_grey_support", |
| 331 "//ios/third_party/earl_grey", | 333 "//ios/third_party/earl_grey", |
| 332 "//ios/third_party/material_components_ios", | 334 "//ios/third_party/material_components_ios", |
| 333 "//ios/web:earl_grey_test_support", | 335 "//ios/web:earl_grey_test_support", |
| 334 "//ios/web:test_support", | 336 "//ios/web/public/test:test_support", |
| 337 "//ios/web/public/test/response_providers:test_support", |
| 335 "//net", | 338 "//net", |
| 336 "//ui/base", | 339 "//ui/base", |
| 337 "//url", | 340 "//url", |
| 338 ] | 341 ] |
| 339 libs = [ | 342 libs = [ |
| 340 "UIKit.framework", | 343 "UIKit.framework", |
| 341 "XCTest.framework", | 344 "XCTest.framework", |
| 342 ] | 345 ] |
| 343 } | 346 } |
| 344 | 347 |
| 345 source_set("perf_tests") { | 348 source_set("perf_tests") { |
| 346 configs += [ "//build/config/compiler:enable_arc" ] | 349 configs += [ "//build/config/compiler:enable_arc" ] |
| 347 testonly = true | 350 testonly = true |
| 348 sources = [ | 351 sources = [ |
| 349 "early_page_script_perftest.mm", | 352 "early_page_script_perftest.mm", |
| 350 ] | 353 ] |
| 351 deps = [ | 354 deps = [ |
| 352 "//base", | 355 "//base", |
| 353 "//ios/chrome/test/base:perf_test_support", | 356 "//ios/chrome/test/base:perf_test_support", |
| 354 "//ios/web", | 357 "//ios/web", |
| 355 "//ios/web:test_support", | 358 "//ios/web/public/test:test_support", |
| 359 "//ios/web/public/test/fakes:test_support", |
| 356 ] | 360 ] |
| 357 libs = [ "WebKit.framework" ] | 361 libs = [ "WebKit.framework" ] |
| 358 } | 362 } |
| OLD | NEW |