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"], |
John Reck | 38bc8a8 | 2024-02-21 17:08:27 -0500 | [diff] [blame] | 8 | default_team: "trendy_team_android_core_graphics_stack", |
Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | cc_defaults { |
| 12 | name: "libsurfaceflinger_common_defaults", |
| 13 | defaults: [ |
| 14 | "android.hardware.graphics.composer3-ndk_shared", |
| 15 | "surfaceflinger_defaults", |
| 16 | ], |
| 17 | shared_libs: [ |
| 18 | "libSurfaceFlingerProp", |
| 19 | "server_configurable_flags", |
Dennis Shen | 247dda2 | 2024-06-07 21:06:40 +0000 | [diff] [blame] | 20 | "libaconfig_storage_read_api_cc", |
Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [diff] [blame] | 21 | ], |
| 22 | static_libs: [ |
Leon Scroggins III | 10c6293 | 2024-02-01 15:35:19 -0500 | [diff] [blame] | 23 | "librenderengine_includes", |
Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [diff] [blame] | 24 | ], |
| 25 | srcs: [ |
| 26 | "FlagManager.cpp", |
| 27 | ], |
| 28 | local_include_dirs: ["include"], |
| 29 | export_include_dirs: ["include"], |
| 30 | } |
| 31 | |
| 32 | cc_library_static { |
| 33 | name: "libsurfaceflinger_common", |
| 34 | defaults: [ |
| 35 | "libsurfaceflinger_common_defaults", |
| 36 | ], |
| 37 | static_libs: [ |
| 38 | "libsurfaceflingerflags", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 39 | "android.os.flags-aconfig-cc", |
Ady Abraham | 354ccde | 2024-03-21 10:40:28 -0700 | [diff] [blame] | 40 | "android.server.display.flags-aconfig-cc", |
Ady Abraham | 1d0cae9 | 2024-06-14 13:41:12 -0700 | [diff] [blame] | 41 | "libguiflags_no_apex", |
Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [diff] [blame] | 42 | ], |
| 43 | } |
| 44 | |
| 45 | cc_library_static { |
| 46 | name: "libsurfaceflinger_common_test", |
| 47 | defaults: [ |
| 48 | "libsurfaceflinger_common_defaults", |
| 49 | ], |
| 50 | static_libs: [ |
| 51 | "libsurfaceflingerflags_test", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 52 | "android.os.flags-aconfig-cc-test", |
Ady Abraham | 354ccde | 2024-03-21 10:40:28 -0700 | [diff] [blame] | 53 | "android.server.display.flags-aconfig-cc", |
Ady Abraham | 1d0cae9 | 2024-06-14 13:41:12 -0700 | [diff] [blame] | 54 | "libguiflags_no_apex", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 55 | ], |
| 56 | } |
| 57 | |
| 58 | cc_defaults { |
| 59 | name: "libsurfaceflinger_common_deps", |
| 60 | shared_libs: [ |
| 61 | "server_configurable_flags", |
Dennis Shen | 247dda2 | 2024-06-07 21:06:40 +0000 | [diff] [blame] | 62 | "libaconfig_storage_read_api_cc", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 63 | ], |
| 64 | static_libs: [ |
| 65 | "libsurfaceflinger_common", |
| 66 | "libsurfaceflingerflags", |
| 67 | "android.os.flags-aconfig-cc", |
Ady Abraham | 354ccde | 2024-03-21 10:40:28 -0700 | [diff] [blame] | 68 | "android.server.display.flags-aconfig-cc", |
Ady Abraham | 1d0cae9 | 2024-06-14 13:41:12 -0700 | [diff] [blame] | 69 | "libguiflags_no_apex", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 70 | ], |
| 71 | } |
| 72 | |
| 73 | cc_defaults { |
| 74 | name: "libsurfaceflinger_common_test_deps", |
| 75 | shared_libs: [ |
| 76 | "server_configurable_flags", |
Dennis Shen | 247dda2 | 2024-06-07 21:06:40 +0000 | [diff] [blame] | 77 | "libaconfig_storage_read_api_cc", |
Matt Buckley | ffc31d1 | 2024-02-28 16:51:28 +0000 | [diff] [blame] | 78 | ], |
| 79 | static_libs: [ |
| 80 | "libsurfaceflinger_common_test", |
| 81 | "libsurfaceflingerflags_test", |
| 82 | "android.os.flags-aconfig-cc-test", |
Ady Abraham | 354ccde | 2024-03-21 10:40:28 -0700 | [diff] [blame] | 83 | "android.server.display.flags-aconfig-cc", |
Ady Abraham | 1d0cae9 | 2024-06-14 13:41:12 -0700 | [diff] [blame] | 84 | "libguiflags_no_apex", |
Alec Mouri | 9b133ca | 2023-11-14 19:00:01 +0000 | [diff] [blame] | 85 | ], |
| 86 | } |