summaryrefslogtreecommitdiff
path: root/chromium/ios/web/test/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ios/web/test/BUILD.gn')
-rw-r--r--chromium/ios/web/test/BUILD.gn13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/ios/web/test/BUILD.gn b/chromium/ios/web/test/BUILD.gn
index 8134126797e..16539ceebe1 100644
--- a/chromium/ios/web/test/BUILD.gn
+++ b/chromium/ios/web/test/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//ios/web/js_compile.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
@@ -50,9 +51,11 @@ source_set("test_support") {
public_deps = [ "//testing/gtest" ]
deps = [
+ ":all_frames_web_test_bundle",
":test_constants",
"//base",
"//base/test:test_support",
+ "//components/crash/core/common",
"//ios/testing:verify_custom_webkit",
"//ios/web",
"//ios/web/common:web_view_creation_util",
@@ -87,3 +90,13 @@ source_set("test_constants") {
"test_url_constants.h",
]
}
+
+js_compile_bundle("all_frames_web_test_bundle") {
+ testonly = true
+ closure_entry_point = "__crWeb.allFramesWebTestBundle"
+
+ sources = [
+ "resources/all_frames_web_test_bundle.js",
+ "resources/cookie_test.js",
+ ]
+}