Clone this repo:

Branches

  1. 64dd0e5 Suppress repetitive errors for libs not available in stack tool by Pâris · 1 year, 1 month ago main
  2. 00ecbd0 Update copyright headers in testing/, tools/ by Avi Drissman · 1 year, 8 months ago
  3. 8cb897d Remove dpranke from OWNERS files. by Dirk Pranke · 2 years, 3 months ago
  4. a21ec45 Migrate to llvm-objdump and llvm-symbolizer by André Kempe · 2 years, 4 months ago
  5. 373d1fc Add a tools/python/OWNERS file by Andrew Grieve · 2 years, 4 months ago

//tools/python

This directory is meant to contain Python code that is:

  1. Not platform-specific (e.g. //tools/android/python_utils).
  2. Useful to multiple other tools.

All Python code that is used by GN actions or templates within //build must live under //build, since that directory cannot have deps outside of it. However, code here can be used by GN actions or templates that live outside of //build.

When adding code to this directory, or when adding a dep onto code that lives in this directory, please consider whether or not duplicating the code would actually a better choice. Code re-use is helpful, but dependencies also come with a cost, especially when it comes to being able to test changes to shared code.