aboutsummaryrefslogtreecommitdiff
path: root/tools/normalize_path.py
Commit message (Collapse)AuthorAgeFilesLines
* Update normalize_path.py to Python 3.Lukacs T. Berki2022-10-201-2/+2
| | | | | Test: presubmits. Change-Id: I2db4fedcbb658a7ca4efa3a4557a216b8682735d
* Normalize the product makefile path in inherit-product.Ying Wang2015-10-281-1/+6
| | | | | | | | | | | Some vendor product makefiles call $(inherit-product) on the same product makefile with different paths, by using "../" in relative paths. However inherit-product requires unique path as ID for a product makefile, for bookkeeping purpose. Normalize the product makefile path in inherit-product, if the path contains "../". Change-Id: I1a864ce120c713d8e79ec179213b9fc9352aba53
* Normalize java source file paths before running "sort -u".Ying Wang2015-10-231-0/+24
We rely on "sort -u" to dedupe aidl/logtags generated java files added by both from $(all_java_sources) and from "find $(PRIVATE_SOURCE_INTERMEDIATES_DIR) -name '*.java". But "sort -u" doesn't work if any of the aidl/logtags source file path has "../" in it. This change fixes this issue by normalizing the source file paths before passing them to "sort -u". Change-Id: I12d2c4e0397bed9f426a1ed9b13608d72d01e0df