Move qti-testscripts definition out of userdebug_or_eng check

sepolicy compat_test tests fail to compile on user builds because
of the missing definitions.

Test: breakfast FP4 user && m
Change-Id: I9e5ba85a48e757cdf45e90103b3ce10f22a912d0
This commit is contained in:
Michael Bestas 2022-09-26 05:06:14 +03:00
parent e482b17c58
commit d5b1835abc
No known key found for this signature in database
GPG key ID: CC95044519BE6669
4 changed files with 4 additions and 6 deletions

View file

@ -25,6 +25,4 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
userdebug_or_eng(`
type qti-testscripts, domain, mlstrustedsubject;
')
type qti-testscripts, domain, mlstrustedsubject;

View file

@ -28,8 +28,8 @@
#as the exec is defined in file_context it is hitting build
# error in user build so moving out of the macro
type qti-testscripts_exec, system_file_type, exec_type, file_type;
type qti-testscripts, domain, mlstrustedsubject;
userdebug_or_eng(`
type qti-testscripts, domain, mlstrustedsubject;
typeattribute qti-testscripts coredomain;
permissive qti-testscripts;
init_daemon_domain(qti-testscripts)

View file

@ -28,8 +28,8 @@
#as the exec is defined in file_context it is hitting build
# error in user build so moving out of the macro
type qti-testscripts_exec, system_file_type, exec_type, file_type;
type qti-testscripts, domain, mlstrustedsubject;
userdebug_or_eng(`
type qti-testscripts, domain, mlstrustedsubject;
typeattribute qti-testscripts coredomain;
permissive qti-testscripts;
init_daemon_domain(qti-testscripts)

View file

@ -28,8 +28,8 @@
#as the exec is defined in file_context it is hitting build
# error in user build so moving out of the macro
type qti-testscripts_exec, system_file_type, exec_type, file_type;
type qti-testscripts, domain, mlstrustedsubject;
userdebug_or_eng(`
type qti-testscripts, domain, mlstrustedsubject;
typeattribute qti-testscripts coredomain;
permissive qti-testscripts;
init_daemon_domain(qti-testscripts)