OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//blimp/client/core/config.gni") | |
6 import("//build/config/locales.gni") | |
7 import("//tools/grit/grit_rule.gni") | |
8 | |
9 # Resources exposed to the embedder. | |
10 source_set("resources") { | |
11 visibility = [ "//blimp/client/support/*" ] | |
12 | |
13 sources = [ | |
14 "blimp_strings.h", | |
15 ] | |
16 | |
17 public_deps = [ | |
18 ":blimp_strings", | |
19 ] | |
20 | |
21 deps = [ | |
22 "//base", | |
23 ] | |
24 } | |
25 | |
26 # Strings exposed to the embedder. The embedder will generate target to depend o n this, | |
27 # so visible to the embedder. | |
28 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.
| |
29 visibility = [ | |
30 "//blimp/client/support/*", | |
31 "//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.
| |
32 ] | |
33 | |
34 source = "blimp_strings.grd" | |
35 use_qualified_include = true | |
36 outputs = [ | |
37 "grit/blimp_strings.h", | |
38 ] | |
39 | |
40 foreach(locale, locales_with_fake_bidi) { | |
41 outputs += [ "blimp_strings_$locale.pak" ] | |
42 } | |
43 } | |
OLD | NEW |