diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-10 02:38:03 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-10 02:38:03 +0000 |
commit | c402da4e582bb1b5133270a2077104e752fc9704 (patch) | |
tree | b25691fad942949f281500f6d98a7d4c4e1478c1 /net/net.gyp | |
parent | 07ec104f30de62ac6114636eddb231df59021d34 (diff) | |
download | chromium_src-c402da4e582bb1b5133270a2077104e752fc9704.zip chromium_src-c402da4e582bb1b5133270a2077104e752fc9704.tar.gz chromium_src-c402da4e582bb1b5133270a2077104e752fc9704.tar.bz2 |
Original patch by cbentzel@google.com
Original code review: http://codereview.chromium.org/428004
Command line utility to run the HostResolver.
The user provides a list of hosts to resolve, as well as optional timestamps
for when the resolutions should happen. These can be provided on the command
line as additional arguments or in a specified file.
Options:
--async: Specifies that the resolution should happen asynchronously.
--verbose: Spew out extra data.
--cachesize: Size of the DNS cache.
--cachettl: TTL of DNS cache entries in milliseconds.
--inputpath: File containing host name and optional timestamp, one per line.
BUG=NONE
TEST=Built and ran on Linux and Windows. Built on OSX via trybots but not run.
R=eroman
Review URL: http://codereview.chromium.org/485006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index b0672cf..4f50133 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -849,6 +849,17 @@ 'tools/fetch/http_session.h', ], }, + { + 'target_name': 'hresolv', + 'type': 'executable', + 'dependencies': [ + 'net_base', + ], + 'msvs_guid': 'FF1BAC48-D326-4CB4-96DA-8B03DE23ED6E', + 'sources': [ + 'tools/hresolv/hresolv.cc', + ], + }, ], 'conditions': [ ['OS=="win"', { |