OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 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("//ios/build/config.gni") |
| 6 import("//ios/third_party/earl_grey/ios_eg_test.gni") |
| 7 |
| 8 group("all_tests") { |
| 9 testonly = true |
| 10 deps = [ |
| 11 ":ios_web_view_shell_egtests", |
| 12 ] |
| 13 } |
| 14 |
| 15 ios_eg_test("ios_web_view_shell_egtests") { |
| 16 info_plist = "//ios/web_view/shell/Info.plist" |
| 17 sources = [ |
| 18 "shell_egtest.mm", |
| 19 ] |
| 20 |
| 21 deps = [ |
| 22 ":earl_grey_test_support", |
| 23 |
| 24 # All shared libraries must have the sanitizer deps to properly link in |
| 25 # asan mode (this target will be empty in other cases). |
| 26 "//build/config/sanitizers:deps", |
| 27 ] |
| 28 |
| 29 configs += [ "//build/config/compiler:enable_arc" ] |
| 30 |
| 31 assert_no_deps = ios_assert_no_deps |
| 32 } |
| 33 |
| 34 source_set("earl_grey_test_support") { |
| 35 testonly = true |
| 36 |
| 37 deps = [ |
| 38 "//base", |
| 39 "//ios/testing:ios_test_support", |
| 40 "//ios/third_party/earl_grey", |
| 41 "//ios/web_view/shell", |
| 42 ] |
| 43 |
| 44 public_deps = [ |
| 45 "//build/config/ios:xctest", |
| 46 ] |
| 47 |
| 48 sources = [ |
| 49 "earl_grey/shell_matchers.h", |
| 50 "earl_grey/shell_matchers.mm", |
| 51 ] |
| 52 |
| 53 configs += [ "//build/config/compiler:enable_arc" ] |
| 54 } |
OLD | NEW |