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

Unified Diff: android_webview/BUILD.gn

Issue 2248743002: Fix missing monochrome resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rethink: change webview resource files to match chrome Created 4 years, 4 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 | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/BUILD.gn
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn
index f0a3b53c0d23cf03fe830a9dc0ec4c65221af00e..3f5bebb86800f0f9662440d55fa042b70bfb8d8f 100644
--- a/android_webview/BUILD.gn
+++ b/android_webview/BUILD.gn
@@ -100,33 +100,44 @@ locale_pak_resources("locale_paks") {
repack("repack_pack") {
sources = [
- "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
"$root_gen_dir/blink/public/resources/blink_resources.pak",
- "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
"$root_gen_dir/content/content_resources.pak",
"$root_gen_dir/net/net_resources.pak",
- "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
"$target_gen_dir/aw_resources.pak",
]
deps = [
":generate_aw_resources",
"//content:resources",
+ "//net:net_resources",
+ "//third_party/WebKit/public:resources",
+ ]
+ output = "$target_gen_dir/resources.pak"
+}
+
+repack("repack_100_percent") {
+ sources = [
+ "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak",
+ "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
+ "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
+ ]
+ deps = [
"//content/app/resources",
"//net:net_resources",
"//third_party/WebKit/public:image_resources",
- "//third_party/WebKit/public:resources",
"//ui/resources",
]
- output = "$target_gen_dir/webviewchromium.pak"
+ output = "$target_gen_dir/chrome_100_percent.pak"
}
webview_license_path = "$target_gen_dir/webview_licenses.notice"
android_assets("pak_file_assets") {
sources = [
- "$target_gen_dir/webviewchromium.pak",
+ "$target_gen_dir/chrome_100_percent.pak",
+ "$target_gen_dir/resources.pak",
]
deps = [
+ ":repack_100_percent",
":repack_pack",
]
disable_compression = true
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698