DescriptionIntroduce dartanalyze into our build.
This creates a separate toplevel build group ("dartcheck"), and when invoked,
it will run dartanalyze on each source file in a dart_packaged_application
template in the gn files. Currently, we disable hints, warnings, and a
few specific hard errors so we can make progress here.
Long term I'd like to have this as part of the normal build, but currently
it takes roughly three and a half seconds to check each dart file for
errors.
BUG=459376
R=zra@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/2175b8834202e3e884a4e69423e899894a32dabd
Patch Set 1 #
Total comments: 6
Patch Set 2 : Use --package-root, change data_pipe.dart #Patch Set 3 : Only run dartanalyze on the toplevel check target. #
Total comments: 2
Patch Set 4 : Remove stray mark #Patch Set 5 : mojob integration #
Messages
Total messages: 20 (2 generated)
|