1//########################################################################
2// OpenGL ES JNI sample
3// This makefile builds both an activity and a shared library.
4//########################################################################
5// Build activity
6
7android_app {
8    name: "GLJNI",
9    srcs: ["**/*.java"],
10    sdk_version: "current",
11    jni_libs: ["libgljni"],
12}
13
14// Build JNI Shared Library
15
16cc_library_shared {
17    name: "libgljni",
18    cflags: [
19        "-Werror",
20        "-Wno-error=unused-parameter",
21    ],
22    header_libs: ["jni_headers"],
23    srcs: ["jni/gl_code.cpp"],
24    shared_libs: [
25        "liblog",
26        "libEGL",
27        "libGLESv1_CM",
28    ],
29    sdk_version: "current",
30    arch: {
31        arm: {
32            instruction_set: "arm",
33        },
34    },
35}
36