| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//ios/build/config.gni") | 5 import("//ios/build/config.gni") |
| 6 import("//ios/third_party/earl_grey/ios_eg_test.gni") | 6 import("//ios/third_party/earl_grey/ios_eg_test.gni") |
| 7 | 7 |
| 8 group("all_tests") { | 8 group("all_tests") { |
| 9 testonly = true | 9 testonly = true |
| 10 deps = [ | 10 deps = [ |
| 11 ":ios_web_view_shell_egtests", | 11 ":ios_web_view_shell_egtests", |
| 12 ] | 12 ] |
| 13 } | 13 } |
| 14 | 14 |
| 15 ios_eg_test("ios_web_view_shell_egtests") { | 15 ios_eg_test("ios_web_view_shell_egtests") { |
| 16 info_plist = "//ios/web_view/shell/Info.plist" | 16 info_plist = "//ios/web_view/shell/Info.plist" |
| 17 sources = [ | 17 sources = [ |
| 18 "shell_egtest.mm", | 18 "shell_egtest.mm", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 deps = [ | 21 deps = [ |
| 22 ":earl_grey_test_support", | 22 ":earl_grey_test_support", |
| 23 "//ios/web_view:web_view+link", | 23 "//ios/web_view:web_view+link", |
| 24 | 24 |
| 25 # All shared libraries must have the sanitizer deps to properly link in | 25 # All shared libraries must have the sanitizer deps to properly link in |
| 26 # asan mode (this target will be empty in other cases). | 26 # asan mode (this target will be empty in other cases). |
| 27 "//build/config/sanitizers:deps", | 27 "//build/config:exe_and_shlib_deps", |
| 28 ] | 28 ] |
| 29 | 29 |
| 30 configs += [ "//build/config/compiler:enable_arc" ] | 30 configs += [ "//build/config/compiler:enable_arc" ] |
| 31 | 31 |
| 32 assert_no_deps = ios_assert_no_deps | 32 assert_no_deps = ios_assert_no_deps |
| 33 } | 33 } |
| 34 | 34 |
| 35 source_set("earl_grey_test_support") { | 35 source_set("earl_grey_test_support") { |
| 36 testonly = true | 36 testonly = true |
| 37 | 37 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 51 "XCTest.framework", | 51 "XCTest.framework", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 sources = [ | 54 sources = [ |
| 55 "earl_grey/web_view_shell_matchers.h", | 55 "earl_grey/web_view_shell_matchers.h", |
| 56 "earl_grey/web_view_shell_matchers.mm", | 56 "earl_grey/web_view_shell_matchers.mm", |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 configs += [ "//build/config/compiler:enable_arc" ] | 59 configs += [ "//build/config/compiler:enable_arc" ] |
| 60 } | 60 } |
| OLD | NEW |