summaryrefslogtreecommitdiff
path: root/libs/rs/RenderScript.h
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2011-01-28 09:31:47 -0800
committer Alex Sakhartchouk <alexst@google.com> 2011-01-31 12:38:34 -0800
commita3b5960f6f28a81cd63abd69adcdfb5dcc05aa30 (patch)
treeced261c0c614263d9f8acb5bdc483324f6b25311 /libs/rs/RenderScript.h
parentbd07f8e864120c183d6ef6dded1fb286a004b2a5 (diff)
Making sure we can build libRS on the host for serialization.
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
Diffstat (limited to 'libs/rs/RenderScript.h')
-rw-r--r--libs/rs/RenderScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h
index f160ef1a7b40..882a0b0777bb 100644
--- a/libs/rs/RenderScript.h
+++ b/libs/rs/RenderScript.h
@@ -365,6 +365,9 @@ RsAllocation rsaAllocationCreateFromBitmap(RsContext con, RsType vtype,
RsAllocation rsaAllocationCubeCreateFromBitmap(RsContext con, RsType vtype,
RsAllocationMipmapControl mips,
const void *data, uint32_t usages);
+#ifdef ANDROID_RS_BUILD_FOR_HOST
+#define NO_RS_FUNCS
+#endif
#ifndef NO_RS_FUNCS
#include "rsgApiFuncDecl.h"