Stop using '&' for class loader context.
Test: m Bug: 132357300 Change-Id: I01a5008d5b84820f793c1c23fe2e4c4687cf4acf
This commit is contained in:
parent
7ad17bdad5
commit
863f3b9fb4
1 changed files with 2 additions and 5 deletions
|
@ -287,12 +287,9 @@ func dexpreoptCommand(ctx android.PathContext, globalSoong *GlobalSoongConfig, g
|
|||
|
||||
} else {
|
||||
// Other libraries or APKs for which the exact <uses-library> list is unknown.
|
||||
// Pass special class loader context to skip the classpath and collision check.
|
||||
// This will get removed once LOCAL_USES_LIBRARIES is enforced.
|
||||
// Right now LOCAL_USES_LIBRARIES is opt in, for the case where it's not specified we still default
|
||||
// to the &.
|
||||
// We assume the class loader context is empty.
|
||||
rule.Command().
|
||||
Text(`class_loader_context_arg=--class-loader-context=\&`).
|
||||
Text(`class_loader_context_arg=--class-loader-context=PCL[]`).
|
||||
Text(`stored_class_loader_context_arg=""`)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue