1//######################################################################## 2// OpenGL ES Perf App 3// This makefile builds both an activity and a shared library. 4//######################################################################## 5package { 6 // See: http://go/android-license-faq 7 // A large-scale-change added 'default_applicable_licenses' to import 8 // all of the 'license_kinds' from "frameworks_native_license" 9 // to get the below license kinds: 10 // SPDX-license-identifier-Apache-2.0 11 default_applicable_licenses: ["frameworks_native_license"], 12} 13 14android_app { 15 name: "GLPerf", 16 srcs: ["**/*.java"], 17 jni_libs: ["libglperf"], 18 // Run on Eclair 19 sdk_version: "7", 20} 21 22// Build JNI Shared Library 23cc_library_shared { 24 name: "libglperf", 25 cflags: [ 26 "-Werror", 27 "-Wno-error=unused-parameter", 28 ], 29 header_libs: ["jni_headers"], 30 srcs: ["jni/gl_code.cpp"], 31 shared_libs: [ 32 "liblog", 33 "libEGL", 34 "libGLESv2", 35 ], 36 sdk_version: "current", 37} 38