Add asset merging support to android_aar_prebuilt
This change extends android_aar_prebuilt to support including any assets in the aar file in the output. Currently, if the source aar file contains any files in the assets subdirectory, the target must define the ignore_assets flag. This change now optionally allows the user to instead supply the extract_assets flag so that the assets will be copied to the output instead. If assets are included in the source aar, then either ignore_assets or extract_assets, but not both, must be set. Assets will be copied to the output target with the same directory structure as the input aar file. Bug: 643966 Change-Id: Ibf66543fd9e9dc8db7221234b82c1d860f7f2724 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2350340 Auto-Submit: Brandon Mousseau <bmoose@google.com> Commit-Queue: Brandon Mousseau <bmoose@google.com> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#797544}
Showing
Please register or sign in to comment