diff options
| author | Stephen Hines <srhines@google.com> | 2013-02-12 19:32:38 -0800 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2013-02-14 13:53:21 -0800 |
| commit | f218bf115af4ae4fd79adbb8842608b308a4cf07 (patch) | |
| tree | c8a4f8613ea61a2735ed450047bf45df4fdda605 /cpu_ref/rsCpuScript.cpp | |
| parent | b206acefa7ef03e02d3e8e161f8a1493329246b3 (diff) | |
Support LinkRuntimeCallback() with RS compiler.
Change-Id: I28ada4e7c462cb9673de6886d934dce855fac339
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index e79a6757..257655ab 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -91,7 +91,8 @@ bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, 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); |
