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"], |
John Reck | 38bc8a8 | 2024-02-21 17:08:27 -0500 | [diff] [blame^] | 8 | default_team: "trendy_team_android_core_graphics_stack", |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 9 | } |
| 10 | |
Vishnu Nair | df6a4f6 | 2020-11-11 20:25:34 -0800 | [diff] [blame] | 11 | cc_library { |
| 12 | name: "liblayers_proto", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 13 | export_include_dirs: ["include"], |
| 14 | |
| 15 | srcs: [ |
| 16 | "LayerProtoParser.cpp", |
Kean Mariotti | 4ba343c | 2023-04-19 13:31:02 +0000 | [diff] [blame] | 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", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 31 | ], |
| 32 | |
| 33 | shared_libs: [ |
Peiyong Lin | a52f029 | 2018-03-14 17:26:31 -0700 | [diff] [blame] | 34 | "android.hardware.graphics.common@1.1", |
Evan Rosky | 1f6d6d5 | 2018-12-06 10:47:26 -0800 | [diff] [blame] | 35 | "libgui", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 36 | "libui", |
| 37 | "libprotobuf-cpp-lite", |
| 38 | "libbase", |
| 39 | ], |
| 40 | |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 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 | ], |
Vishnu Nair | 3242d5f | 2020-10-06 10:48:32 -0700 | [diff] [blame] | 54 | } |