blob: f59a480b2762394aba78213140e66852f629b717 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//testing/test.gni")
test("ios_chrome_unittests") {
sources = [
"app/safe_mode_util_unittest.cc",
"browser/chrome_url_util_unittest.mm",
"browser/crash_loop_detection_util_unittest.mm",
"browser/favicon/large_icon_cache_unittest.cc",
"browser/geolocation/CLLocation+XGeoHeaderTest.mm",
"browser/geolocation/location_manager_unittest.mm",
"browser/geolocation/omnibox_geolocation_local_state_unittest.mm",
"browser/install_time_util_unittest.mm",
"browser/installation_notifier_unittest.mm",
"browser/metrics/ios_chrome_metrics_service_accessor_unittest.cc",
"browser/metrics/ios_chrome_stability_metrics_provider_unittest.cc",
"browser/metrics/mobile_session_shutdown_metrics_provider_unittest.mm",
"browser/metrics/previous_session_info_unittest.mm",
"browser/net/cookie_util_unittest.mm",
"browser/net/image_fetcher_unittest.mm",
"browser/net/metrics_network_client_unittest.mm",
"browser/net/retryable_url_fetcher_unittest.mm",
"browser/reading_list/reading_list_entry_unittest.cc",
"browser/reading_list/reading_list_model_unittest.cc",
"browser/signin/chrome_identity_service_observer_bridge_unittest.mm",
"browser/signin/gaia_auth_fetcher_ios_unittest.mm",
"browser/snapshots/lru_cache_unittest.mm",
"browser/snapshots/snapshot_cache_unittest.mm",
"browser/snapshots/snapshots_util_unittest.mm",
"browser/translate/translate_service_ios_unittest.cc",
"browser/ui/commands/set_up_for_testing_command_unittest.mm",
"browser/ui/keyboard/UIKeyCommand+ChromeTest.mm",
"browser/ui/keyboard/hardware_keyboard_watcher_unittest.mm",
"browser/ui/native_content_controller_unittest.mm",
"browser/ui/ui_util_unittest.mm",
"browser/ui/uikit_ui_util_unittest.mm",
"browser/update_client/ios_chrome_update_query_params_delegate_unittest.cc",
"browser/web_resource/web_resource_util_unittest.cc",
"common/string_util_unittest.mm",
]
deps = [
"//base",
"//base/test:test_support",
"//components/bookmarks/test",
"//components/favicon_base",
"//components/metrics",
"//components/metrics:test_support",
"//components/prefs:test_support",
"//components/signin/core/browser:test_support",
"//components/signin/ios/browser:test_support",
"//components/sync_driver:test_support",
"//components/update_client",
"//components/version_info",
"//ios/chrome/app",
"//ios/chrome/browser",
"//ios/chrome/browser:test_support",
"//ios/chrome/common",
"//ios/web",
"//ios/web:test_support",
"//net:test_support",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//third_party/ocmock",
"//ui/gfx:test_support",
]
# TODO(crbug.com/546283): once bundle resources are supported add code
# corresponding to the following gyp fragment:
#
# 'mac_bundle_resources': [
# 'browser/ui/native_content_controller_test.xib'
# ],
# 'actions': [
# {
# 'action_name': 'copy_ios_chrome_test_data',
# 'variables': {
# 'test_data_files': [
# 'test/data/webdata/bookmarkimages',
# ],
# 'test_data_prefix': 'ios/chrome',
# },
# 'includes': [ '../../build/copy_test_data_ios.gypi' ]
# },
# ],
# 'includes': ['ios_chrome_resources_bundle.gypi'],
}