summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-01-24 18:58:17 -0800
committerMiao Wang <miaowang@google.com>2017-02-17 23:34:01 -0800
commit2570c1206a00ef73f312ccb0df4898b873da414d (patch)
tree605503d3daf1a7570bd42988e2fab6835e7a61e3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent04215148cf3282f13c32495eb928fa27d898d876 (diff)
Update RenderScript JNI code for Treble
- Include rsApiStubs.h instead of rs.h, and remove unused dependencies for rs.h in Android.mk. - Remove libRSDriver.so from LOCAL_REQUIRED_MODULE, since it is not required nor directly used by librs_jni.so. - Fix the discrepancy in ElementGetNativeData and ElementGetSubElements, respective to NDK APIs exposed in libRS.so. rsApiStubs.h contains all public RenderScript APIs exposed in libRS.so. It fixes the mismatch of the declarations and definitions of the two functions mentioned above. And it does not rely on the auto generated header (rsgApiFuncDecl.h) anymore. Bug: 34396220 Test: mm Change-Id: Iedb1b976cfa9033dccefe78cbe80c8022f990e53
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions