summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeston Carvalho <westoncarvalho@google.com>2024-02-29 20:57:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-29 20:57:32 +0000
commit59327021b74188d67bab46aabcfeae2642174b94 (patch)
treef3aa3bb16486e9f0c4f28abf33fc8e9f31425a56
parentaa310888d73bdf0cdd0c734b00656493f3af43ac (diff)
parent890788f7e08bd696aa924fc5e12c8e0c68e22b0d (diff)
downloadlib-59327021b74188d67bab46aabcfeae2642174b94.tar.gz
make: Add rules for Secure Storage AIDL am: 890788f7e0
Original change: https://android-review.googlesource.com/c/trusty/lib/+/2756731 Change-Id: I2143d04b32cc41ca88e7d3a8c9b88843d43a1991 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--interface/secure_storage/cpp/include/interface/storage/storage_aidl/ports.h18
-rw-r--r--interface/secure_storage/cpp/rules.mk48
2 files changed, 66 insertions, 0 deletions
diff --git a/interface/secure_storage/cpp/include/interface/storage/storage_aidl/ports.h b/interface/secure_storage/cpp/include/interface/storage/storage_aidl/ports.h
new file mode 100644
index 0000000..061be7e
--- /dev/null
+++ b/interface/secure_storage/cpp/include/interface/storage/storage_aidl/ports.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2024 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#pragma once
+
+#define STORAGE_ISECURE_STORAGE_PORT "com.android.hardware.security.see.storage"
diff --git a/interface/secure_storage/cpp/rules.mk b/interface/secure_storage/cpp/rules.mk
new file mode 100644
index 0000000..8884343
--- /dev/null
+++ b/interface/secure_storage/cpp/rules.mk
@@ -0,0 +1,48 @@
+# Copyright (C) 2023 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+AIDL_DIR := \
+ hardware/interfaces/staging/security/see/storage/aidl
+
+MODULE := $(LOCAL_DIR)
+
+MODULE_AIDL_FLAGS :=
+
+MODULE_AIDL_LANGUAGE := cpp
+
+MODULE_AIDL_PACKAGE := android/hardware/security/see/storage
+
+MODULE_AIDLS := \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/CreationMode.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/DeleteOptions.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/FileAvailability.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/FileIntegrity.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/FileMode.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/FileProperties.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/IDir.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/IFile.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/ISecureStorage.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/IStorageSession.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/OpenOptions.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/ReadIntegrity.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/RenameOptions.aidl \
+ $(AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/Tamper.aidl \
+
+MODULE_EXPORT_INCLUDES := \
+ $(LOCAL_DIR)/include \
+
+include make/aidl.mk