summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-02-13 20:02:50 -0800
committerPirama Arumuga Nainar <pirama@google.com>2015-03-03 16:01:09 -0800
commitaa6757ffc1b23d771566439c3179fdbc1e5ba569 (patch)
tree044aca6fe98f7f091fb24c9d1d02ce7a4cca8e10 /cpp/RenderScript.cpp
parent405710bfdbb988764fe1dd65ac13352b8858848c (diff)
Add build fingerprint and ensure match on .so load
bug 19216507 If ro.debuggable system property is set, - Compute the Adler32 checksum of bitcode, compiler arguments, bcc, libclcore files. - On shared object load, check that there is an embedded checksum value in .rs.info and it matches the value computed in the previous step. The .so is not loaded if the checksums don't match. - If invoking bcc, pass the checksum as an argument. If ro.debuggable is not set, a constant checksum is added to .rs.info. But it is never checked. Change-Id: I0a9d16b34148b748daf744007a8515511714a5a5
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions