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

Unified Diff: components/url_formatter/top_domains/BUILD.gn

Issue 2784933002: Mitigate spoofing attempt using Latin letters. (Closed)
Patch Set: add similarity check unittests Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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..0b6da0d1195c6fee3aada092ecb3d93a8afbe136
--- /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 = "//base/dafsa/make_dafsa.py"
+ sources = [
+ "alexa_10k_names_and_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_list") {
+ sources = [
+ "make_top_domain_list.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//third_party/icu",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698