Hi Android build team,
This is Android team from Mediatek.
We have a question that needs your advice and suggestion
According to https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools,
There is a new constraint for build system in order to ensure the build results are reproducible across different machines.
Problem occurs when we try to combine our build flow with Android source code.
When we compile our proprietary modules using ARM GNU toolchains or some unix tool, we meet compiling errors because of the constraint mentioned above.
The error log shows ‘Disallowed PATH Tool “xxx” used …’ , and these tools are make, cache, perl,… , used by ARM GNU toolchains or shell command in build flow.
We found that these tools were disallowed because they were fallen into Forbidden or Missing case, defined in build/soong/ui/build/paths/config.go
the detail analysis can be referenced by attachment : 3rd tools error analysis.docx
Is it possible Google create a customization mechanism for vendor to add the proprietary build tool in Android source? e.g. add a new path variable (/vendor/prebuilts/build-tools) to vendor folder then vendor can add vendor build tool in it.
and these vendor build tool can be excepted in constraint rule.
for this question, we also have some discussion in this buganizer issue.
https://partnerissuetracker.corp.google.com/u/1/issues/123787813
BRs,
Feng Lin
************* MEDIATEK Confidentiality Notice ******************** The information contained in this e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. It is intended to be conveyed only to the designated recipient(s). Any use, dissemination, distribution, printing, retaining or copying of this e-mail (including its attachments) by unintended recipient(s) is strictly prohibited and may be unlawful. If you are not an intended recipient of this e-mail, or believe that you have received this e-mail in error, please notify the sender immediately (by replying to this e-mail), delete any and all copies of this e-mail (including any attachments) from your system, and do not disclose the content of this e-mail to any other person. Thank you!
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Dan,
Thanks for your help.
We will try this suggestion~
BRs,
Feng Lin
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-...@googlegroups.com.
IOn tools:
- We've deprecated GCC during Android builds, we recommend clang for compilation.