From 10f3349b1cc6a2e161e94608461a650a5011a988 Mon Sep 17 00:00:00 2001 From: "thomasvl@chromium.org" Date: Thu, 26 Feb 2009 03:21:13 +0000 Subject: 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 --- tools/grit/grit/tool/build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') 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 -- cgit v1.1