From cb839c64db3745f36611a8a98856200b5484fbaa Mon Sep 17 00:00:00 2001 From: Alex Klyubin <klyubin@google.com> Date: Tue, 21 Mar 2017 09:50:53 -0700 Subject: [PATCH] Remove unused hal_impl_domain macro All previous users of this macro have been switched to hal_server_domain macro. Test: no hal_impl_domain in system/sepolicy/ and device/**/sepolicy Test: mmm system/sepolicy Bug: 34170079 Change-Id: I4a71b3fd5046c0d215b056f1cae25fe6bda0fb45 --- public/te_macros | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/public/te_macros b/public/te_macros index 60de5684e..0e1bffb8f 100644 --- a/public/te_macros +++ b/public/te_macros @@ -148,26 +148,6 @@ define(`bluetooth_domain', ` typeattribute $1 bluetoothdomain; ') -# TODO: Remove hal_impl_domain once all uses have been switched to hal_server_domain. -##################################### -# hal_impl_domain(domain[, hal_type_attr]) -# Allow a base set of permissions required for a domain to host a -# HAL implementation. -# -# Optionally, the type of the HAL can be specified as the second -# argument. This is useful for HALs which may have multiple -# implementations. Attributes are used to group the various -# implementations of such HALs. -# -# For example, default implementation of Foo HAL: -# type hal_foo_default, domain; -# hal_impl_domain(hal_foo_default, hal_foo) -# -define(`hal_impl_domain', ` -typeattribute $1 halserverdomain; -ifelse($2, `', `', `typeattribute $1 $2;') -') - ##################################### # hal_server_domain(domain, hal_type) # Allow a base set of permissions required for a domain to offer a -- GitLab