1//########################################################################
2// OpenGL ES Perf App
3// This makefile builds both an activity and a shared library.
4//########################################################################
5android_app {
6    name: "GLPerf",
7    srcs: ["**/*.java"],
8    jni_libs: ["libglperf"],
9    // Run on Eclair
10    sdk_version: "7",
11}
12
13// Build JNI Shared Library
14cc_library_shared {
15    name: "libglperf",
16    cflags: [
17        "-Werror",
18        "-Wno-error=unused-parameter",
19    ],
20    srcs: ["jni/gl_code.cpp"],
21    shared_libs: [
22        "liblog",
23        "libEGL",
24        "libGLESv2",
25    ],
26    sdk_version: "current",
27}
28