Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [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 | |
| 10 | cc_defaults { |
| 11 | name: "libsurfaceflinger_common_defaults", |
| 12 | defaults: [ |
| 13 | "android.hardware.graphics.composer3-ndk_shared", |
| 14 | "surfaceflinger_defaults", |
| 15 | ], |
| 16 | shared_libs: [ |
| 17 | "libSurfaceFlingerProp", |
| 18 | "server_configurable_flags", |
| 19 | ], |
| 20 | static_libs: [ |
| 21 | "librenderengine", |
| 22 | ], |
| 23 | srcs: [ |
| 24 | "FlagManager.cpp", |
| 25 | ], |
| 26 | local_include_dirs: ["include"], |
| 27 | export_include_dirs: ["include"], |
| 28 | } |
| 29 | |
| 30 | cc_library_static { |
| 31 | name: "libsurfaceflinger_common", |
| 32 | defaults: [ |
| 33 | "libsurfaceflinger_common_defaults", |
| 34 | ], |
| 35 | static_libs: [ |
| 36 | "libsurfaceflingerflags", |
| 37 | ], |
| 38 | } |
| 39 | |
| 40 | cc_library_static { |
| 41 | name: "libsurfaceflinger_common_test", |
| 42 | defaults: [ |
| 43 | "libsurfaceflinger_common_defaults", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "libsurfaceflingerflags_test", |
| 47 | ], |
| 48 | } |