Merge "Conscrypt should only link against bionic."
This commit is contained in:
commit
1cab2c6bec
3 changed files with 8 additions and 10 deletions
|
|
@ -43,10 +43,6 @@
|
||||||
#include <android-base/properties.h>
|
#include <android-base/properties.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
struct android_namespace_t* android_get_exported_namespace(const char*);
|
|
||||||
}
|
|
||||||
|
|
||||||
#define CHECK(predicate) LOG_ALWAYS_FATAL_IF(!(predicate),\
|
#define CHECK(predicate) LOG_ALWAYS_FATAL_IF(!(predicate),\
|
||||||
"%s:%d: %s CHECK '" #predicate "' failed.",\
|
"%s:%d: %s CHECK '" #predicate "' failed.",\
|
||||||
__FILE__, __LINE__, __FUNCTION__)
|
__FILE__, __LINE__, __FUNCTION__)
|
||||||
|
|
|
||||||
|
|
@ -152,11 +152,12 @@ namespace.media.link.default.shared_libs += %SANITIZER_RUNTIME_LIBRARIES%
|
||||||
namespace.conscrypt.isolated = true
|
namespace.conscrypt.isolated = true
|
||||||
namespace.conscrypt.visible = true
|
namespace.conscrypt.visible = true
|
||||||
|
|
||||||
|
# Keep in sync with ld.config.txt in the com.android.runtime APEX.
|
||||||
namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
|
namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
|
||||||
namespace.conscrypt.links = default
|
namespace.conscrypt.links = default
|
||||||
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
|
namespace.conscrypt.link.default.shared_libs = libc.so
|
||||||
# when it exists.
|
namespace.conscrypt.link.default.shared_libs += libm.so
|
||||||
namespace.conscrypt.link.default.allow_all_shared_libs = true
|
namespace.conscrypt.link.default.shared_libs += libdl.so
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# "sphal" namespace
|
# "sphal" namespace
|
||||||
|
|
|
||||||
|
|
@ -99,11 +99,12 @@ namespace.media.link.default.shared_libs += %SANITIZER_RUNTIME_LIBRARIES%
|
||||||
namespace.conscrypt.isolated = true
|
namespace.conscrypt.isolated = true
|
||||||
namespace.conscrypt.visible = true
|
namespace.conscrypt.visible = true
|
||||||
|
|
||||||
|
# Keep in sync with ld.config.txt in the com.android.runtime APEX.
|
||||||
namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
|
namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
|
||||||
namespace.conscrypt.links = default
|
namespace.conscrypt.links = default
|
||||||
# TODO(b/119867084): Restrict to Bionic dlopen dependencies and PALette library
|
namespace.conscrypt.link.default.shared_libs = libc.so
|
||||||
# when it exists.
|
namespace.conscrypt.link.default.shared_libs += libm.so
|
||||||
namespace.conscrypt.link.default.allow_all_shared_libs = true
|
namespace.conscrypt.link.default.shared_libs += libdl.so
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# "sphal" namespace
|
# "sphal" namespace
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue