Merge "Make libsigchain a regular shared library dependency of app_process." am: 2fea6f3f77 am: 5040afaa3e am: 07618a5539

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1621159

Change-Id: Ide62fa6706d8d473f00372864e989c8579d3bf44
This commit is contained in:
Nicolas Geoffray
2021-03-17 15:57:46 +00:00
committed by Automerger Merge Worker
3 changed files with 7 additions and 35 deletions

View File

@@ -22,13 +22,9 @@ cc_binary {
multilib: {
lib32: {
// TODO(b/142944043): Remove version script when libsigchain is a DSO.
version_script: "version-script32.txt",
suffix: "32",
},
lib64: {
// TODO(b/142944043): Remove version script when libsigchain is a DSO.
version_script: "version-script64.txt",
suffix: "64",
},
},
@@ -43,6 +39,13 @@ cc_binary {
"libhidlbase",
"liblog",
"libnativeloader",
// Even though app_process doesn't call into libsigchain, we need to
// make sure it's in the DT list of app_process, as we want all code
// in app_process and the libraries it loads to find libsigchain
// symbols before libc symbols.
"libsigchain",
"libutils",
// This is a list of libraries that need to be included in order to avoid
@@ -52,8 +55,6 @@ cc_binary {
"libwilhelm",
],
whole_static_libs: ["libsigchain"],
compile_multilib: "both",
cflags: [

View File

@@ -1,15 +0,0 @@
{
global:
EnsureFrontOfChain;
AddSpecialSignalHandlerFn;
RemoveSpecialSignalHandlerFn;
SkipAddSignalHandler;
bsd_signal;
sigaction;
sigaction64;
signal;
sigprocmask;
sigprocmask64;
local:
*;
};

View File

@@ -1,14 +0,0 @@
{
global:
EnsureFrontOfChain;
AddSpecialSignalHandlerFn;
RemoveSpecialSignalHandlerFn;
SkipAddSignalHandler;
sigaction;
sigaction64;
signal;
sigprocmask;
sigprocmask64;
local:
*;
};