commit | 397a7605b93bc7e2cee62537ada65f0f30af9e45 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Sat Jun 05 00:06:22 2021 +0900 |
committer | Jooyung Han <jooyung@google.com> | Sat Jun 05 04:57:13 2021 +0900 |
tree | dc063b1dd7bd4f82dc652319a790ff6b1430c6cd | |
parent | 15b8ebe4f2c113992be498d0e1ea554cd75718fb [diff] |
Apply CleanPath() before comparing paths Paths are sometimes prefixed with "./". CleanPath() is moved from FakeIoDelegate to IoDelegate so that Parser uses it before comparing paths. Ideally, we should use std::filesystem::path::lexically_normal(), but it's not available on windows platform which we support. Removing "./" is good enough for most cases. To be specific, this happens when we pass "-I.". Bug: n/a Test: m (aidl_unittests) Change-Id: Ied6eaf1b264102d997306ac0cc2c32934056b27c
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview