Revert "Move trusty reference implementations to /vendor"
The CL is not complete and will cause build break when BOARD_VNDK_VERSION is set.
This reverts commit 7d81b4e08172037674f378ffb6f45ad694c01077.
Change-Id: If9632fb7ee8147c39f1ad0860ddc3bed62ba89db
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 9fe5908..5b5eff4 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -60,11 +60,3 @@
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/vendor)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libtrusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libtrusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/keystore.trusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/keystore.trusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.trusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.trusty.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/storageproxyd.so)
-$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/trusty_keymaster_tipc.so)
diff --git a/trusty/gatekeeper/Android.bp b/trusty/gatekeeper/Android.bp
index 011f4a1..a9566a1 100644
--- a/trusty/gatekeeper/Android.bp
+++ b/trusty/gatekeeper/Android.bp
@@ -22,7 +22,6 @@
cc_library_shared {
name: "gatekeeper.trusty",
- vendor: true,
relative_install_path: "hw",
diff --git a/trusty/keymaster/Android.bp b/trusty/keymaster/Android.bp
index 6dcfb20..6b9d723 100644
--- a/trusty/keymaster/Android.bp
+++ b/trusty/keymaster/Android.bp
@@ -25,7 +25,6 @@
// and ECDSA keys.
cc_binary {
name: "trusty_keymaster_tipc",
- vendor: true,
srcs: [
"trusty_keymaster_device.cpp",
"trusty_keymaster_ipc.cpp",
@@ -46,7 +45,6 @@
// keystore.trusty is the HAL used by keystore on Trusty devices.
cc_library_shared {
name: "keystore.trusty",
- vendor: true,
relative_install_path: "hw",
srcs: [
"module.cpp",
diff --git a/trusty/libtrusty/Android.bp b/trusty/libtrusty/Android.bp
index 88d6240..f316da2 100644
--- a/trusty/libtrusty/Android.bp
+++ b/trusty/libtrusty/Android.bp
@@ -18,7 +18,6 @@
cc_library {
name: "libtrusty",
- vendor: true,
srcs: ["trusty.c"],
export_include_dirs: ["include"],
diff --git a/trusty/storage/proxy/Android.bp b/trusty/storage/proxy/Android.bp
index 4088696..eb34df0 100644
--- a/trusty/storage/proxy/Android.bp
+++ b/trusty/storage/proxy/Android.bp
@@ -16,7 +16,6 @@
cc_binary {
name: "storageproxyd",
- vendor: true,
srcs: [
"ipc.c",