tree: 6765c8858a6f78ca38d80f08bc34d03a80eb5de6
  1. flags_utils.py
  2. generate_clank_feature_flag.py
  3. generate_expired_list.py
  4. generate_expired_list.pydeps
  5. generate_unexpire_flags.py
  6. generate_unexpire_flags_unittests.py
  7. lint_flags.py
  8. lint_flags_unittest.py
  9. list_flags.py
  10. OWNERS
  11. README.md
  12. unexpire_test.cc.expected
  13. unexpire_test.h.expected
  14. unexpire_test.inc.expected
  15. vpython.toml
  16. vpython.toml.uv.lock
tools/flags/README.md

tools/flags

This directory contains tooling for working with chrome://flags entries and part of the automation for expiring flags based on their metadata.

Specifically:

  • flags_utils.py: shared code between other tools in this directory
  • generate_expired_list.py: build script which produces a generated C++ source file containing a table of all expired flags and their expiration milestones
  • generate_unexpire_flags.py: build script which produces C++ source and headers to define the “temporary-unexpire-flags-mX” flags
  • list_flags.py: command-line tool to list subsets of flags from metadata; used by automation to file expired-flags bugs.

See ../../docs/flag_expiry.md for more details about flag expiry.