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

Unified Diff: ios/web/BUILD.gn

Issue 1988863002: [ios Mojo] Mojo resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 4 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 | ios/web/ios_web.gyp » ('j') | 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 953e53713eaae0da318d8dc126a55062e23392b8..9b203cfb060dafc6631852d591ac7bfa8add5ca8 100644
--- a/ios/web/BUILD.gn
+++ b/ios/web/BUILD.gn
@@ -2,13 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//testing/test.gni")
import("//ios/web/js_compile.gni")
+import("//testing/test.gni")
+import("//tools/grit/grit_rule.gni")
source_set("web") {
deps = [
":core",
":js_resources",
+ ":resources",
":user_agent",
"//base",
"//components/url_formatter",
@@ -488,3 +490,16 @@ js_compile_checked("js_resources") {
"web_state/js/resources/window_id.js",
]
}
+
+grit("resources") {
+ source = "ios_web_resources.grd"
+ use_qualified_include = true
+ outputs = [
+ "grit/ios_web_resources.h",
+ "ios_web_resources.pak",
+ ]
+ grit_flags = [
+ "-E",
+ "root_out_dir=" + rebase_path(root_out_dir, root_build_dir),
+ ]
+}
« no previous file with comments | « no previous file | ios/web/ios_web.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698