roll: recipes_version.txt checkout: Handle root_subdirectory for WORKSPACE

Handle the root_directory option when processing WORKSPACE and
MODULE.bazel files.

Also drop support for assuming the logical "root" is a subdirectory when
an Android Repo Tool workspace only contains ".repo" and one other
folder. Instead, specify that folder in the input properties.

Original-Bug: b/399118273
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/273009
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 71bc9b06c182441c5c5c04bc3e3fc83a54192d6d
GitOrigin-RevId: 2226c086c746544a508e40f3aa7845816339abbf
Change-Id: I6f8e4a5c0c5df44083f5bba1fc1c9053ba441df5
1 file changed
tree: a6a165f83bdf5708213577478bd9c002e166af8f
  1. generated/
  2. AUTHORS
  3. LICENSE
  4. README.md
  5. recipes_version.txt
README.md

Pigweed Config

This repository contains configs for Pigweed. The source of truth for these configs is the corresponding internal repository.