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

Side by Side Diff: ash/strings/BUILD.gn

Issue 2163253003: Moves ash/strings to ash/common/strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extraneous Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/strings/ash_strings_am.xtb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 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("//tools/grit/grit_rule.gni")
6 import("//tools/grit/repack.gni")
7
8 grit("strings") {
9 source = "../ash_strings.grd"
10 outputs = [
11 "grit/ash_strings.h",
12 "ash_strings_am.pak",
13 "ash_strings_ar.pak",
14 "ash_strings_bg.pak",
15 "ash_strings_bn.pak",
16 "ash_strings_ca.pak",
17 "ash_strings_cs.pak",
18 "ash_strings_da.pak",
19 "ash_strings_de.pak",
20 "ash_strings_el.pak",
21 "ash_strings_en-GB.pak",
22 "ash_strings_en-US.pak",
23 "ash_strings_es.pak",
24 "ash_strings_es-419.pak",
25 "ash_strings_et.pak",
26 "ash_strings_fa.pak",
27 "ash_strings_fake-bidi.pak",
28 "ash_strings_fi.pak",
29 "ash_strings_fil.pak",
30 "ash_strings_fr.pak",
31 "ash_strings_gu.pak",
32 "ash_strings_he.pak",
33 "ash_strings_hi.pak",
34 "ash_strings_hr.pak",
35 "ash_strings_hu.pak",
36 "ash_strings_id.pak",
37 "ash_strings_it.pak",
38 "ash_strings_ja.pak",
39 "ash_strings_kn.pak",
40 "ash_strings_ko.pak",
41 "ash_strings_lt.pak",
42 "ash_strings_lv.pak",
43 "ash_strings_ml.pak",
44 "ash_strings_mr.pak",
45 "ash_strings_ms.pak",
46 "ash_strings_nl.pak",
47 "ash_strings_nb.pak",
48 "ash_strings_pl.pak",
49 "ash_strings_pt-BR.pak",
50 "ash_strings_pt-PT.pak",
51 "ash_strings_ro.pak",
52 "ash_strings_ru.pak",
53 "ash_strings_sk.pak",
54 "ash_strings_sl.pak",
55 "ash_strings_sr.pak",
56 "ash_strings_sv.pak",
57 "ash_strings_sw.pak",
58 "ash_strings_ta.pak",
59 "ash_strings_te.pak",
60 "ash_strings_th.pak",
61 "ash_strings_tr.pak",
62 "ash_strings_uk.pak",
63 "ash_strings_vi.pak",
64 "ash_strings_zh-CN.pak",
65 "ash_strings_zh-TW.pak",
66 ]
67 }
68
69 # Creates locale-specific pak files with strings needed for ash_unittests, etc.
70 template("repack_one_locale_ash") {
71 locale = invoker.locale
72 output = invoker.output
73
74 repack(target_name) {
75 # Each input pak file should also have a deps line for completeness.
76 sources = [
77 "$root_gen_dir/ash/strings/ash_strings_${locale}.pak",
78 "$root_gen_dir/ui/strings/app_locale_settings_${locale}.pak",
79 "$root_gen_dir/ui/strings/ui_strings_${locale}.pak",
80 ]
81
82 deps = [
83 "//ash/strings",
84 "//ui/strings:app_locale_settings",
85 "//ui/strings:ui_strings",
86 ]
87
88 if (is_chromeos) {
89 sources += [
90 "$root_gen_dir/device/bluetooth/strings/bluetooth_strings_${locale}.pak" ,
91 "$root_gen_dir/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak",
92 ]
93 deps += [
94 "//device/bluetooth/strings",
95 "//ui/chromeos/strings",
96 ]
97 }
98 }
99 }
100
101 # Creates a pak file containing en-US strings for ash_unittests, etc.
102 repack_one_locale_ash("ash_test_strings") {
103 output = "$root_build_dir/ash_test_strings.pak"
104 locale = "en-US"
105 }
OLDNEW
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/strings/ash_strings_am.xtb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698