blob: 5bec336dd197d0ae94629a8492e74713cbd0a15e [file] [log] [blame]
//########################################################################
// OpenGL ES JNI sample
// This makefile builds both an activity and a shared library.
//########################################################################
// Build activity
android_app {
name: "GLJNI",
srcs: ["**/*.java"],
sdk_version: "current",
jni_libs: ["libgljni"],
}
// Build JNI Shared Library
cc_library_shared {
name: "libgljni",
cflags: [
"-Werror",
"-Wno-error=unused-parameter",
],
srcs: ["jni/gl_code.cpp"],
shared_libs: [
"liblog",
"libEGL",
"libGLESv1_CM",
],
sdk_version: "current",
arch: {
arm: {
instruction_set: "arm",
},
},
}