| 97 | } |
| 98 | |
| 99 | void cmExportInstallAndroidMKGenerator::GenerateImportTargetCode( |
| 100 | std::ostream& os, cmGeneratorTarget const* target, |
| 101 | cmStateEnums::TargetType /*targetType*/) |
| 102 | { |
| 103 | std::string targetName = cmStrCat(this->Namespace, target->GetExportName()); |
| 104 | os << "include $(CLEAR_VARS)\n"; |
| 105 | os << "LOCAL_MODULE := "; |
| 106 | os << targetName << "\n"; |
| 107 | os << "LOCAL_SRC_FILES := $(_IMPORT_PREFIX)/"; |
| 108 | os << target->Target->GetSafeProperty("__dest") << "/"; |
| 109 | std::string config; |
| 110 | if (!this->Configurations.empty()) { |
| 111 | config = this->Configurations[0]; |
| 112 | } |
| 113 | os << target->GetFullName(config) << "\n"; |
| 114 | } |
no test coverage detected