blob: 5bec336dd197d0ae94629a8492e74713cbd0a15e [file] [log] [blame]
Sasha Smundak6a6bdad2019-01-24 23:20:47 -08001//########################################################################
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 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}