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<https://www.google.com/url?q=https://android.googlesource.com/platform/build/%2B/master/Changes.md%23PATH_Tools&sa=D&usg=AFQjCNEgF30xA0aFxiIvkb6lDKv0URcQxQ>,
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

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@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-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: 3rd tools error analysis.docx
Description: 3rd tools error analysis.docx

Reply via email to