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:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user