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

Unified Diff: blimp/client/support/resources/BUILD.gn

Issue 2406203003: Added blimp support strings. (Closed)
Patch Set: Add entry in translation expectation script. Created 4 years, 2 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
Index: blimp/client/support/resources/BUILD.gn
diff --git a/blimp/client/support/resources/BUILD.gn b/blimp/client/support/resources/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d9040fa9577ceb156fc92596b235dd57b77bd432
--- /dev/null
+++ b/blimp/client/support/resources/BUILD.gn
@@ -0,0 +1,39 @@
+# 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("//blimp/client/core/config.gni")
+import("//build/config/locales.gni")
+import("//tools/grit/grit_rule.gni")
+
+# Resources exposed to the embedder.
+source_set("resources") {
+ visibility = [ "//blimp/client/support/*" ]
+
+ sources = [
+ "blimp_strings.h",
+ ]
+
+ public_deps = [
+ ":strings",
+ ]
+
+ deps = [
+ "//base",
+ "//ui/base:base",
+ ]
+}
+
+# Strings exposed to the embedder. The embedder will generate target to depend on this, so no
+# visibility here.
+grit("strings") {
+ source = "blimp_strings.grd"
+ use_qualified_include = true
+ outputs = [
+ "grit/blimp_strings.h",
+ ]
+
+ foreach(locale, locales_with_fake_bidi) {
+ outputs += [ "blimp_strings_$locale.pak" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698