DescriptionImprove error handling for js2gtest C++ generation.
Previously, an error in a javascript file would cause the error to be written
to the -gen.cc file and fed to the C++ compiler (rarely accepts such
output as valid C++). This change causes the generation build action to fail
and the error to be output to the stderr of the ninja process instead.
Also, stack traces are improved by annotating eval'd files with sourceURL
comments when running the generator.
BUG=None
Committed: https://crrev.com/2cadf1ff8e88b5471c0926ee247af5eb6eb297e6
Cr-Commit-Position: refs/heads/master@{#345964}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Switch the output generator to use javascript template strings. #
Total comments: 1
Patch Set 3 : Add OWNERS #Patch Set 4 : Add missing newline. #
Messages
Total messages: 20 (6 generated)
|