blob: 35ab14ea553ee0c8fd47e9f05055e69220467512 [file] [log] [blame]
# Copyright 2018 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/ios_sdk.gni")
import("//build/config/ios/rules.gni")
import("//ios/chrome/test/earl_grey2/chrome_ios_eg2_test.gni")
group("all_tests") {
testonly = true
deps = [
":ios_chrome_eg2_test_app_host",
":ios_chrome_smoke_eg2tests",
]
}
chrome_ios_eg2_test_app_host("ios_chrome_eg2_test_app_host") {
}
chrome_ios_eg2_test("ios_chrome_smoke_eg2tests") {
xcode_test_application_name = "ios_chrome_eg2_test_app_host"
deps = [
"//ios/chrome/test/earl_grey2:eg2_tests",
]
}
source_set("shared_helper_headers") {
testonly = true
sources = [
"//ios/chrome/test/earl_grey2/chrome_earl_grey_edo.h",
]
}
source_set("eg_app_support+eg2") {
testonly = true
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"chrome_earl_grey_edo.mm",
]
deps = [
"//base",
"//base/test:test_support",
"//ios/chrome/test/app:test_support",
"//ios/testing/earl_grey:eg_app_support+eg2",
"//ios/third_party/earl_grey2:app_framework+link",
]
public_deps = [
":shared_helper_headers",
]
}
group("eg_test_support+eg2") {
testonly = true
public_deps = [
":shared_helper_headers",
]
}
source_set("eg2_tests") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"smoke_egtest.mm",
]
deps = [
":eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
]
libs = [ "UIKit.framework" ]
}