Create sksl_enums.inc with UNIX line endings (even on Windows)

Change-Id: I6e17a8498647c4bd09281f880a94cbfdcd5930ea
Reviewed-on: https://skia-review.googlesource.com/106020
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Brian Osman 2018-02-09 09:49:30 -05:00 committed by Skia Commit-Bot
parent 426e6c5cba
commit cfe848c3aa

View File

@ -10,7 +10,7 @@ import subprocess
import sys
src = open(sys.argv[1], 'r')
dst = open(sys.argv[2], 'w')
dst = open(sys.argv[2], 'wb')
dst.write('R"(')
for line in src.readlines():
if not line.startswith("#"):