tree: 8cd19256be0e64fe64ada4efd602f2559c18bb7a [path history] [tgz]
  1. lib/
  2. test/
  3. pubspec.yaml
  4. README.md
tools/pkg/engine_repo_tools/README.md

engine_repo_tools

This is a repo-internal library for flutter/engine, that contains shared code for writing tools that operate on the engine repository. For example, finding the latest compiled engine artifacts in the out/ directory:

import 'package:engine_repo_tools/engine_repo_tools.dart';

void main() {
  final engine = Engine.findWithin();
  final latest = engine.latestOutput();
  if (latest != null) {
    print('Latest compile_commands.json: ${latest.compileCommandsJson?.path}');
  }
}