• Yu Han's avatar
    Revert "Android: Enable custom lint checks from aars" · 7c5f90d7
    Yu Han authored
    This reverts commit a2c6108b.
    
    Reason for revert: Suspect cause of tree closure. https://ci.chromium.org/p/chromium/builders/ci/Cast%20Android%20(dbg)/115938?
    
    Original change's description:
    > Android: Enable custom lint checks from aars
    >
    > Some aar files (e.g. androidx) that chrome depends on contain a lint.jar
    > file and/or a annotations.zip file. The lint.jar file includes custom
    > android lint checks. The annotations.zip file contains @IntDef and other
    > annotations needed for lint checks that are usually available by source
    > but are not available in aars.
    >
    > By using these files, we can make our existing lint checks more
    > comprehensive as well as benefit from lint checks by the aar library
    > authors.
    >
    > See newly ignored checks in lint-baseline.xml which is updated in this
    > CL as an example. Actually fixing these errors is left for future CLs
    > in order to enable them quicker and avoid unnecessary relands.
    >
    > Bug: 1078229
    > Change-Id: I3a8e67a9c41b8e8fbe339632f795b2aaab63456e
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2510793
    > Commit-Queue: Peter Wen <wnwen@chromium.org>
    > Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#826017}
    
    TBR=wnwen@chromium.org,mheikal@chromium.org
    
    Change-Id: I9b1fc0745465fcdd9b153dbbe2495b3b912b25da
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1078229
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531179Reviewed-by: default avatarYu Han <yuzhehan@chromium.org>
    Commit-Queue: Yu Han <yuzhehan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#826034}
    7c5f90d7
internal_rules.gni 162 KB