OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 action_foreach("top_domains") { | 5 action_foreach("top_domains") { |
6 script = "//net/tools/dafsa/make_dafsa.py" | 6 script = "//net/tools/dafsa/make_dafsa.py" |
7 sources = [ | 7 sources = [ |
8 "alexa_skeletons.gperf", | 8 "alexa_skeletons.gperf", |
9 ] | 9 ] |
10 outputs = [ | 10 outputs = [ |
11 "${target_gen_dir}/{{source_name_part}}-inc.cc", | 11 "${target_gen_dir}/{{source_name_part}}-inc.cc", |
12 ] | 12 ] |
13 args = [ | 13 args = [ |
14 "{{source}}", | 14 "{{source}}", |
15 rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc", | 15 rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc", |
16 root_build_dir), | 16 root_build_dir), |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 if (!is_ios && !is_android) { | 20 if (!is_ios && !is_android) { |
21 executable("make_top_domain_gperf") { | 21 executable("make_top_domain_gperf") { |
22 sources = [ | 22 sources = [ |
23 "make_top_domain_gperf.cc", | 23 "make_top_domain_gperf.cc", |
24 ] | 24 ] |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "//base", | 27 "//base", |
28 "//base:i18n", | 28 "//base:i18n", |
| 29 "//build/config:exe_and_shlib_deps", |
29 "//third_party/icu", | 30 "//third_party/icu", |
30 ] | 31 ] |
31 } | 32 } |
32 } | 33 } |
OLD | NEW |