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

Unified Diff: mojo/services/html_viewer/BUILD.gn

Issue 827223002: [mojo] Make HTML viewer load the blink resources from the generated pak file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | mojo/services/html_viewer/DEPS » ('j') | mojo/services/html_viewer/blink_platform_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/BUILD.gn
diff --git a/mojo/services/html_viewer/BUILD.gn b/mojo/services/html_viewer/BUILD.gn
index 31c6700204cdc3e423f9ccd8de0e4e859da6c657..b7c83b77c4ea83a03320a829c159559ea82149e3 100644
--- a/mojo/services/html_viewer/BUILD.gn
+++ b/mojo/services/html_viewer/BUILD.gn
@@ -5,6 +5,19 @@
import("//mojo/public/mojo.gni")
import("//mojo/public/mojo_application.gni")
+copy("copy_blink_resources") {
+ sources = [
+ "$root_out_dir/gen/blink/public/resources/blink_resources.pak",
+ ]
+ outputs = [
+ "$root_out_dir/blink_resources.pak",
+ ]
+
+ public_deps = [
+ "//third_party/WebKit/public:resources",
+ ]
+}
+
source_set("lib") {
sources = [
"ax_provider_impl.cc",
@@ -81,6 +94,7 @@ source_set("lib") {
public_deps = [
"//third_party/WebKit/public:blink",
+ ":copy_blink_resources",
]
}
« no previous file with comments | « no previous file | mojo/services/html_viewer/DEPS » ('j') | mojo/services/html_viewer/blink_platform_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698