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

Unified Diff: ios/chrome/browser/BUILD.gn

Issue 2564583002: Upstream Settings.bundle used by experimental_flags.{h,mm}. (Closed)
Patch Set: Created 4 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
Index: ios/chrome/browser/BUILD.gn
diff --git a/ios/chrome/browser/BUILD.gn b/ios/chrome/browser/BUILD.gn
index eac37946284f4bcf33c726a8371958dec0cd5bae..ea0741c6d889b926efb8c064b316645fee00abe3 100644
--- a/ios/chrome/browser/BUILD.gn
+++ b/ios/chrome/browser/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/features.gni")
+import("//build/config/ios/rules.gni")
import("//third_party/protobuf/proto_library.gni")
declare_args() {
@@ -218,6 +219,34 @@ source_set("about_flags") {
]
}
+bundle_data("settings_resources") {
+ sources = [
+ "resources/Settings.bundle/Experimental.plist",
+ "resources/Settings.bundle/Root.plist",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}",
+ ]
+ deps = [
+ ":settings_resources_experimental_strings",
+ ":settings_resources_root_strings",
+ ]
+}
+
+bundle_data_strings("settings_resources_experimental_strings") {
+ visibility = [ ":settings_resources" ]
+ source = "resources/Settings.bundle/en.lproj/Experimental.strings"
+ output =
+ "{{bundle_resources_dir}}/Settings.bundle/en.lproj/{{source_file_part}}"
+}
+
+bundle_data_strings("settings_resources_root_strings") {
+ visibility = [ ":settings_resources" ]
+ source = "resources/Settings.bundle/en.lproj/Root.strings"
+ output =
+ "{{bundle_resources_dir}}/Settings.bundle/en.lproj/{{source_file_part}}"
+}
+
source_set("unit_tests") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698