Move hidl hash into its own lib.
This is required to make it simple for VTS tests to make use of this
library.
Note: also moved host only libs to be host only in the build system
Test: adding things to frozen interfaces breaks the build
Test: hidl-gen compiles android.hardware.nfc@1.0 hal
Bug: 34178341
Merged-In: I763c7ed7fd40dd2d4c7897512f5cd7e6bfc48935
Change-Id: I763c7ed7fd40dd2d4c7897512f5cd7e6bfc48935
diff --git a/Interface.cpp b/Interface.cpp
index 99c13e1..c592bb4 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -20,7 +20,6 @@
#include "ArrayType.h"
#include "ConstantExpression.h"
#include "DeathRecipientType.h"
-#include "Hash.h"
#include "Method.h"
#include "ScalarType.h"
#include "StringType.h"
@@ -32,6 +31,7 @@
#include <sstream>
#include <android-base/logging.h>
+#include <hidl-hash/Hash.h>
#include <hidl-util/Formatter.h>
#include <hidl-util/StringHelper.h>