blob: be83e423bbd2e64d6f70037f34ebf472c35c156a [file] [log] [blame]
# Copyright 2021 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("//build/config/ios/rules.gni")
import("//ios/chrome/test/xcuitest/ios_chrome_xcuitest_app_host.gni")
ios_chrome_xcuitest_app_host("ios_chrome_xcuitests") {
use_default_test_hooks = true
}
ios_xcuitest_test("ios_chrome_device_check_xcuitests_module") {
xcode_test_application_name = "ios_chrome_xcuitests"
deps = [ ":device_check_xcuitests" ]
data_deps = [ ":ios_chrome_xcuitests" ]
}
# This target is only used in routinely device checks.
source_set("device_check_xcuitests") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [ "device_check_xctest.mm" ]
deps = [
"//base/test:test_support",
"//ios/chrome/browser/ui/content_suggestions:content_suggestions_constant",
]
frameworks = [ "UIKit.framework" ]
}
source_set("hooks") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "xcuitests_hook.mm" ]
deps = [ "//ios/chrome/app:tests_hook" ]
}