From 910ecf4ffa1f1e696ba7c7fcf1d8f117e611f0bf Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Wed, 12 Jul 2023 14:50:20 -0600 Subject: [PATCH] sepolicy: thermal: reorganize the source to folder Reorganize the dump thermal script source and sepolicy to its own folder. This is done as a part of moving all thermal product makefiles to gs-common. Bug: 289146743 Test: Compilation and bootup test Change-Id: Ie9162b401c9bed57c3d2e2648edc17457ad8883e Signed-off-by: Ram Chandrasekar --- thermal/{ => dump}/Android.bp | 0 thermal/{ => dump}/dump_thermal.sh | 0 thermal/dump/thermal.mk | 3 +++ thermal/sepolicy/{ => dump}/dump_thermal.te | 0 thermal/sepolicy/{ => dump}/file_contexts | 0 thermal/sepolicy/{ => dump}/genfs_contexts | 0 thermal/thermal.mk | 4 ++-- 7 files changed, 5 insertions(+), 2 deletions(-) rename thermal/{ => dump}/Android.bp (100%) rename thermal/{ => dump}/dump_thermal.sh (100%) create mode 100644 thermal/dump/thermal.mk rename thermal/sepolicy/{ => dump}/dump_thermal.te (100%) rename thermal/sepolicy/{ => dump}/file_contexts (100%) rename thermal/sepolicy/{ => dump}/genfs_contexts (100%) diff --git a/thermal/Android.bp b/thermal/dump/Android.bp similarity index 100% rename from thermal/Android.bp rename to thermal/dump/Android.bp diff --git a/thermal/dump_thermal.sh b/thermal/dump/dump_thermal.sh similarity index 100% rename from thermal/dump_thermal.sh rename to thermal/dump/dump_thermal.sh diff --git a/thermal/dump/thermal.mk b/thermal/dump/thermal.mk new file mode 100644 index 0000000..03b1dfa --- /dev/null +++ b/thermal/dump/thermal.mk @@ -0,0 +1,3 @@ +BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/thermal/sepolicy/dump + +PRODUCT_PACKAGES += dump/dump_thermal.sh diff --git a/thermal/sepolicy/dump_thermal.te b/thermal/sepolicy/dump/dump_thermal.te similarity index 100% rename from thermal/sepolicy/dump_thermal.te rename to thermal/sepolicy/dump/dump_thermal.te diff --git a/thermal/sepolicy/file_contexts b/thermal/sepolicy/dump/file_contexts similarity index 100% rename from thermal/sepolicy/file_contexts rename to thermal/sepolicy/dump/file_contexts diff --git a/thermal/sepolicy/genfs_contexts b/thermal/sepolicy/dump/genfs_contexts similarity index 100% rename from thermal/sepolicy/genfs_contexts rename to thermal/sepolicy/dump/genfs_contexts diff --git a/thermal/thermal.mk b/thermal/thermal.mk index 3b3dede..03b1dfa 100644 --- a/thermal/thermal.mk +++ b/thermal/thermal.mk @@ -1,3 +1,3 @@ -BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/thermal/sepolicy +BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/thermal/sepolicy/dump -PRODUCT_PACKAGES += dump_thermal.sh +PRODUCT_PACKAGES += dump/dump_thermal.sh