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" ] |
+ } |
+} |