DescriptionRun dartanalyze on the dartzip file structure, by default.
This patch relands b905249b657b3ff373878a8756e2bde47e1289e6, which
enabled running dartanalyze by default, and hopefully fixes the problems
seen in that first run:
Instead of setting --package-root to the current build's out/.../gen/
dir, after building the dartzip file, unzip it to a temporary directory
and then run the analyzer on that.
a) This allows us to check that all dependencies are actually expressed
in build rules.
b) This lets us run the dartanalyze in other repositories. (We may be
consuming dartzips in repository B which were generated in repository
A.)
c) This keeps us from being tied to the build output of one repository.
BUG=459376
R=tonyg@chromium.org, zra@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/62e312b60088f007e0296ad0a9607e78fd448392
Patch Set 1 #
Total comments: 4
Patch Set 2 : most of tonyg's nits. #
Messages
Total messages: 8 (2 generated)
|