Skip to content

Propagate tags for the AndroidBinary actions#13093

Closed
nkoroste wants to merge 5 commits intobazelbuild:masterfrom
nkoroste:nk-propagateAndroidBinaryTags
Closed

Propagate tags for the AndroidBinary actions#13093
nkoroste wants to merge 5 commits intobazelbuild:masterfrom
nkoroste:nk-propagateAndroidBinaryTags

Conversation

@nkoroste
Copy link
Contributor

@nkoroste nkoroste commented Feb 23, 2021

Tags are not propagated from targets to actions for Android rules. #8830

This PR adds basic propagation of tags from the android_binary target it's actions.

Testing with aquery with the Android repo:

bazel aquery 'mnemonic(RClassGenerator, //apps/foo)'
bazel aquery 'mnemonic(JavaDeployJar, //apps/foo)'
bazel aquery 'mnemonic(ApkBuilder, //apps/foo)'

Tags are not propagated from targets to actions for Android rules. bazelbuild#8830

This PR adds basic propagation of tags from the android_binary target it's actions.

Testing with aquery with the Android repo:

./bazelw aquery 'mnemonic(RClassGenerator, //apps/foo)'
./bazelw aquery 'mnemonic(JavaDeployJar, //apps/foo)'
./bazelw aquery 'mnemonic(ApkBuilder, //apps/foo)'
@nkoroste nkoroste requested a review from lberki as a code owner February 23, 2021 20:25
@google-cla google-cla bot added the cla: yes label Feb 23, 2021
@lberki lberki requested review from ahumesky and removed request for lberki February 24, 2021 11:52
Copy link
Contributor

@ahumesky ahumesky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just a few comments

@nkoroste
Copy link
Contributor Author

Cleaned everything up, PTAL

@ahumesky
Copy link
Contributor

Thanks, I'll start the import on this on Monday

@jin jin added the team-Android Issues for Android team label Mar 1, 2021
@ahumesky
Copy link
Contributor

ahumesky commented Mar 3, 2021

I've imported the change internally, just waiting for internal code review

@bazel-io bazel-io closed this in 8f927d2 Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes team-Android Issues for Android team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants