123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- cc_defaults {
- name: "libhidl-defaults",
- cflags: [
- "-Wall",
- "-Wdocumentation",
- "-Werror",
- "-Wextra-semi",
- ],
- }
- cc_test {
- name: "libhidl_test",
- defaults: ["libhidl-defaults"],
- gtest: false,
- srcs: ["test_main.cpp"],
- test_suites: ["device-tests"],
- shared_libs: [
- "android.hidl.memory@1.0",
- "libbase",
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "liblog",
- "libutils",
- "libcutils",
- ],
- static_libs: ["libgtest", "libgmock"],
- cflags: [
- "-O0",
- "-g",
- ],
- }
- cc_defaults {
- name: "libhidlbase-combined-impl",
- defaults: [
- "libhwbinder-impl-shared-libs",
- "libhidlbase-impl-shared-libs",
- "libhidltransport-impl-shared-libs",
- ],
- whole_static_libs: [
- "libhidlbase-impl-internal",
- "libhidltransport-impl-internal",
- ],
- }
- cc_library {
- name: "libhidlbase",
- defaults: ["libhidlbase-combined-impl"],
- recovery_available: true,
- vendor_available: true,
- vndk: {
- enabled: true,
- support_system_process: true,
- },
- whole_static_libs: [
- "libhwbinder-impl-internal",
- ],
- }
- cc_library {
- name: "libhidlbase_pgo",
- defaults: [
- "libhidlbase-combined-impl",
- "hwbinder_benchmark_pgo",
- ],
- whole_static_libs: [
- "libhwbinder_pgo-impl-internal",
- ],
- }
- cc_library {
- name: "libhidltransport",
- recovery_available: true,
- vendor_available: true,
- vndk: {
- enabled: true,
- support_system_process: true,
- },
- }
|