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

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

Issue 2406203003: Added blimp support strings. (Closed)
Patch Set: Use empty translation file stubs. 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
« no previous file with comments | « blimp/client/support/BUILD.gn ('k') | blimp/client/support/resources/blimp_strings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1d45ce605f51bbe899bd8f13cf8ae7d5305552bc
--- /dev/null
+++ b/blimp/client/support/resources/BUILD.gn
@@ -0,0 +1,38 @@
+# 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") {
+ sources = [
+ "blimp_strings.cc",
+ "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" ]
+ }
+}
« no previous file with comments | « blimp/client/support/BUILD.gn ('k') | blimp/client/support/resources/blimp_strings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698