summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 03:21:13 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 03:21:13 +0000
commit10f3349b1cc6a2e161e94608461a650a5011a988 (patch)
treedbfc8736c817799613bfd8b54a0efe82dcf065a4 /tools
parent40a387cd99d50da72c6c9e80fdcb2685d021b45a (diff)
downloadchromium_src-10f3349b1cc6a2e161e94608461a650a5011a988.zip
chromium_src-10f3349b1cc6a2e161e94608461a650a5011a988.tar.gz
chromium_src-10f3349b1cc6a2e161e94608461a650a5011a988.tar.bz2
Enable the .pak files on mac builds also.
Review URL: http://codereview.chromium.org/27153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/grit/grit/tool/build.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/grit/grit/tool/build.py b/tools/grit/grit/tool/build.py
index 2cd8a0b..fa064fc 100644
--- a/tools/grit/grit/tool/build.py
+++ b/tools/grit/grit/tool/build.py
@@ -157,10 +157,11 @@ are exported to translation interchange files (e.g. XMB files), etc.
for output in self.res.GetOutputFiles():
self.VerboseOut('Creating %s...' % output.GetFilename())
- # Don't build data package files on mac/windows because it's not used and
+ # Don't build data package files on windows because it's not used and
# there are project dependency issues. We still need to create the file
# to satisfy build dependencies.
- if output.GetType() == 'data_package' and sys.platform != 'linux2':
+ linux_or_mac = (sys.platform == 'linux2' or sys.platform == 'darwin')
+ if output.GetType() == 'data_package' and not linux_or_mac:
f = open(output.GetOutputFilename(), 'wb')
f.close()
continue