diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 02:08:39 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 02:08:39 +0000 |
commit | dbd8e4664da046faa5532eb69583158b3b2c191c (patch) | |
tree | 7c90340524cefd5c310cb926118559388bcb2c99 /net/net_resources.scons | |
parent | 4dd01903cb5c1bb60bfb3682e80389f220ef1c90 (diff) | |
download | chromium_src-dbd8e4664da046faa5532eb69583158b3b2c191c.zip chromium_src-dbd8e4664da046faa5532eb69583158b3b2c191c.tar.gz chromium_src-dbd8e4664da046faa5532eb69583158b3b2c191c.tar.bz2 |
Have tld_cleanup generate a .cc file that contains the effective
tld data. This makes the build dependencies easier (helpful for
grit and gyp) and brings in the effective tld data on mac.
BUG=6076
Review URL: http://codereview.chromium.org/31004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net_resources.scons')
-rw-r--r-- | net/net_resources.scons | 58 |
1 files changed, 1 insertions, 57 deletions
diff --git a/net/net_resources.scons b/net/net_resources.scons index 1f279e8..6ccc55b 100644 --- a/net/net_resources.scons +++ b/net/net_resources.scons @@ -12,62 +12,6 @@ Import('env') env = env.Clone() -input_files = [ - 'base/effective_tld_names.dat', - 'tools/tld_cleanup/tld_cleanup$PROGSUFFIX', -] - -# This dat file needed by net_resources is generated. -tld_names_clean = env.Command( - '$TARGET_ROOT/grit_derived_sources/effective_tld_names_clean.dat', - input_files, - '${SOURCES[1]} ${SOURCES[0]} $TARGET') - # This dummy target is used to tell the emitter where to put the target files. generated = env.GRIT('$TARGET_ROOT/grit_derived_sources/dummy_net_res', - ['base/net_resources.grd'] + tld_names_clean) - - -if env.Bit('windows'): - env.Prepend( - RCFLAGS = [ - '/l 0x409', - ], - ) - - net_resources = [] - for g in [g for g in generated if str(g).endswith('.rc')]: - net_res = env.RES(g) - net_resources.extend(net_res) - env.Depends(net_res, tld_names_clean) - - input_files = ChromeFileList([ - 'base/net_resources.grd', - Derived(env.File('$TARGET_ROOT/grit_derived_sources/net_resources.h')), - ]) - - p = env.ChromeMSVSProject('build/net_resources.vcproj', - dest=('$CHROME_SRC_DIR/net/' - + 'build/net_resources.vcproj'), - guid='{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}', - keyword='Win32Proj', - #buildtargets=net_resources, - files=input_files, - relative_path_substitutions = [ - ('../../..', '$(OutDir)'), - ], - ConfigurationType='10') - - p.AddToolFile('../tools/grit/build/grit_resources.rules') - - p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - ]) - - p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - ]) + 'base/net_resources.grd') |