Allow bootjars in system_ext.

Bug: 148385042
Test: Built and booted Pixel 3a both with and without a boot jar in system_ext.
Change-Id: I0702aa8259478a71cf96a5cd3a425071ccdafdfb
This commit is contained in:
Chris Gross
2020-05-01 16:14:54 -07:00
parent 50c4a4b19f
commit 06c8036ac8

View File

@@ -89,6 +89,8 @@ func getDexLocation(ctx android.PathContext, target android.Target, module strin
// Special apex name "platform" denotes jars do not come from an apex, but are part
// of the platform. Such jars are installed on the /system partition on device.
subdir = "system/framework"
} else if apex == "system_ext" {
subdir = "system_ext/framework"
} else {
subdir = filepath.Join("apex", apex, "javalib")
}