Support LinkRuntimeCallback() with RS compiler.
Change-Id: I28ada4e7c462cb9673de6886d934dce855fac339
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index e79a675..257655a 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -91,7 +91,8 @@
mCompilerDriver->setRSRuntimeLookupContext(this);
exec = mCompilerDriver->build(*mCompilerContext, cacheDir, resName,
- (const char *)bitcode, bitcodeSize, NULL);
+ (const char *)bitcode, bitcodeSize, NULL,
+ mCtx->getLinkRuntimeCallback());
if (exec == NULL) {
ALOGE("bcc: FAILS to prepare executable for '%s'", resName);