Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: tools/grit/grit/tool/build.py

Issue 27153: Enable the .pak files on mac builds also. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/tool/build.py
===================================================================
--- tools/grit/grit/tool/build.py (revision 10373)
+++ tools/grit/grit/tool/build.py (working copy)
@@ -157,10 +157,11 @@
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698