Fix CTS VLoadTest failures under debug context.
Failures were of the form
dlopen failed: cannot locate symbol "rsOffsetNs"
when loading a compiled script. The problem is that the rsOffsetNs()
function is needed by all versions of libclcore (ordinary, _debug, and
_g) but was not being defined for _debug. The fix is to define it
unconditionally.
Test: aosp_x86_64-eng (emulator)
1) cts -t android.renderscript.cts.VLoadTest with debug.rs.debug 1
no more "Unable to open" errors but instead runtime failures
2) cts -m RenderscriptTest
clean
Bug: 37955136
Change-Id: I055e7645237cb77505e39fb1693adffe6eb99ecb
(cherry picked from commit 2eb797d9c2baa32597f973c026bfffc96cc8cfef)
1 file changed