summaryrefslogtreecommitdiffstats
path: root/libnativebridge/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Handle code_cache dir creation in libnativebridgeCalin Juravle2014-10-271-3/+3
| | | | | | | | | | | | | | | | | | Also: - add kPreInitiliazed state to native bridge with check transition: kOpened->kPreInitialized->kInitialized - made sure we free the memory for the code_cache_path - tidy up some error messages - tidy up tests - add a dummy native bridge to test with Bug: 18027433 Bug: 18097480 (cherry picked from commit f9d9e2a2d96559c3165405d572b08e260156074a) Change-Id: I9ce578949dbe522d5033465df7ca49fdd3aa3cbf
* LibNativeBridge: Add early init & env setupjgu212014-09-261-2/+2
| | | | | | | | | | | | | | | | Add a method to set up /proc/cpuinfo with enough privileges. Set up the environment for an app in InitializeNativeBridge(). Turn on -Wall for libnativebridge. (cherry picked from commit 962eb40abb68eb60077da158755b6a09c306aa41) (cherry picked from commit ab0da5a9a6860046619629b8e6b83692d35dff86) (cherry picked from commit 2f71cb24fa16c0388591918f1354d1f8608cc6e5) (cherry picked from commit 04054e28e24866d76034236843490829b80df40c) (cherry picked from commit 4390a632366ecf89af5f6c0fed39baf9aab2d0f1) Bug: 17671501 Change-Id: Id4f4127d82737b5e56a77175e1068ff5cea60f9d
* NativeBridge: Refactor for new initialization flowAndreas Gampe2014-09-081-0/+2
| | | | | | | | Setup becomes Load, have explicit Initialize and Unload. (cherry picked from commit 035bd7541ed909344348b6a4e17a7ef01a434653) Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
* NativeBridge: Tighten security on libnativebridgeAndreas Gampe2014-08-211-2/+4
| | | | | | | | | | Do not allow arbitrary paths for the native bridge - only allow simple names. Do not allow re-setup of the native bridge. Bug: 16404669 Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
* Switch libnativebridge to clangCalin Juravle2014-08-151-0/+2
| | | | | | This fixes the mac build. Change-Id: Icaca0e3bb959072633caf6bfad828a429ff71140
* Move native bridge library in system/coreCalin Juravle2014-08-151-0/+34
Bug: 16884833 (cherry picked from commit 961ae12dea419ff0965f00e50dd16ef07181fba5) Change-Id: I67f037ea81d2a4ede4294afd8b84b7640e534a13