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

Pack all multi-arch libraries from aar_import deps when using --fat_apk_cpu #8510

Closed
wants to merge 7 commits into from

Conversation

jin
Copy link
Member

@jin jin commented May 29, 2019

Currently if --fat_apk_cpu is specified with more than one architecture and there are aar_import dependencies containing shared libraries for multiple architectures, android_binary will only pack one of the shared libraries. This is because it's unaware of the split transition during artifact discovery.

RELNOTES: Fixed an issue with Android builds where --fat_apk_cpu doesn't pack all selected shared libraries from aar_import targets into the APK.

Fixes #8283

Change-Id: If8dcc406592dc833f5732a81f04cf285693f2fb3
@jin jin changed the title Pack all multi-arch libraries from aar_import when using --fat_apk_cpu Pack all multi-arch libraries from aar_import deps when using --fat_apk_cpu May 29, 2019
jin added 6 commits May 29, 2019 20:06
Change-Id: I808b00f64866c72351ccd41395b758272bff37e3
Change-Id: I5fa4a78c1e22e936cca04e651a8a3ad259213ee8
Change-Id: I9c21d3e8c105230f4de726ce7e8adcb4df6386b5
Change-Id: I4f9bee27d450530a5030b8e71961442141f0d6e5
Change-Id: I12f71bf47961b5d45d72123338f66c60ff919982
Change-Id: I5432aff47310c4ca8881d41be226829c98254ea5
@bazel-io bazel-io closed this in aa0cb61 May 30, 2019
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jun 18, 2019
…pk_cpu

Currently if `--fat_apk_cpu` is specified with more than one architecture and there are `aar_import` dependencies containing shared libraries for multiple architectures, android_binary will only pack one of the shared libraries. This is because it's unaware of the split transition during artifact discovery.

RELNOTES: Fixed an issue with Android builds where `--fat_apk_cpu` doesn't pack all selected shared libraries from `aar_import` targets into the APK. See [bazelbuild#8283](bazelbuild#8283).

Fixes bazelbuild#8283

Closes bazelbuild#8510.

Change-Id: I5432aff47310c4ca8881d41be226829c98254ea5
PiperOrigin-RevId: 250776117
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jul 15, 2019
…pk_cpu

Currently if `--fat_apk_cpu` is specified with more than one architecture and there are `aar_import` dependencies containing shared libraries for multiple architectures, android_binary will only pack one of the shared libraries. This is because it's unaware of the split transition during artifact discovery.

RELNOTES: Fixed an issue with Android builds where `--fat_apk_cpu` doesn't pack all selected shared libraries from `aar_import` targets into the APK. See [bazelbuild#8283](bazelbuild#8283).

Fixes bazelbuild#8283

Closes bazelbuild#8510.

Change-Id: I5432aff47310c4ca8881d41be226829c98254ea5
PiperOrigin-RevId: 250776117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--fat_apk_cpu doesn't pack multi-arch libraries from aar_import targets
2 participants