• Home
  • History
  • Annotate
  • only in /external/chromium_org/net/tools/tld_cleanup/
NameDateSize

..12-Mar-20154 KiB

BUILD.gn12-Mar-2015306

make_dafsa.py12-Mar-201513.9 KiB

make_dafsa_unittest.py12-Mar-201522.1 KiB

OWNERS12-Mar-201517

PRESUBMIT.py12-Mar-20151.1 KiB

README12-Mar-20151.3 KiB

tld_cleanup.cc12-Mar-20153.8 KiB

tld_cleanup.gyp12-Mar-2015524

tld_cleanup_util.cc12-Mar-20158.9 KiB

tld_cleanup_util.h12-Mar-20151.4 KiB

tld_cleanup_util_unittest.cc12-Mar-20156.7 KiB

README

1When updating src/net/base/registry_controlled_domains/effective_tld_names.dat:
2
31. Obtain the new effective_tld_names.dat, probably by downloading
4   http://goo.gl/Ji2bB
5
62. Remove whitespace from the ends of the lines.
7   You could possibly use something like:
8     sed -i -e "s/\s*$//g" \
9         src/net/base/registry_controlled_domains/effective_tld_names.dat
10
113. Add the Chromium note back in just after the license at the top, and just
12   before '===BEGIN ICANN DOMAINS==='. Ensure there is an empty line above and
13   two empty lines below the note. The note should say:
14// Chromium note: this is based on Mozilla's file:
15//  http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1
16
174. Build tld_cleanup (the "(net)" > "tld_cleanup" project)
18
195. Run it (no arguments needed), typically from src/build/Release or
20   src/build/Debug. It will re-generate
21   src/net/base/registry_controlled_domains/effective_tld_names.gperf.
22
236. Check in the updated effective_tld_names.dat, effective_tld_names.gperf
24
25Note that gperf is no longer used for effective_tld_names, but when building
26chromium the file effective_tld_names.gperf will be parsed by make_dafsa.py
27to generate the file effective_tld_names-inc.cc, which is included in
28registry_controlled_domain.cc
29