Put the lowest seen number in a persist sysprop. Bug: 137191822 Test: manual ran derive_sdk on device with fake protos installed Change-Id: Ic73d615d9d60769d237aa5a72dae2dfe56463007
32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
# Copyright (C) 2019 The Android Open Source Project
|
|
#
|
|
# Bionic loader config file for the sdkext apex.
|
|
|
|
dir.sdkext = /apex/com.android.sdkext/bin/
|
|
|
|
[sdkext]
|
|
additional.namespaces = platform
|
|
|
|
namespace.default.isolated = true
|
|
namespace.default.links = platform
|
|
namespace.default.link.platform.allow_all_shared_libs = true
|
|
|
|
###############################################################################
|
|
# "platform" namespace: used for NDK libraries
|
|
###############################################################################
|
|
namespace.platform.isolated = true
|
|
namespace.platform.search.paths = /system/${LIB}
|
|
namespace.platform.asan.search.paths = /data/asan/system/${LIB}
|
|
|
|
# /system/lib/libc.so, etc are symlinks to /apex/com.android.lib/lib/bionic/libc.so, etc.
|
|
# Add /apex/... path to the permitted paths because linker uses realpath(3)
|
|
# to check the accessibility of the lib. We could add this to search.paths
|
|
# instead but that makes the resolution of bionic libs be dependent on
|
|
# the order of /system/lib and /apex/... in search.paths. If /apex/...
|
|
# is after /system/lib, then /apex/... is never tried because libc.so
|
|
# is always found in /system/lib but fails to pass the accessibility test
|
|
# because of its realpath. It's better to not depend on the ordering if
|
|
# possible.
|
|
namespace.platform.permitted.paths = /apex/com.android.runtime/${LIB}/bionic
|
|
namespace.platform.asan.permitted.paths = /apex/com.android.runtime/${LIB}/bionic
|