[Android] aoleary:
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to....

Hi guys.

Can anyone help me with these errors related to the Dialler app, when building DirtyUnicorns o8x-caf branch for the LG G3 D855.

[ 0% 45/21628] Check module type: /home/aoleary/DU/out/target/common/obj/APPS/Dialer_intermediates/link_type
FAILED: /home/aoleary/DU/out/target/common/obj/APPS/Dialer_intermediates/link_type
/bin/bash -c "(mkdir -p /home/aoleary/DU/out/target/common/obj/APPS/Dialer_intermediates/ && rm -f /home/aoleary/DU/out/target/common/obj/APPS/Dialer_intermediates/link_type ) && (build/tools/check_link_type.py --makefile packages/apps/Dialer/Android.mk --module Dialer --type \"java:platform\" --allowed java:sdk --allowed java:system --allowed java:platform /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-dynamic-animation_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/com.android.vcard_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-commons-io-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-dagger2-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-disklrucache-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-gifdecoder-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-glide-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-all-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-context-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-core-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-okhttp-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-protobuf-lite-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-grpc-stub-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-guava-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-javax-annotation-api-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-javax-inject-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-libshortcutbadger-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-mime4j-core-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/dialer-mime4j-dom-target_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/libphonenumber_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/volley_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-lite_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-design_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-transition_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview_intermediates/link_type /home/aoleary/DU/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/link_type ) && (echo \"java:platform\" >/home/aoleary/DU/out/target/common/obj/APPS/Dialer_intermediates/link_type )"
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-commons-io-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-dagger2-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-disklrucache-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-gifdecoder-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-glide-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-all-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-context-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-core-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-okhttp-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-protobuf-lite-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-grpc-stub-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-guava-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-javax-annotation-api-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-javax-inject-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-libshortcutbadger-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-mime4j-core-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to dialer-mime4j-dom-target ()
packages/apps/Dialer/Android.mk: error: Dialer (java:platform) should not link to libprotobuf-java-lite ()
[ 0% 49/21628] Building Kernel Config

My device tree = https://github.com/aoleary/android_device_lge_d855/tree/du

I've tried replacing with the LOS repo, but no luck :(