OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 ios_eg_test("ios_web_shell_test") { | 8 ios_eg_test("ios_web_shell_egtests") { |
| 9 # TODO(crbug.com/662404): Remove when downstream have been changed to use |
| 10 # the new name for the xctest app bundles. |
| 11 use_new_naming_convention = true |
| 12 |
9 sources = [ | 13 sources = [ |
10 "context_menu_egtest.mm", | 14 "context_menu_egtest.mm", |
11 "meta_tags_egtest.mm", | 15 "meta_tags_egtest.mm", |
12 "navigation_egtest.mm", | 16 "navigation_egtest.mm", |
13 "page_state_egtest.mm", | 17 "page_state_egtest.mm", |
14 "pdf_egtest.mm", | 18 "pdf_egtest.mm", |
15 "plugin_placeholder_egtest.mm", | 19 "plugin_placeholder_egtest.mm", |
16 "redirect_egtest.mm", | 20 "redirect_egtest.mm", |
17 ] | 21 ] |
18 | 22 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 "earl_grey/shell_earl_grey.h", | 78 "earl_grey/shell_earl_grey.h", |
75 "earl_grey/shell_earl_grey.mm", | 79 "earl_grey/shell_earl_grey.mm", |
76 "earl_grey/shell_matchers.h", | 80 "earl_grey/shell_matchers.h", |
77 "earl_grey/shell_matchers.mm", | 81 "earl_grey/shell_matchers.mm", |
78 ] | 82 ] |
79 | 83 |
80 configs += [ "//build/config/compiler:enable_arc" ] | 84 configs += [ "//build/config/compiler:enable_arc" ] |
81 } | 85 } |
82 | 86 |
83 bundle_data("bundle") { | 87 bundle_data("bundle") { |
84 visibility = [ ":ios_web_shell_test_host" ] | 88 visibility = [ ":ios_web_shell_egtests" ] |
85 sources = [ | 89 sources = [ |
86 "http_server_files/basic_navigation_test.html", | 90 "http_server_files/basic_navigation_test.html", |
87 "http_server_files/tall_page.html", | 91 "http_server_files/tall_page.html", |
88 "http_server_files/testpage.pdf", | 92 "http_server_files/testpage.pdf", |
89 ] | 93 ] |
90 outputs = [ | 94 outputs = [ |
91 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + | 95 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + |
92 "{{source_file_part}}", | 96 "{{source_file_part}}", |
93 ] | 97 ] |
94 } | 98 } |
OLD | NEW |