OnePlusOSS/android

[MSM8996] ninja: error: 'vendor/oneplus/sbin/dashd'

Closed this issue · 1 comments

I'm building OnePlusOSS Oreo for the OP3T aka msm8996 and I get this error:
ninja: error: 'vendor/oneplus/sbin/dashd', needed by 'out/target/product/msm8996/obj/EXECUTABLES/dashd_intermediates/dashd', missing and no known rule to make it

I've got the vendor directory setup with vendor/oneplus in the root of my source tree, I've got the prebuilt.mk, the Android.mk, and Android.bp, as well as the other files on this GitHub. Inside the sbin folder I have "dashd" and in the prebuilt.mk file I have this line:
PRODUCT_COPY_FILES += vendor/oneplus/vendor/sbin/dashd:sbin/dashd but I still get that error above.

How can I fix this? Thanks :) @MegaLiu @leonfish77101 @OnePlusOSSAdmin

Selinux to permissive if anyone comes across this.