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"], |
| 8 | } |
| 9 | |
Vishnu Nair | df6a4f6 | 2020-11-11 20:25:34 -0800 | [diff] [blame] | 10 | cc_library { |
| 11 | name: "liblayers_proto", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 12 | export_include_dirs: ["include"], |
| 13 | |
| 14 | srcs: [ |
| 15 | "LayerProtoParser.cpp", |
Kean Mariotti | 4ba343c | 2023-04-19 13:31:02 +0000 | [diff] [blame] | 16 | ], |
| 17 | |
| 18 | static_libs: [ |
| 19 | "libperfetto_client_experimental", |
| 20 | ], |
| 21 | |
| 22 | whole_static_libs: [ |
| 23 | // TODO(b/169779783): move into "static_libs" when the soong issue is fixed |
| 24 | "perfetto_trace_protos", |
| 25 | ], |
| 26 | |
| 27 | export_static_lib_headers: [ |
| 28 | "libperfetto_client_experimental", |
| 29 | "perfetto_trace_protos", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
Peiyong Lin | a52f029 | 2018-03-14 17:26:31 -0700 | [diff] [blame] | 33 | "android.hardware.graphics.common@1.1", |
Evan Rosky | 1f6d6d5 | 2018-12-06 10:47:26 -0800 | [diff] [blame] | 34 | "libgui", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 35 | "libui", |
| 36 | "libprotobuf-cpp-lite", |
| 37 | "libbase", |
| 38 | ], |
| 39 | |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 40 | cppflags: [ |
| 41 | "-Werror", |
| 42 | "-Wno-unused-parameter", |
| 43 | "-Wno-format", |
| 44 | "-Wno-c++98-compat-pedantic", |
| 45 | "-Wno-float-conversion", |
| 46 | "-Wno-disabled-macro-expansion", |
| 47 | "-Wno-float-equal", |
| 48 | "-Wno-sign-conversion", |
| 49 | "-Wno-padded", |
| 50 | "-Wno-old-style-cast", |
| 51 | "-Wno-undef", |
| 52 | ], |
Vishnu Nair | 3242d5f | 2020-10-06 10:48:32 -0700 | [diff] [blame] | 53 | } |