简体   繁体   中英

How to generate RenderScript ScriptC* files with Android.mk?

I have the following project structure

/-src/mypackage/myscript.rs
|              |MyClass.java
/Android.mk

How to write proper Android.mk file to build this project (or just to generate renderscript ScriptC* files)?

您应该能够将.rs文件添加到LOCAL_SRC_FILES。

如果您使用的是AOSP风格的Android.mk平台版本,您可以执行以下操作:

LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM