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

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

Issue 28194: Fix grit include dependencies in the scons build. (Closed)
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 | « tools/grit/grit/scons.py ('k') | 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
diff --git a/tools/grit/grit/tool/build.py b/tools/grit/grit/tool/build.py
index fa064fc99dac27907c940fc9d1ed1d4a5340730b..a8488e8b5b07d0eede490b323765ba3ffa1ee55f 100644
--- a/tools/grit/grit/tool/build.py
+++ b/tools/grit/grit/tool/build.py
@@ -157,15 +157,6 @@ 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 windows because it's not used and
- # there are project dependency issues. We still need to create the file
- # to satisfy build dependencies.
- 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
-
# Microsoft's RC compiler can only deal with single-byte or double-byte
# files (no UTF-8), so we make all RC files UTF-16 to support all
# character sets.
« no previous file with comments | « tools/grit/grit/scons.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698