commit | b5ea227bd88235ab3ccda964d5f3819c4e2d8032 | [log] [tgz] |
---|---|---|
author | Junji Watanabe <[email protected]> | Fri Sep 01 02:01:21 2023 |
committer | Copybara-Service <[email protected]> | Fri Sep 01 02:17:04 2023 |
tree | 9938b00cfd521c4e3e269ab2bd53219b25088060 | |
parent | 30392509cfa0f370f1df55dfb75bc37e3fad19ae [diff] |
[protoc_wrapper] Do not add --import-dir if it doesn't exist The original issue was `warning: directory does not exist` output in remote proto wrapper command. https://crrev.com/c/4812586 suppressed it by including --import-dir to remote inputs. But it turned out that it sometimes crushes Reproxy. This CL instead fixes `protoc_wrapper.py` to check the presence of `--import-dir`. Fixed: b/297428306, b/298129445 Change-Id: I79bb902af138d7517f8dbd82880639565c59d01d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4829386 Reviewed-by: Dirk Pranke <[email protected]> Reviewed-by: Fumitoshi Ukai <[email protected]> Commit-Queue: Junji Watanabe <[email protected]> Auto-Submit: Junji Watanabe <[email protected]> Cr-Commit-Position: refs/heads/main@{#1191120} NOKEYCHECK=True GitOrigin-RevId: 427382dd9083dc5c5d2b81975e0bdbb7c9300fce