Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be77c453 authored by Jiyong Park's avatar Jiyong Park
Browse files

Remove bionic libs from APEX_MODULE_LIBS check

The test was to ensure that bionic libs are not installed to the
non-updatable part of the platform (e.g. system/lib). However, for
bionic libs, we actually have been installing them for bootstrapping.
Specifically, they are installed to /system/lib/bootstrap, not
/system/lib. The test has passed just because it didn't look into
/system/lib/bootstrap. Removing the unnecessary check.

Bug: 128708192
Bug: 133140750
Test: m
Test: m out/target/prduct/$(TARGET_DEVICE)/system/lib/libc.so doesn't
work
Change-Id: I93cbd74972cdd2daea45612136d5133fa49ab76a
parent be2aed55
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -1112,15 +1112,6 @@ endef
# art/build/apex/art_apex_test.py.
# TODO(b/128708192): Implement this restriction in Soong instead.

# Runtime (Bionic) APEX (native) libraries
APEX_MODULE_LIBS += \
  libc.so \
  libc_malloc_debug.so \
  libc_malloc_hooks.so \
  libdl.so \
  libdl_android.so \
  libm.so \

# An option to disable the check below, for local use since some build targets
# still may create these libraries in /system (b/129006418).
DISABLE_APEX_LIBS_ABSENCE_CHECK ?=