[go: up one dir, main page]

siso: workaround copy_bundle_data error

Some step (e.g. build/config/apple/codesign.py) would remove files,
but siso can't tell the fact, so later copy_bundle_data may try to
copy that (as it still exists in hashfs) but fail (because it uses
local file as source, so fail to flush from the file source).

To mitigate the issue, ctx.cmd.copy (which is used for
copy_bundle_data's handler) checks src and if it is local file source,
check the file and ignore to copy if file doesn't exist on disk.

Bug: b/445860968
Change-Id: I940ee85f0a568b87e576a96e291167dc53ca2d43
Reviewed-on: https://chromium-review.googlesource.com/c/build/+/6968192
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Reviewed-by: Junji Watanabe <jwata@google.com>
Commit-Queue: Junji Watanabe <jwata@google.com>
8 files changed
tree: d8ee40b3c8ed2af0d6ca3a9a2a9eab1e47c90b0b
  1. bench/
  2. gong/
  3. infra/
  4. kajiya/
  5. kzipinfo/
  6. runmc/
  7. siso/
  8. .gitignore
  9. .golangci.yml
  10. .style.yapf
  11. CONTRIBUTING.md
  12. LICENSE
  13. OWNERS
  14. PRESUBMIT.py
  15. README.md
  16. 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