| # Copyright 2024 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("eg2_tests") { |
| configs += [ "//build/config/ios:xctest_config" ] |
| testonly = true |
| sources = [ "drive_file_picker_egtest.mm" ] |
| deps = [ |
| ":eg_test_support+eg2", |
| "//base", |
| "//base/test:test_support", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/authentication/ui_bundled:eg_test_support+eg2", |
| "//ios/chrome/browser/drive_file_picker/ui:constants", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/signin/model:fake_system_identity", |
| "//ios/chrome/test:eg_test_support+eg2", |
| "//ios/chrome/test/earl_grey:eg_test_support+eg2", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//ui/base", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("eg_app_support+eg2") { |
| configs += [ "//build/config/ios:xctest_config" ] |
| testonly = true |
| sources = [ |
| "drive_file_picker_app_interface.h", |
| "drive_file_picker_app_interface.mm", |
| ] |
| deps = [ |
| "//base", |
| "//base/test:test_support", |
| "//ios/chrome/browser/drive/model:drive_service_factory", |
| "//ios/chrome/browser/drive/model:test_support", |
| "//ios/chrome/browser/shared/model/browser", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/browser/web/model/choose_file", |
| "//ios/chrome/browser/web/model/choose_file:test_support", |
| "//ios/chrome/test/app:test_support", |
| ] |
| |
| # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and |
| # enable the diagnostic by removing this line. |
| configs += [ "//build/config/compiler:no_exit_time_destructors" ] |
| } |
| |
| source_set("eg_test_support+eg2") { |
| configs += [ "//build/config/ios:xctest_config" ] |
| testonly = true |
| sources = [ |
| "drive_file_picker_app_interface.h", |
| "drive_file_picker_app_interface_stub.mm", |
| ] |
| deps = [ "//ios/testing/earl_grey:eg_test_support+eg2" ] |
| } |