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("//ios/build/config.gni") |
| 6 import("//ios/third_party/earl_grey/eg_test.gni") |
| 7 |
| 8 ios_eg_test("ios_web_shell_test") { |
| 9 sources = [ |
| 10 "//ios/web/shell/web_exe_main.mm", |
| 11 "web_shell_navigation_egtest.mm", |
| 12 ] |
| 13 |
| 14 deps = [ |
| 15 "//base", |
| 16 "//ios/third_party/earl_grey:earl_grey+link", |
| 17 "//ios/third_party/ochamcrest:ochamcrest+link", |
| 18 "//ios/web:test_support", |
| 19 "//ios/web/shell", |
| 20 "//ios/web/shell/test:earl_grey_test_support", |
| 21 |
| 22 # All shared libraries must have the sanitizer deps to properly link in |
| 23 # asan mode (this target will be empty in other cases). |
| 24 "//build/config/sanitizers:deps", |
| 25 ] |
| 26 |
| 27 configs += [ "//build/config/compiler:enable_arc" ] |
| 28 |
| 29 assert_no_deps = ios_assert_no_deps |
| 30 } |
| 31 |
| 32 source_set("earl_grey_test_support") { |
| 33 testonly = true |
| 34 |
| 35 deps = [ |
| 36 "//base", |
| 37 "//base/test:test_support", |
| 38 "//ios/testing/earl_grey:earl_grey_support", |
| 39 "//ios/third_party/earl_grey", |
| 40 "//ios/web", |
| 41 "//ios/web:earl_grey_test_support", |
| 42 "//ios/web:test_support", |
| 43 "//ios/web/shell", |
| 44 "//url", |
| 45 ] |
| 46 |
| 47 sources = [ |
| 48 "app/navigation_test_util.h", |
| 49 "app/navigation_test_util.mm", |
| 50 "app/web_shell_test_util.h", |
| 51 "app/web_shell_test_util.mm", |
| 52 "app/web_view_interaction_test_util.h", |
| 53 "app/web_view_interaction_test_util.mm", |
| 54 "earl_grey/shell_matchers.h", |
| 55 "earl_grey/shell_matchers.mm", |
| 56 ] |
| 57 } |
OLD | NEW |