| Sasha Smundak | 6a6bdad | 2019-01-24 23:20:47 -0800 | [diff] [blame] | 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 | ], | 
| Orion Hodson | 7c73c0e | 2020-04-11 21:17:05 +0100 | [diff] [blame] | 22 | header_libs: ["jni_headers"], | 
| Sasha Smundak | 6a6bdad | 2019-01-24 23:20:47 -0800 | [diff] [blame] | 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 | } |