adevtool violates PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS on redfin
flawedworld opened this issue · 2 comments
flawedworld commented
With the configuration in https://github.com/flawedworld/adevtool/tree/adevtool-mainline-issue adevtool violates mainline checks on redfin.
[ 99% 260/261] finishing build rules ...
FAILED:
build/make/core/artifact_path_requirements.mk:26: warning: vendor/google_devices/redfin/redfin.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
system/lib64/android.hardware.thermal@2.0.so
In file included from build/make/core/main.mk:1345:
build/make/core/artifact_path_requirements.mk:26: error: Build failed.
22:44:52 ckati failed with: exit status 1
flawedworld commented
Mitigation during development is to comment out PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS
flawedworld commented
I'm going to consider this a non-issue, given that Google has different artefact requirements for builds with the GMS stack.