Lines Matching refs:AidlBackend
172 static void emitAidlSharedLibs(Formatter& out, FQName fqName, AidlBackend backend) { in emitAidlSharedLibs()
173 if (backend == AidlBackend::NDK) { in emitAidlSharedLibs()
177 } else if (backend == AidlBackend::CPP) { in emitAidlSharedLibs()
187 static void emitHidlSharedLibs(Formatter& out, std::vector<FQName>& targets, AidlBackend backend) { in emitHidlSharedLibs()
190 if (backend == AidlBackend::JAVA) { in emitHidlSharedLibs()
204 static std::string aidlTranslateLibraryName(FQName fqName, AidlBackend backend) { in aidlTranslateLibraryName()
206 if (backend == AidlBackend::NDK) { in aidlTranslateLibraryName()
208 } else if (backend == AidlBackend::CPP) { in aidlTranslateLibraryName()
244 for (auto backend : {AidlBackend::CPP, AidlBackend::NDK}) { in emitBuildFile()
247 if (backend == AidlBackend::NDK) { in emitBuildFile()
260 out << " name: \"" << aidlTranslateLibraryName(fqName, AidlBackend::JAVA) << +"\",\n"; in emitBuildFile()
261 out << " srcs: [\"" << AidlHelper::translateSourceFile(fqName, AidlBackend::JAVA) + "\"],\n"; in emitBuildFile()
263 emitAidlSharedLibs(out, fqName, AidlBackend::JAVA); in emitBuildFile()
264 emitHidlSharedLibs(out, targets, AidlBackend::JAVA); in emitBuildFile()