Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: ios/web/BUILD.gn

Issue 1890463002: [GN/iOS] Fix ios_web_unittests when building with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-symlink
Patch Set: Use more future proof outputs Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/BUILD.gn
diff --git a/ios/web/BUILD.gn b/ios/web/BUILD.gn
index 4015b72d6a35b817157b96fef00a5efcf991887a..0a5229a307f294b6ffce4b464611209270d2db1b 100644
--- a/ios/web/BUILD.gn
+++ b/ios/web/BUILD.gn
@@ -339,8 +339,23 @@ source_set("test_support") {
]
}
+bundle_data("ios_web_unittests_bundle_data") {
+ testonly = true
+ sources = [
+ "test/data/chrome.html",
+ "test/data/testbadpass.pkpass",
+ "test/data/testfavicon.png",
+ "test/data/testpass.pkpass",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
+ "{{source_file_part}}",
+ ]
+}
+
test("ios_web_unittests") {
deps = [
+ ":ios_web_unittests_bundle_data",
":test_support",
":web",
"//base",
@@ -445,6 +460,7 @@ js_compile_checked("js_resources") {
sources = [
"web_state/js/resources/plugin_placeholder.js",
+ "web_state/js/resources/post_request.js",
"web_state/js/resources/window_id.js",
"webui/resources/web_ui.js",
]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698