extends nuhidl-gen to optionally generate an Android.mk makefile that
produces a shared-library module exporting the necessary header, stub and
proxy code for the packages specified.
diff --git a/FQName.cpp b/FQName.cpp
index f6b9a35..45e3ad4 100644
--- a/FQName.cpp
+++ b/FQName.cpp
@@ -127,6 +127,10 @@
return string() < other.string();
}
+bool FQName::operator==(const FQName &other) const {
+ return string() == other.string();
+}
+
static void SplitString(
const std::string &s, char c, std::vector<std::string> *components) {
components->clear();
@@ -143,7 +147,8 @@
}
}
-static std::string JoinStrings(
+// static
+std::string FQName::JoinStrings(
const std::vector<std::string> &components,
const std::string &separator) {
std::string out;