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

Unified Diff: components/html_viewer/BUILD.gn

Issue 1132083003: Makes ResourceLoader own handles and return Files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 5 years, 7 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 | components/html_viewer/html_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/BUILD.gn
diff --git a/components/html_viewer/BUILD.gn b/components/html_viewer/BUILD.gn
index b09c8c32f3ca8cddff89791b081ca0edf625812a..2696229c5078dcb82a59665b9b5a09b1e0c9320f 100644
--- a/components/html_viewer/BUILD.gn
+++ b/components/html_viewer/BUILD.gn
@@ -7,6 +7,7 @@ import("//mojo/mojo_application_package.gni")
import("//testing/test.gni")
import("//third_party/mojo/src/mojo/public/mojo.gni")
import("//third_party/mojo/src/mojo/public/mojo_application.gni")
+import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
# Repack this here.
@@ -45,6 +46,14 @@ action("generate_blink_resource_map") {
]
}
+grit("html_viewer_resources_grit") {
+ source = "html_viewer_resources.grd"
+ outputs = [
+ "grit/html_viewer_resources.h",
+ "html_viewer_resources.pak",
+ "html_viewer_resources.rc",
+ ]
+}
source_set("lib") {
sources = [
"$target_gen_dir/blink_resource_map.cc",
@@ -166,6 +175,7 @@ mojo_application_package("html_viewer") {
"ui_setup_android.h",
]
deps = [
+ ":html_viewer_resources_grit",
":lib",
"//components/resource_provider/public/cpp",
"//components/resource_provider/public/interfaces",
@@ -181,6 +191,7 @@ mojo_application_package("html_viewer") {
resources = [
"$root_out_dir/icudtl.dat",
"$root_out_dir/ui_test.pak",
+ "$target_gen_dir/html_viewer_resources.pak",
]
if (v8_use_external_startup_data) {
« no previous file with comments | « no previous file | components/html_viewer/html_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698