Allow CPP<->legacy and NDK<->legacy to coexist in the same module
Introduce BACKEND_CPP_NDK define for modules that need to use both CPP<->legacy and NDK<->legacy converters, for example, to bridge CPP and NDK types, as in libaudiohal@aidl. Restructure AidlConversion* headers to support this. Also, brush up some headers for better compliance to the style guide. Note that in modules that import both conversion packages, "legacy2aidl" functions need to be called using a fully qualified name to avoid ambiguities since the CPP and NDK backend versions only differ by the return type. Bug: 205884982 Test: m Change-Id: Iec35c73563459cde60a5c0265a0c8d0ef1fc5fbd
Loading
Please register or sign in to comment