| cc_defaults { |
| name: "VtsHalLibDefaults", |
| shared_libs: [ |
| "libbase", |
| "libcutils", |
| "liblog", |
| "libhidlbase", |
| "libutils", |
| ], |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| ], |
| group_static_libs: true, |
| } |
| |
| cc_defaults { |
| name: "VtsHalDriverDefaults", |
| defaults: ["VtsHalLibDefaults"], |
| shared_libs: [ |
| "libcamera_metadata", |
| "libfmq", |
| "libprotobuf-cpp-full", |
| "libvts_common", |
| "libvts_datatype", |
| "libvts_drivercomm", |
| "libvts_measurement", |
| "libvts_multidevice_proto", |
| "android.hidl.allocator@1.0", |
| ], |
| } |
| |
| cc_defaults { |
| name: "VtsHalProfilerDefaults", |
| defaults: ["VtsHalLibDefaults"], |
| shared_libs: [ |
| "libfmq", |
| "libhidlmemory", |
| "libvts_profiling", |
| "libvts_multidevice_proto", |
| "libprotobuf-cpp-full", |
| "android.hidl.memory@1.0", |
| ], |
| // Userdebug only, should not be used to build modules contained in a user build device image. |
| multilib: { |
| lib32: { |
| ldflags: ["-Wl,--rpath,/data/local/tmp/32"] |
| }, |
| lib64: { |
| ldflags: ["-Wl,--rpath,/data/local/tmp/64"] |
| }, |
| }, |
| } |