From 9f1f586f805f4510b2518b98b2bfbee0abbcc016 Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Tue, 1 Feb 2011 04:06:55 -0800 Subject: Use bccLinkFile instead of bccLinkBC. Remove hacking. Change-Id: I0ffea89553e3229ee5a3262846462298fc0f5dea --- libs/rs/rsScriptC.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libs/rs/rsScriptC.cpp') diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index fc673a2d517b..445a4e4edeee 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; } -- cgit v1.2.3-59-g8ed1b