OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ios/rules.gni") |
| 6 |
| 7 # EarlGrey tests are just XCTests that also depends on EarlGrey. |
| 8 template("ios_eg_test") { |
| 9 ios_xctest_test(target_name) { |
| 10 forward_variables_from(invoker, "*") |
| 11 if (!defined(bundle_deps)) { |
| 12 bundle_deps = [] |
| 13 } |
| 14 bundle_deps += [ |
| 15 "//ios/third_party/earl_grey:earl_grey+bundle", |
| 16 "//ios/third_party/ochamcrest:ochamcrest+bundle", |
| 17 ] |
| 18 if (!defined(deps)) { |
| 19 deps = [] |
| 20 } |
| 21 deps += [ |
| 22 "//ios/third_party/earl_grey:earl_grey+link", |
| 23 "//ios/third_party/ochamcrest:ochamcrest+link", |
| 24 ] |
| 25 } |
| 26 } |
| 27 |
| 28 set_defaults("ios_eg_test") { |
| 29 configs = default_executable_configs |
| 30 } |
OLD | NEW |