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

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

Issue 1452593002: Add support for building "ios_chrome_unittests" with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_gfx
Patch Set: Created 5 years, 1 month 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/variations/BUILD.gn
diff --git a/ios/chrome/browser/variations/BUILD.gn b/ios/chrome/browser/variations/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3998d285f49d3254fd45461879e1484260544252
--- /dev/null
+++ b/ios/chrome/browser/variations/BUILD.gn
@@ -0,0 +1,29 @@
+# Copyright 2015 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("//components/variations/service/generate_ui_string_overrider.gni")
+
+generate_ui_string_overrider("ios_chrome_ui_string_overrider_factory") {
+ inputs = [
+ "$root_gen_dir/components/strings/grit/components_chromium_strings.h",
+ "$root_gen_dir/components/strings/grit/components_google_chrome_strings.h",
+ "$root_gen_dir/components/strings/grit/components_strings.h",
+ "$root_gen_dir/ios/chrome/grit/ios_chromium_strings.h",
+ "$root_gen_dir/ios/chrome/grit/ios_google_chrome_strings.h",
+ "$root_gen_dir/ios/chrome/grit/ios_locale_settings.h",
+ "$root_gen_dir/ios/chrome/grit/ios_strings.h",
+ ]
+ deps = [
+ "//components/strings:components_chromium_strings",
+ "//components/strings:components_google_chrome_strings",
+ "//components/strings:components_strings",
+ "//ios/chrome/app/strings:ios_chromium_strings",
+ "//ios/chrome/app/strings:ios_google_chrome_strings",
+ "//ios/chrome/app/strings:ios_locale_settings",
+ "//ios/chrome/app/strings:ios_strings",
+ ]
+ namespace = "" # Put the functions in the global namespace on iOS.
+ header_filename = "ios_ui_string_overrider_factory.h"
+ source_filename = "ios_ui_string_overrider_factory.cc"
+}

Powered by Google App Engine
This is Rietveld 408576698