Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_native_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_native_license"], |
| 8 | } |
| 9 | |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 10 | cc_test { |
| 11 | |
| 12 | name: "EGL_test", |
Cody Northrop | 2a66e54 | 2022-12-19 15:32:11 -0700 | [diff] [blame] | 13 | test_suites: ["general-tests"], |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 14 | |
| 15 | srcs: [ |
| 16 | "egl_cache_test.cpp", |
| 17 | "EGL_test.cpp", |
| 18 | ], |
| 19 | |
Chih-Hung Hsieh | 7e9cd8e | 2017-11-14 15:08:56 -0800 | [diff] [blame] | 20 | cflags: [ |
| 21 | "-Wall", |
| 22 | "-Werror", |
| 23 | ], |
| 24 | |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 25 | shared_libs: [ |
| 26 | "android.hardware.configstore@1.0", |
| 27 | "android.hardware.configstore-utils", |
| 28 | "libEGL", |
| 29 | "libbase", |
| 30 | "libcutils", |
| 31 | "libbinder", |
| 32 | "libgui", |
| 33 | "libhidlbase", |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 34 | "liblog", |
| 35 | "libutils", |
Weiwan Liu | 3ca9297 | 2018-09-28 15:44:12 -0700 | [diff] [blame] | 36 | "libnativewindow", |
Sundong Ahn | 204fb1f | 2020-04-23 21:56:36 +0900 | [diff] [blame] | 37 | "libSurfaceFlingerProp", |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 38 | ], |
| 39 | |
Tom Murphy | a174296 | 2024-04-28 13:09:04 +0000 | [diff] [blame^] | 40 | static_libs: [ |
| 41 | "libgmock", |
| 42 | "libgtest", |
| 43 | ], |
| 44 | |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 45 | include_dirs: [ |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 46 | "frameworks/native/opengl/libs", |
| 47 | "frameworks/native/opengl/libs/EGL", |
| 48 | ], |
| 49 | |
Christopher Ferris | ddd1d6b | 2019-09-26 08:27:25 -0700 | [diff] [blame] | 50 | header_libs: [ |
| 51 | "bionic_libc_platform_headers", |
Sundong Ahn | 204fb1f | 2020-04-23 21:56:36 +0900 | [diff] [blame] | 52 | "libsurfaceflinger_headers", |
Christopher Ferris | ddd1d6b | 2019-09-26 08:27:25 -0700 | [diff] [blame] | 53 | ], |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 54 | } |