commit | a117f25b4eb5b88a9b7eafefd7e4443a1aab86e4 | [log] [tgz] |
---|---|---|
author | Vic Yang <victoryang@google.com> | Wed Jan 09 12:38:24 2019 -0800 |
committer | Vic Yang <victoryang@google.com> | Tue Feb 12 20:28:38 2019 -0800 |
tree | f0ca5c3eb6aea83438290be20a5932dfedc68202 | |
parent | c7b5c4fa6b6f50c8ac14852275141483686895f9 [diff] |
libvndksupport: Add android_is_in_vendor_process() In preparation for cleaning up conditionally compiled VNDK libraries, we need a function that determines if the current process is running in the system process or the vendor process. Bug: 119423884 Test: Add a dummy VNDK library that prints different string in system vs vendor process. Use the library in different processs and check the output. Change-Id: Ic00927d8eadd2a21fcba9cb64cc93eaadd5bdd2d