| Sasha Smundak | 6a6bdad | 2019-01-24 23:20:47 -0800 | [diff] [blame] | 1 | //######################################################################## | 
 | 2 | // OpenGL ES Perf App | 
 | 3 | // This makefile builds both an activity and a shared library. | 
 | 4 | //######################################################################## | 
| Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 5 | package { | 
 | 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 |  | 
| Sasha Smundak | 6a6bdad | 2019-01-24 23:20:47 -0800 | [diff] [blame] | 14 | android_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 | 
 | 23 | cc_library_shared { | 
 | 24 |     name: "libglperf", | 
 | 25 |     cflags: [ | 
 | 26 |         "-Werror", | 
 | 27 |         "-Wno-error=unused-parameter", | 
 | 28 |     ], | 
| Orion Hodson | 7c73c0e | 2020-04-11 21:17:05 +0100 | [diff] [blame] | 29 |     header_libs: ["jni_headers"], | 
| Sasha Smundak | 6a6bdad | 2019-01-24 23:20:47 -0800 | [diff] [blame] | 30 |     srcs: ["jni/gl_code.cpp"], | 
 | 31 |     shared_libs: [ | 
 | 32 |         "liblog", | 
 | 33 |         "libEGL", | 
 | 34 |         "libGLESv2", | 
 | 35 |     ], | 
 | 36 |     sdk_version: "current", | 
 | 37 | } |