Move file_contexts to under /system/sepolicy
Bug: 119034475
Test: m com.android.tzdata test1_com.android.tzdata
Change-Id: I935d9a76346553f8505554392680656df6e68620
diff --git a/apex/Android.bp b/apex/Android.bp
index 0b6b3a0..80382a7 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -15,7 +15,6 @@
apex {
name: "com.android.tzdata",
manifest: "manifest.json",
- file_contexts: "file_contexts",
prebuilts: [
"apex_tz_version",
"apex_tzlookup.xml",
diff --git a/apex/file_contexts b/apex/file_contexts
deleted file mode 100644
index 8a5c916..0000000
--- a/apex/file_contexts
+++ /dev/null
@@ -1,6 +0,0 @@
-(/.*)? u:object_r:system_file:s0
-/manifest.json u:object_r:system_file:s0
-/lib u:object_r:system_file:s0
-/lib(64)?(/.*) u:object_r:system_file:s0
-/lib/libc.so u:object_r:system_file:s0
-
diff --git a/testing/data/test1/apex/Android.bp b/testing/data/test1/apex/Android.bp
index 322a8f0..d8af5cf 100644
--- a/testing/data/test1/apex/Android.bp
+++ b/testing/data/test1/apex/Android.bp
@@ -19,7 +19,7 @@
apex {
name: "test1_com.android.tzdata",
manifest: "manifest.json",
- file_contexts: "file_contexts",
+ file_contexts: "com.android.tzdata",
prebuilts: [
"apex_tz_version_test1",
"apex_tzlookup.xml_test1",
diff --git a/testing/data/test1/apex/file_contexts b/testing/data/test1/apex/file_contexts
deleted file mode 100644
index 8a5c916..0000000
--- a/testing/data/test1/apex/file_contexts
+++ /dev/null
@@ -1,6 +0,0 @@
-(/.*)? u:object_r:system_file:s0
-/manifest.json u:object_r:system_file:s0
-/lib u:object_r:system_file:s0
-/lib(64)?(/.*) u:object_r:system_file:s0
-/lib/libc.so u:object_r:system_file:s0
-