summaryrefslogtreecommitdiff
path: root/rsScriptC.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-02-27 15:19:36 -0800
committerMiao Wang <miaowang@google.com>2017-02-28 11:43:56 -0800
commit62237219e567b9f972c86e7ca4e96f9b3d5ad4de (patch)
tree0129fbc391e0ef1924b6d770d284cf4f47a8953a /rsScriptC.cpp
parent86323805421a64c09d49e26a7c70bc8714dfd6a4 (diff)
downloadrs-62237219e567b9f972c86e7ca4e96f9b3d5ad4de.tar.gz
Remove RS_SERVER macros and references to unused headers.
- The RS_SERVER macros were intended to have a version of RenderScript running on the desktop. It has not fully worked for a very long time. Bug: 35473587 Test: build and CTS tests pass Change-Id: I0da3fc9d4601951442384d05f9dbecaeddeff8cc
Diffstat (limited to 'rsScriptC.cpp')
-rw-r--r--rsScriptC.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp
index 70da6510..628d063e 100644
--- a/rsScriptC.cpp
+++ b/rsScriptC.cpp
@@ -22,11 +22,6 @@
#include <bcinfo/BitcodeWrapper.h>
#endif
-#if !defined(RS_SERVER) && !defined(RS_COMPATIBILITY_LIB)
-#include "utils/Timers.h"
-#include "cutils/trace.h"
-#endif
-
#include <sys/stat.h>
#include <sstream>
@@ -117,10 +112,8 @@ bool ScriptC::createCacheDir(const char *cacheDir) {
#endif
void ScriptC::setupScript(Context *rsc) {
-#ifndef RS_SERVER
mEnviroment.mStartTimeMillis
= nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC));
-#endif
for (uint32_t ct=0; ct < mHal.info.exportedVariableCount; ct++) {
if (mSlots[ct].get() && !mTypes[ct].get()) {