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..7c403b65666360595d82df068c0abb3ef246def0 |
--- /dev/null |
+++ b/blimp/client/support/resources/BUILD.gn |
@@ -0,0 +1,43 @@ |
+# 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 = [ |
+ ":blimp_strings", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ ] |
+} |
+ |
+# Strings exposed to the embedder. The embedder will generate target to depend on this, |
+# so visible to the embedder. |
+grit("blimp_strings") { |
David Trainor- moved to gerrit
2016/10/13 03:59:34
just "strings"? The target will be "//blimp/clien
xingliu
2016/10/13 18:00:57
Done.
|
+ visibility = [ |
+ "//blimp/client/support/*", |
+ "//chrome/*", |
David Trainor- moved to gerrit
2016/10/13 03:59:34
If we're exposing this to an embedder just remove
xingliu
2016/10/13 18:00:57
Done.
|
+ ] |
+ |
+ source = "blimp_strings.grd" |
+ use_qualified_include = true |
+ outputs = [ |
+ "grit/blimp_strings.h", |
+ ] |
+ |
+ foreach(locale, locales_with_fake_bidi) { |
+ outputs += [ "blimp_strings_$locale.pak" ] |
+ } |
+} |