Skip to content
Snippets Groups Projects
Commit 0181fea9 authored by Alex Klyubin's avatar Alex Klyubin Committed by android-build-merger
Browse files

Merge "1-arg variant of hal_impl_domain" am: fa120106 am: 379ce55b

am: 45630ee9

Change-Id: I00b4d32dd2feee3ef58abba3e7d292d74bacacd7
parents bfbdc901 45630ee9
No related branches found
No related tags found
No related merge requests found
# allocator subsystem # allocator subsystem
type hal_allocator, domain, haldomain; type hal_allocator, domain;
hal_impl_domain(hal_allocator)
type hal_allocator_exec, exec_type, file_type; type hal_allocator_exec, exec_type, file_type;
# hwbinder access # hwbinder access
......
# boot_control subsystem # boot_control subsystem
type hal_boot, domain, boot_control_hal, haldomain; type hal_boot, domain, boot_control_hal;
hal_impl_domain(hal_boot)
type hal_boot_exec, exec_type, file_type; type hal_boot_exec, exec_type, file_type;
# hwbinder access # hwbinder access
......
...@@ -116,9 +116,14 @@ typeattribute $1 bluetoothdomain; ...@@ -116,9 +116,14 @@ typeattribute $1 bluetoothdomain;
') ')
##################################### #####################################
# hal_impl_domain(domain, hal_type_attr) # hal_impl_domain(domain[, hal_type_attr])
# Allow a base set of permissions required for a domain to host a # Allow a base set of permissions required for a domain to host a
# HAL implementation of the specified HAL type. # 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: # For example, default implementation of Foo HAL:
# type hal_foo_default, domain; # type hal_foo_default, domain;
...@@ -126,7 +131,7 @@ typeattribute $1 bluetoothdomain; ...@@ -126,7 +131,7 @@ typeattribute $1 bluetoothdomain;
# #
define(`hal_impl_domain', ` define(`hal_impl_domain', `
typeattribute $1 haldomain; typeattribute $1 haldomain;
typeattribute $1 $2; ifelse($2, `', `', `typeattribute $1 $2;')
') ')
##################################### #####################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment