Chromium Code Reviews| Index: components/url_formatter/top_domains/BUILD.gn |
| diff --git a/components/url_formatter/top_domains/BUILD.gn b/components/url_formatter/top_domains/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a24132b39abd40f320358398579947236867b03c |
| --- /dev/null |
| +++ b/components/url_formatter/top_domains/BUILD.gn |
| @@ -0,0 +1,32 @@ |
| +# Copyright 2017 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. |
| + |
| +action_foreach("top_domains") { |
| + script = "//net/tools/dafsa/make_dafsa.py" |
| + sources = [ |
| + "alexa_skeletons.gperf", |
| + ] |
| + outputs = [ |
| + "${target_gen_dir}/{{source_name_part}}-inc.cc", |
| + ] |
| + args = [ |
| + "{{source}}", |
| + rebase_path("${target_gen_dir}/{{source_name_part}}-inc.cc", |
| + root_build_dir), |
| + ] |
| +} |
| + |
| +if (!is_ios && !is_android) { |
| + executable("make_top_domain_gperf") { |
|
Ryan Sleevi
2017/05/09 00:00:29
I would defer to brettw here whether there's any t
jungshik at Google
2017/05/09 19:57:39
Yes, that's to be run manually. That's why is_ios
|
| + sources = [ |
| + "make_top_domain_gperf.cc", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//base:i18n", |
| + "//third_party/icu", |
| + ] |
| + } |
| +} |