commit | 26aa1c30d24c01ca1e3978e51c29cf81f6513f26 | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Mon Aug 16 11:20:32 2021 -0400 |
committer | Ivan Lozano <ivanlozano@google.com> | Mon Aug 16 11:37:28 2021 -0400 |
tree | aedea171eb7489e413883e99c6671e79dced6582 | |
parent | d90e7066f6bd0c38248925f287ec7a8dceb03436 [diff] |
cargo2android: Improve package version logic If there are multiple packages present in the workspace, attempt to determine what the current package is by checking the emitted crate_name value against the package name. If this still fails, a new `--no-pkg-vers` flag is added to skip this behavior. Bug: 196803495 Test: New logic finds package if package.name is used for crate_name Test: New flag prevents emitting the pkg version. Change-Id: I152e94a0520f09f37622a6cec340ae35842d56ea