diff options
author | Shih-wei Liao <sliao@google.com> | 2011-02-01 04:06:55 -0800 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2011-02-01 04:06:55 -0800 |
commit | 9f1f586f805f4510b2518b98b2bfbee0abbcc016 (patch) | |
tree | cce54c25fbc2fb5e8d0ec4757b9431672ab6fadd | |
parent | 11ac436f70fb287208d732d86b3eff1193a49995 (diff) | |
download | frameworks_base-9f1f586f805f4510b2518b98b2bfbee0abbcc016.zip frameworks_base-9f1f586f805f4510b2518b98b2bfbee0abbcc016.tar.gz frameworks_base-9f1f586f805f4510b2518b98b2bfbee0abbcc016.tar.bz2 |
Use bccLinkFile instead of bccLinkBC. Remove hacking.
Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea
-rw-r--r-- | libs/rs/rsScriptC.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index fc673a2..445a4e4 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -485,12 +485,7 @@ bool ScriptCState::runCompiler(Context *rsc, } #if 1 - if (bccLinkBC(s->mBccScript, - resName, - NULL /*rs_runtime_lib_bc*/, - 1 /*rs_runtime_lib_bc_size*/ - /*"1" means skip buffer here, and let libbcc decide*/, - 0) != 0) { + if (bccLinkFile(s->mBccScript, "/system/lib/libclcore.bc", 0) != 0) { LOGE("bcc: FAILS to link bitcode"); return false; } |