Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitizer: Set useLegacyPackaging for asan #970

Merged

Commits on Jan 10, 2024

  1. Sanitizer: Set useLegacyPackaging for asan

    [Why]
    Property useLegacyPackaging determin whether to use the legacy convention of compressing all .so files in the APK.
    If null, .so files will be uncompressed and page-aligned when minSdk >= 23.
    Otherwise, it failed with "INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2" when minSdk >= 23.
    And wrap.sh is only available for API level 27 and above.
    
    [How]
    Set useLegacyPackaging to true.
    Set compileSdk to 27.
    Reference: https://developer.android.com/ndk/guides/asan
    robotchaoX authored and DanAlbert committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    5b78a1d View commit details
    Browse the repository at this point in the history
  2. rmeove redudant compileSdk 27

    robotchaoX authored and DanAlbert committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    4f4b672 View commit details
    Browse the repository at this point in the history
  3. Add comment.

    DanAlbert committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    7316939 View commit details
    Browse the repository at this point in the history