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