naiveproxy/components/url_formatter/top_domains/BUILD.gn
2018-01-29 00:30:36 +08:00

34 lines
751 B
Plaintext

# 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") {
sources = [
"make_top_domain_gperf.cc",
]
deps = [
"//base",
"//base:i18n",
"//build/config:exe_and_shlib_deps",
"//third_party/icu",
]
}
}