Added -Lmakefile-impl.
This generates a makefile for the code that is generated using
-Lc++-impl. (example, makes the shared library
android.hardware.tests.foo@1.0.impl)
make hidl-gen -j64
hidl-gen -o system/tools/hidl/fooimpl/ -Lc++-impl -randroid.hardware:hardware/interfaces android.hardware.tests.foo@1.0
hidl-gen -o system/tools/hidl/fooimpl/ -Lmakefile-impl -randroid.hardware:hardware/interfaces android.hardware.tests.foo@1.0
make android.hardware.tests.foo@1.0.impl -j64
b/31055568
Change-Id: I57fccf3da07d6b22b9ca4a9f1783294d1848ca7e
diff --git a/FQName.h b/FQName.h
index b893bd7..c71da9e 100644
--- a/FQName.h
+++ b/FQName.h
@@ -77,6 +77,11 @@
bool operator<(const FQName &other) const;
bool operator==(const FQName &other) const;
+ // Must be called on an interface
+ // ::android::hardware::Foo::V1_0::IBar
+ // -> Bar
+ std::string getInterfaceBaseName() const;
+
// the following comments all assume that the FQName
// is ::android::hardware::Foo::V1_0::IBar::Baz
@@ -119,6 +124,7 @@
std::string getPackageMajorVersion() const;
std::string getPackageMinorVersion() const;
+
private:
bool mValid;
std::string mPackage;