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