summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/chrome/app/resources/BUILD.gn15
-rw-r--r--ios/chrome/browser/BUILD.gn1
2 files changed, 16 insertions, 0 deletions
diff --git a/ios/chrome/app/resources/BUILD.gn b/ios/chrome/app/resources/BUILD.gn
new file mode 100644
index 0000000..7855699
--- /dev/null
+++ b/ios/chrome/app/resources/BUILD.gn
@@ -0,0 +1,15 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//tools/grit/grit_rule.gni")
+
+grit("resources") {
+ source = "ios_resources.grd"
+ output_dir = "$root_gen_dir/ios/chrome"
+ use_qualified_include = true
+ outputs = [
+ "grit/ios_resources.h",
+ "ios_resources.pak",
+ ]
+}
diff --git a/ios/chrome/browser/BUILD.gn b/ios/chrome/browser/BUILD.gn
index 84a5d34..ddf8911 100644
--- a/ios/chrome/browser/BUILD.gn
+++ b/ios/chrome/browser/BUILD.gn
@@ -608,6 +608,7 @@ source_set("browser") {
# TODO(crbug.com/459705): add support for resource packing and change the
# dependency to be on the packed resources instead of the unpacked ones.
+ "//ios/chrome/app/resources",
"//ios/chrome/app/strings",
"//ios/chrome/app/theme",
]