56ad714d6b
Previously the args were normalized to change an arg with `=` into separate args. That normalization was removed in https://github.com/dart-lang/sdk/commit/e321439470ec016e9532afe57b7f2891c0282d83 This fixes an issue with using the analyzer in worker mode on the current SDK. - Allow the case where there are 3 args and one of them starts with --dart-sdk rather than require it to be the entire string - Split into two bools with more descriptive names and refactor from an if/else chain into a composed condition R=jakemac@google.com Review-Url: https://codereview.chromium.org/2733953005 .