diff options
| author | Stephen Hines <srhines@google.com> | 2014-05-14 17:36:42 -0700 |
|---|---|---|
| committer | Stephen Hines <srhines@google.com> | 2014-05-16 15:15:25 -0700 |
| commit | d69b0eb7f8c180b401b45376144ee05af078b13a (patch) | |
| tree | 103b28223bdae3329f11d8cd2f3359a783cb0133 /cpu_ref/rsCpuScript.cpp | |
| parent | 42faa571a51cbfe44499f44dd178214780e26849 (diff) | |
Switch to standalone bcc compilation path (again).
Bug: 7342767
Change-Id: I6d876742cbd4dbbc7fac1d559a7c54da9e118889
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index 3fd1ac6b..70c9d8f8 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -217,8 +217,6 @@ static bool is_force_recompile() { #endif // RS_SERVER } -//#define EXTERNAL_BCC_COMPILER 1 -#ifdef EXTERNAL_BCC_COMPILER const static char *BCC_EXE_PATH = "/system/bin/bcc"; static bool compileBitcode(const char *cacheDir, @@ -311,7 +309,6 @@ static bool compileBitcode(const char *cacheDir, } } } -#endif // EXTERNAL_BCC_COMPILER #endif // !defined(RS_COMPATIBILITY_LIB) #endif @@ -479,16 +476,9 @@ bool RsdCpuScriptImpl::init(char const *resName, char const *cacheDir, } if (exec == NULL) { -#ifdef EXTERNAL_BCC_COMPILER bool built = compileBitcode(cacheDir, resName, (const char *)bitcode, bitcodeSize, core_lib, useRSDebugContext, bccPluginName); -#else - bool built = mCompilerDriver->build(*mCompilerContext, cacheDir, - resName, (const char *)bitcode, - bitcodeSize, core_lib, - mCtx->getLinkRuntimeCallback()); -#endif // EXTERNAL_BCC_COMPILER if (built) { exec = mCompilerDriver->loadScript(cacheDir, resName, (const char *)bitcode, |
