opengapps/aosp_build

Android 10 builds for x86_64 are broken

tugapower0 opened this issue · 1 comments

No idea if this is relative also to #255

For me even with the #222 included patch it fails on x86_64 builds over android 10, no idea if 9 also happens, also added APPS_EXCLUDED_PACKAGES += GoogleBackupTransport since its complaining about this, should not APPS_EXCLUDED_PACKAGES take care of this ?
Also get warnings about Disallowed PATH.

`device/generic/x86_64/android_x86_64.mk was modified, regenerating...
01:05:50 Disallowed PATH tool "locale" used: []string{"locale", "-a"}
01:05:50 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
device/generic/common/x86_64.mk was modified, regenerating...
01:05:54 Disallowed PATH tool "locale" used: []string{"locale", "-a"}
01:05:54 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
[ 99% 387/389] including vendor/opengapps/build/modules/Android.mk ...
FAILED:
vendor/opengapps/build/modules/Android.mk: error: GoogleBackupTransport: No source files specified
build/make/core/prebuilt_internal.mk:37: error: done.
01:06:31 ckati failed with: exit status 1

failed to build some targets (44 seconds)

`

You need to pull the latest 2 commits from cwhuang to use aosp_build on x86_64 https://github.com/cwhuang/aosp_build/commits/master

also you will need to manually remove those : fcuzzocrea@963c155

with those you can build for x86_64.

As a side note, I have found another weird issue on stock package.
If you use the stock variant of opengapps aosp build on x86_64, chrome and the webwiev will not be embedded into the buil, because we miss trichromelibrary for x86_64 I guess.
Pixel launcher will not be in the build as well but I was not able to figure out why.

Let me know if I can debug this further