mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Add libui requirements"
This commit is contained in:
@@ -33,6 +33,13 @@ cc_library_headers {
|
||||
export_header_lib_headers: [
|
||||
"libarect_headers",
|
||||
],
|
||||
// TODO(b/214400477) Remove apex_available
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.media.swcodec",
|
||||
"test_com.android.media.swcodec",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
@@ -66,6 +73,13 @@ cc_library_headers {
|
||||
"libbase_headers",
|
||||
"libimapper_stablec",
|
||||
],
|
||||
// TODO(b/214400477) Remove apex_available
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.media.swcodec",
|
||||
"test_com.android.media.swcodec",
|
||||
],
|
||||
min_sdk_version: "29",
|
||||
}
|
||||
|
||||
cc_test {
|
||||
|
||||
@@ -566,6 +566,8 @@ DEFINE_TYPE(SMPTE2094_40, std::optional<std::vector<uint8_t>>);
|
||||
|
||||
#undef DEFINE_TYPE
|
||||
|
||||
#if defined(__cplusplus) && __cplusplus >= 202002L
|
||||
|
||||
template <typename F, std::size_t... I>
|
||||
void invokeWithStandardMetadata(F&& f, StandardMetadataType type, std::index_sequence<I...>) {
|
||||
// Setup the jump table, mapping from each type to a springboard that invokes the template
|
||||
@@ -620,4 +622,6 @@ AIMapper_Error applyStandardMetadata(StandardMetadataType type, const void* _Non
|
||||
return retVal;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace android::hardware::graphics::mapper
|
||||
Reference in New Issue
Block a user