diff options
author | Ryan Keane <rwkeane@google.com> | 2020-05-08 11:12:51 -0700 |
---|---|---|
committer | Jordan Bayles <jophba@chromium.org> | 2020-05-08 19:17:18 +0000 |
commit | 6b6ba5ba2c60f7b930e6645e340f37b511f7edc3 (patch) | |
tree | 270705196af59918a2f166264736a1874c93407c /third_party | |
parent | 7163db562c78ed3f5a1b95f7374acaea5e7cd981 (diff) | |
download | openscreen-6b6ba5ba2c60f7b930e6645e340f37b511f7edc3.tar.gz |
Update //third_party/ README
Adds documentation for how to handle build failures caused by library
upgrades and `gclient sync` usage.
Change-Id: I66b0237c7dfe6c5e7670563af8d74b6a2b57cb88
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2190627
Reviewed-by: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/README.md b/third_party/README.md index eeabc954..b88512ee 100644 --- a/third_party/README.md +++ b/third_party/README.md @@ -42,3 +42,15 @@ with the rest of the project, including any adapter files under `//third_party/<library>` (e.g. BUILD.gn). Any necessary updates to make the rest of the project work with the new dependency version should happen in the same change. + +## Build Failures + +If after running `gclient sync`, your build starts failing due to errors in +`//third_party/`, then do the following: + + 1. Delete the `//out/` directory. + 1. Delete the `src/` directory of the failing `//third_party` library. + 1. Re-run `gclient sync`. + +This will remove any directories and files which were removed in the updated +library but not deleted by `gclient sync`. |