blob: 2f623462cff5a86c8d9ba254bb278919e3cea29b [file] [log] [blame]
Sasha Smundak6a6bdad2019-01-24 23:20:47 -08001//########################################################################
2// OpenGL ES Perf App
3// This makefile builds both an activity and a shared library.
4//########################################################################
Bob Badour3306e492021-02-25 15:35:37 -08005package {
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 Smundak6a6bdad2019-01-24 23:20:47 -080014android_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 ],
Orion Hodson7c73c0e2020-04-11 21:17:05 +010029 header_libs: ["jni_headers"],
Sasha Smundak6a6bdad2019-01-24 23:20:47 -080030 srcs: ["jni/gl_code.cpp"],
31 shared_libs: [
32 "liblog",
33 "libEGL",
34 "libGLESv2",
35 ],
36 sdk_version: "current",
37}