Reland "Modify _create_kythe_index_pack to use package_index rewrite"

This is a reland of 8bac717e75c871d65b676173922453c3afe76ab6

Original change's description:
> Modify _create_kythe_index_pack to use package_index rewrite
>
> Change-Id: I9548cce1d33f9d5c56488077c1c2d2679371075f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2508466
> Commit-Queue: Gavin Mak <gavinmak@google.com>
> Reviewed-by: Josip Sokcevic <sokcevic@google.com>

Change-Id: I765786c6a42fc3884c69c7829ecd5adc66519337
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2533380
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
31 files changed
tree: bbfb5da56c17f829efb314db500b79a2d246f5ff
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.