• Ying Wang's avatar
    Normalize java source file paths before running "sort -u". · 4d68879c
    Ying Wang authored
    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
    4d68879c
normalize_path.py 766 Bytes