summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kiyoung Kim <kiyoungkim@google.com> 2025-01-22 20:09:53 -0800
committer Kiyoung Kim <kiyoungkim@google.com> 2025-01-22 20:09:53 -0800
commit78e6c8e4ee50ff7b00f45ab789435947aaa46d00 (patch)
tree68aef6259f465a4e26af67052dca780fc2a57702
parent4d78e0108b85354098811ec86307cc8d2550555f (diff)
Use system partition visibility
Use system partition visibility for modules which should be installed within the system image - build props and notice file. Bug: 370352548 Change-Id: Ib97afa421ca0807e555be1239d781162ac4e7a0f Test: aosp_cf_x86_64_phone build succeeds
-rw-r--r--Android.bp3
-rw-r--r--compliance/Android.bp3
2 files changed, 2 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 98552a779..523f55c4b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -177,11 +177,10 @@ build_prop {
],
// Currently, only microdroid, Ravenwood, and cf system image can refer to system-build.prop
visibility: [
- "//build/make/target/product/generic",
- "//build/make/target/product/gsi",
"//build/soong/fsgen",
"//packages/modules/Virtualization/build/microdroid",
"//frameworks/base/ravenwood",
+ "//visibility:any_system_partition",
],
}
diff --git a/compliance/Android.bp b/compliance/Android.bp
index 6662970d8..a1f2015b0 100644
--- a/compliance/Android.bp
+++ b/compliance/Android.bp
@@ -34,7 +34,6 @@ notice_xml {
name: "notice_xml_system",
partition_name: "system",
visibility: [
- "//build/make/target/product/generic",
- "//build/make/target/product/gsi",
+ "//visibility:any_system_partition",
],
}