siso: reapi.UpdateProjectID returns original projectID if not RBE

In android soong, siso runs in nsjail and reapi address is
not RBE, but unix domain socket to siso proxy.
In this case reapi.UpdateProjectID returned empty,
so it would disable cloud profiler etc.

Just return original projectID (given by -project flag)
when reapi address it not RBE.

Change-Id: Ie7b46e8a9eaab798cce1e98a8eee4c9dbd513909
Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8192135
Reviewed-by: Richard Wang <richardwa@google.com>
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Fumitoshi Ukai <ukai@google.com>
1 file changed
tree: e4a161edc0e3d05366cfe4b3b4686b32fad1a611
  1. bench/
  2. gong/
  3. hashigo/
  4. infra/
  5. kajiya/
  6. kzipinfo/
  7. remote-apis/
  8. runmc/
  9. siso/
  10. .gitignore
  11. .golangci.yml
  12. .style.yapf
  13. BUILD_OWNERS
  14. BUILD_TEAM_OWNERS
  15. CONTRIBUTING.md
  16. LICENSE
  17. OWNERS
  18. PRESUBMIT.py
  19. README.md
  20. WATCHLISTS
README.md

build.git repository

This repository contains tools developed and owned by the Chrome Build Team.

Quick start

The steps for getting the code are:

  1. Install depot_tools
  2. Run git clone https://chromium.googlesource.com/build

We use the standard Go module workflow to work on our projects.

Links