[Android] wingedpanther:
Thanks for pointing out the workaround.I've done this.

Error.

Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/lights.msm8974_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/gralloc.default_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/gralloc.default_intermediates/export_includes ;
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/keystore.default_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/keystore.default_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/lights.msm8974_intermediates/export_includes
Notice file: device/oneplus/bacon/liblight/NOTICE -- /root/abc/out/target/product/bacon/obj/NOTICE_FILES/src//system/lib/hw/lights.msm8974.so.txt
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/local_time.default_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/lights.msm8974_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/lights.msm8974_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/local_time.default_intermediates/export_includes
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/nfc_nci.bacon_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/local_time.default_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/local_time.default_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/nfc_nci.bacon_intermediates/export_includes
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.default_intermediates/import_includes
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.default_intermediates/export_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/nfc_nci.bacon_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/nfc_nci.bacon_intermediates/export_includes ;
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.msm8974_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.default_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.default_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.msm8974_intermediates/export_includes
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/vibrator.default_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.msm8974_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/power.msm8974_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/vibrator.default_intermediates/export_includes
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libFFTEm_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/vibrator.default_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/vibrator.default_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes
Notice file: external/neven/NOTICE -- /root/abc/out/target/product/bacon/obj/NOTICE_FILES/src//system/lib/libFFTEm.so.txt
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libGLESv3_intermediates/import_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes ;
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libGLESv3_intermediates/export_includes
Import includes file: /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libOmxCore_intermediates/import_includes
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libOmxCore_intermediates/export_includes
make: *** No rule to make target `/root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/export_includes', needed by `/root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: -- /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libdivxdrmdecrypt_intermediates/export_includes
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libGLESv3_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libGLESv3_intermediates/export_includes ;
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libOmxCore_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libOmxCore_intermediates/export_includes ;
mv /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libdivxdrmdecrypt_intermediates/export_includes.tmp /root/abc/out/target/product/bacon/obj/SHARED_LIBRARIES/libdivxdrmdecrypt_intermediates/export_includes ;
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

#### make failed to build some targets (01:53 (mm:ss)) ####

-------------------------------------
SCRIPT ENDING AT 12/21/16 11:15:02 AM

Build failed!
TIME: 1 MINUTES AND 55 SECONDS
-------------------------------------