Add HIDLized software gatekeeper HAL to hikey builds.

Legacy gatekeeper modules were removed in previous CLs. This patch adds
the new HIDLized software implementation of gatekeeper to hikey builds.

Test: Builds and passes the treble compatibility matrix.
Change-Id: Ia7b735c8bde8c3c9f7cdfd39ac6139e968c110d4
diff --git a/device-common.mk b/device-common.mk
index 009cd70..e964276 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -120,6 +120,10 @@
 PRODUCT_PACKAGES += \
     android.hardware.gnss@1.0-impl
 
+# Software Gatekeeper HAL
+PRODUCT_PACKAGES += \
+    android.hardware.gatekeeper@1.0-service.software
+
 # Keymaster HAL
 PRODUCT_PACKAGES += \
     android.hardware.keymaster@3.0-impl \
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 52a29e5..5c010f0 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -34,6 +34,7 @@
 /dev/block/platform/soc/f723d000\.dwmmc0/by-name/userdata u:object_r:userdata_block_device:s0
 
 
+/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software         u:object_r:hal_gatekeeper_default_exec:s0
 /vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common          u:object_r:hal_power_default_exec:s0
 
 /vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0