xref: /aosp_15_r20/frameworks/native/services/surfaceflinger/layerproto/Android.bp (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1package {
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    default_team: "trendy_team_android_core_graphics_stack",
9}
10
11cc_defaults {
12    name: "libsurfaceflinger_proto_deps",
13    export_include_dirs: ["include"],
14    static_libs: [
15        "libperfetto_client_experimental",
16    ],
17
18    whole_static_libs: [
19        // TODO(b/169779783): move  into "static_libs" when the soong issue is fixed
20        "perfetto_trace_protos",
21    ],
22
23    export_static_lib_headers: [
24        "libperfetto_client_experimental",
25        "perfetto_trace_protos",
26    ],
27
28    shared_libs: [
29        "libprotobuf-cpp-lite",
30    ],
31
32    header_libs: [
33        "libsurfaceflinger_proto_headers",
34    ],
35}
36
37cc_library_headers {
38    name: "libsurfaceflinger_proto_headers",
39    export_include_dirs: ["include"],
40}
41