summaryrefslogtreecommitdiffstats
path: root/net/tools/tld_cleanup
diff options
context:
space:
mode:
authorpam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 15:34:22 +0000
committerpam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 15:34:22 +0000
commitfb09d2b591378a1f5fdefc3f20a79782687f1465 (patch)
treeacf1610264f95bffa2ba7d206990d47c87e29807 /net/tools/tld_cleanup
parentf1a761f802d0c1712571d4bca05af620cda5eee6 (diff)
downloadchromium_src-fb09d2b591378a1f5fdefc3f20a79782687f1465.zip
chromium_src-fb09d2b591378a1f5fdefc3f20a79782687f1465.tar.gz
chromium_src-fb09d2b591378a1f5fdefc3f20a79782687f1465.tar.bz2
Update effective-TLD data files using the latest data from Mozilla.
Also expand and correct the README describing how to do this update. Due to bug 96086 (also see https://bugzilla.mozilla.org/show_bug.cgi?id=687165), entries in this list that are also known to be navigable complete URLs have been removed until a more complete solution has been put in place. This data file is Mozilla's changeset 76449:9411dffc948b, from 2011-09-02 14:08 -0400. It includes changes (some commented out) from the following Mozilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=669792 https://bugzilla.mozilla.org/show_bug.cgi?id=531758 https://bugzilla.mozilla.org/show_bug.cgi?id=665521 BUG=37436, 96086 TEST=none Review URL: http://codereview.chromium.org/8341051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/tld_cleanup')
-rw-r--r--net/tools/tld_cleanup/README20
1 files changed, 15 insertions, 5 deletions
diff --git a/net/tools/tld_cleanup/README b/net/tools/tld_cleanup/README
index f696843..03cd56f 100644
--- a/net/tools/tld_cleanup/README
+++ b/net/tools/tld_cleanup/README
@@ -1,12 +1,22 @@
When updating src/net/base/effective_tld_names.dat:
-1. Build tld_cleanup.exe (the "(net)" > "tld_cleanup" project)
-2. Run it (no arguments needed), typically from src/chrome/Release or
- src/chrome/Debug. It will re-generate
+1. Obtain the new effective_tld_names.dat, probably by downloading
+ http://goo.gl/Ji2bB
+
+2. Remove whitespace from the ends of the lines.
+
+3. Add the Chromium note back in.
+
+4. Build tld_cleanup.exe (the "(net)" > "tld_cleanup" project)
+
+5. Run it (no arguments needed), typically from src/build/Release or
+ src/build/Debug. It will re-generate
src/net/base/effective_tld_names.gperf.
-3. Run gperf on the new effective_tld_names.gperf:
+
+6. Run gperf on the new effective_tld_names.gperf:
gperf -a -L "C++" -C -c -o -t -k '*' -NFindDomain -D -m 5 \
effective_tld_names.gperf > effective_tld_names.cc
It will produce a new effective_tld_names.cc.
-4. Check in the updated effective_tld_names.dat, effective_tld_names.gperf,
+
+7. Check in the updated effective_tld_names.dat, effective_tld_names.gperf,
and effective_tld_names.cc together.