From 3bc00fe8100948e99deb3dea3f833fd026d39bd5 Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Thu, 16 Nov 2017 13:52:16 -0500 Subject: [PATCH] fix Housekeeper-PerCommit bot Bug: skia: Change-Id: I393fa79c6c34b5d0b8d66b87749789644c6ee1e4 Reviewed-on: https://skia-review.googlesource.com/72740 Reviewed-by: Ethan Nicholas Commit-Queue: Ethan Nicholas --- gn/create_sksl_enums.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gn/create_sksl_enums.py b/gn/create_sksl_enums.py index e7f011559b..9a7f9398b8 100644 --- a/gn/create_sksl_enums.py +++ b/gn/create_sksl_enums.py @@ -11,10 +11,10 @@ import sys src = open(sys.argv[1], 'r') dst = open(sys.argv[2], 'w') -dst.write('STRINGIFY(') +dst.write('R"(') for line in src.readlines(): if not line.startswith("#"): dst.write(line) -dst.write(')\n') +dst.write(')"\n') src.close() dst.close()