Skip to content

Commit

Permalink
[hybris-boot] Build libGLESv3 for Android 8 and newer.
Browse files Browse the repository at this point in the history
Some builds link directly to it and the custom version is needed.
  • Loading branch information
mlehtima committed Aug 30, 2021
1 parent 7489bc8 commit a415f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ else
$(warning Skipping build of hybris-updater-script since HYBRIS_BOOT_PART is not specified)
endif

HYBRIS_COMMON_ANDROID8_TARGETS := verity_signer boot_signer e2fsdroid vendorimage ramdisk libsurfaceflinger libhwc2_compat_layer bootctl fec
HYBRIS_COMMON_ANDROID8_TARGETS := verity_signer boot_signer e2fsdroid vendorimage ramdisk libsurfaceflinger libhwc2_compat_layer bootctl fec libGLESv3

ifeq ($(shell test $(ANDROID_VERSION_MAJOR) -ge 8 && echo true),true)
HYBRIS_COMMON_TARGETS += $(HYBRIS_COMMON_ANDROID8_TARGETS)
Expand All @@ -295,7 +295,7 @@ ifeq ($(shell test -d */selinux_stubs && echo true),true)
HYBRIS_COMMON_TARGETS += libselinux_stubs
endif
# for 64 bit Android, also include the 32 bit variants that we need.
HYBRIS_COMMON_64_BIT_EXTRA_TARGETS = linker_32 libc_32 libEGL_32 libGLESv1_CM_32 libGLESv2_32 libhwc2_compat_layer_32
HYBRIS_COMMON_64_BIT_EXTRA_TARGETS = linker_32 libc_32 libEGL_32 libGLESv1_CM_32 libGLESv2_32 libGLESv3_32 libhwc2_compat_layer_32
else
# for 64 bit Android, also include the 32 bit variants that we need.
HYBRIS_COMMON_64_BIT_EXTRA_TARGETS = linker_32 libc_32 libEGL_32 libGLESv1_CM_32 libGLESv2_32
Expand Down

0 comments on commit a415f36

Please sign in to comment.