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_library { 12 name: "liblayers_proto", 13 export_include_dirs: ["include"], 14 15 srcs: [ 16 "LayerProtoParser.cpp", 17 ], 18 19 static_libs: [ 20 "libperfetto_client_experimental", 21 ], 22 23 whole_static_libs: [ 24 // TODO(b/169779783): move into "static_libs" when the soong issue is fixed 25 "perfetto_trace_protos", 26 ], 27 28 export_static_lib_headers: [ 29 "libperfetto_client_experimental", 30 "perfetto_trace_protos", 31 ], 32 33 shared_libs: [ 34 "android.hardware.graphics.common@1.1", 35 "libgui", 36 "libui", 37 "libprotobuf-cpp-lite", 38 "libbase", 39 ], 40 41 cppflags: [ 42 "-Werror", 43 "-Wno-unused-parameter", 44 "-Wno-format", 45 "-Wno-c++98-compat-pedantic", 46 "-Wno-float-conversion", 47 "-Wno-disabled-macro-expansion", 48 "-Wno-float-equal", 49 "-Wno-sign-conversion", 50 "-Wno-padded", 51 "-Wno-old-style-cast", 52 "-Wno-undef", 53 ], 54} 55