commit | 30bf22dfca838e5e17bd7b54d2fe494741168ac6 | [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 | 70d538522fa9039f592cf8863430292d1e461251 [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