OLD | NEW |
| (Empty) |
1 # Copyright 2015 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 action("generate_icu_constants") { | |
6 script = "generate_icu_constants.py" | |
7 | |
8 inputs = [ | |
9 "$root_build_dir/icudtl.dat", | |
10 ] | |
11 | |
12 outputs = [ | |
13 "$root_gen_dir/mojo/icu/constants.cc", | |
14 ] | |
15 | |
16 args = rebase_path(inputs + outputs, root_build_dir) | |
17 | |
18 deps = [ | |
19 "//third_party/icu:icudata", | |
20 ] | |
21 } | |
22 | |
23 source_set("icu") { | |
24 sources = [ | |
25 "$root_gen_dir/mojo/icu/constants.cc", | |
26 "constants.h", | |
27 "icu.cc", | |
28 "icu.h", | |
29 ] | |
30 | |
31 deps = [ | |
32 "//base:i18n", | |
33 "//mojo/public/cpp/application", | |
34 "//mojo/public/cpp/bindings", | |
35 "//mojo/public/cpp/system", | |
36 "//mojo/services/icu_data/interfaces", | |
37 "//third_party/icu", | |
38 ":generate_icu_constants", | |
39 ] | |
40 } | |
OLD | NEW |