summaryrefslogtreecommitdiffstats
path: root/net/net_resources.scons
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 19:37:16 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 19:37:16 +0000
commitcff88abb4912a4e942c6eff18a35a91e8860897a (patch)
tree5cc5671105fc622114de3939e5622a43adf333cf /net/net_resources.scons
parentdb824a221e214a33ee10ec97593b444401517f3a (diff)
downloadchromium_src-cff88abb4912a4e942c6eff18a35a91e8860897a.zip
chromium_src-cff88abb4912a4e942c6eff18a35a91e8860897a.tar.gz
chromium_src-cff88abb4912a4e942c6eff18a35a91e8860897a.tar.bz2
Port tld_cleanup to posix and add it to the scons build.
Review URL: http://codereview.chromium.org/17447 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net_resources.scons')
-rw-r--r--net/net_resources.scons14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/net_resources.scons b/net/net_resources.scons
index c76ed62..6120e0c 100644
--- a/net/net_resources.scons
+++ b/net/net_resources.scons
@@ -24,6 +24,12 @@ env.Tool('scons', toolpath=[env.Dir('$CHROME_SRC_DIR/tools/grit/grit')])
generated = env.GRIT('$TARGET_ROOT/grit_derived_sources/dummy_net_res',
'base/net_resources.grd')
+# 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')
+
if env.Bit('windows'):
env.Prepend(
RCFLAGS = [
@@ -31,14 +37,6 @@ if env.Bit('windows'):
],
)
- # TODO(port): Need to figure out what to do with external resources
- # on linux (and mac?).
- # This dat file needed by net_resources.rc is generated.
- tld_names_clean = env.Command(
- '$TARGET_ROOT/grit_derived_sources/effective_tld_names_clean.dat',
- input_files,
- '${SOURCES[1]} ${SOURCES[0]} $TARGET')
-
for g in [g for g in generated if str(g).endswith('.rc')]:
net_res = env.RES(g)
env.Depends(net_res, tld_names_clean)