[Android] GamingDevilsCC:
SOLVED: Re-added code for # the sdk starting from line 110.

I've come across another error message, and I'm unsure on what I should change to at line 84 in vendor/lineage-sdk/Android.mk .

Here's the error message.

ubuntu@Compiler:~/Sources/oreo/aex$ mka aex -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=aosp_d852
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.013
OUT_DIR=/home/ubuntu/Sources/oreo/aex/out
============================================
[44/44] bootstrap /home/ubuntu/Sources...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/ubuntu/Sources/oreo/aex/ou...o/aex/out/soong/.bootstrap/build.ninja
[869/870] glob vendor/*/*/*/*/*/Android.bp
[55/55] /home/ubuntu/Sources/oreo/aex/...Sources/oreo/aex/out/soong/build.ninja
/home/ubuntu/Sources/oreo/aex/out/build-aosp_d852.ninja is missing, regenerating...
[178/1081] including ./external/ebtables/Android.mk ...
build/core/binary.mk:40: warning: ebtables uses deprecated kernel header dependency path.
[218/1081] including ./external/json-c/Android.mk ...
build/core/binary.mk:40: warning: libjson uses deprecated kernel header dependency path.
[302/1081] including ./external/tinycompress/Android.mk ...
build/core/binary.mk:40: warning: libtinycompress_vendor uses deprecated kernel header dependency path.
[493/1081] including ./hardware/qcom/audio-caf/msm8974/Android.mk ...
build/core/binary.mk:40: warning: audio.primary.msm8974 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAacEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAmrEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxEvrcEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxQcelp13Enc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqcompostprocbundle uses deprecated kernel header dependency path.
[499/1081] including ./hardware/qcom/bt-caf/Android.mk ...
build/core/binary.mk:40: warning: libbt-vendor uses deprecated kernel header dependency path.
[507/1081] including ./hardware/qcom/display-caf/msm8974/Android.mk ...
build/core/binary.mk:40: warning: gralloc.msm8974 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libmemalloc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: copybit.msm8974 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libvirtual uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: hwcomposer.msm8974 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: liboverlay uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdutils uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdMetaData uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libhdmi uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqservice uses deprecated kernel header dependency path.
[514/1081] including ./hardware/qcom/keymaster/Android.mk ...
build/core/binary.mk:40: warning: keystore.msm8974 uses deprecated kernel header dependency path.
[519/1081] including ./hardware/qcom/media-caf/msm8974/Android.mk ...
build/core/binary.mk:40: warning: libOmxVdec uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: mm-vdec-omx-test uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: mm-video-driver-test uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxVenc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: mm-venc-omx-test720p uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: mm-video-encdrv-test uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libc2dcolorconvert uses deprecated kernel header dependency path.
[526/1081] including ./hardware/qcom/wlan-caf/Android.mk ...
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
[705/1081] including ./system/qcom/softap/jni/Android.mk ...
build/core/binary.mk:40: warning: libQWiFiSoftApCfg uses deprecated kernel header dependency path.
[1079/1081] including ./vendor/lineage-sdk/Android.mk ...
build/core/base_rules.mk:210: error: vendor/lineage-sdk: LOCAL_BUILT_MODULE and LOCAL_INSTALLED_MODULE must not be defined by component makefiles.
22:46:18 ckati failed with: exit status 1

#### failed to build some targets (02:36 (mm:ss)) ####

No Jack server running. Try 'jack-admin start-server'
ubuntu@Compiler:~/Sources/oreo/aex$

And this is line 79-84 of vendor/lineage-sdk/Android.mk

# Include aidl files from lineageos.app namespace as well as internal src aidl files
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/sdk/src/java
LOCAL_AIDL_FLAGS := -n

include $(BUILD_JAVA_LIBRARY)
lineage_framework_module := $(LOCAL_INSTALLED_MODULE)

I'm building AOSP Extended for the d852 btw.