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

Prevent temporary intermediate files from being picked up by Android ResourceCompiler when building with workers. #14198

Conversation

arunkumar9t2
Copy link
Contributor

@arunkumar9t2 arunkumar9t2 commented Oct 29, 2021

When --persistent_android_resource_processor is used alongside databinding, ResourceCompiler reads databinding-processed-resources folder during resource merging and that folder can contain *.params file used for the PROCESS_DATABINDING action. This causes resource compiler's file name validation to fail. This CL simply ignores staging the intermediate files for resource compilation.

Additionally this CL also excludes *.tmp files which were observed when using dynamic remote execution.

Fixes #13649

…ResourceCompiler when running with workers.

When `--persistent_android_resource_processor` is used alongside databinding, ResourceCompiler reads `databinding-processed-resources` during resource merging and that folder can contain ``*.params` file for each processed layout resource. This causes resource compiler's file name validation to fail. This CL simply ignores staging the intermediate files for resource compilation.

Additionally this CL also excludes *.tmp files which were observed when using dynamic execution.

Fixes bazelbuild#13649
@ahumesky
Copy link
Contributor

ahumesky commented Nov 9, 2021

Thanks, I'll start importing this now

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.

Databinding: Build failure when enabling --persistent_android_resource_processor
2 participants