tree: e77b4e3fe269ef68d6c73bd453524fdbc93777c9 [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}');
  }
}