Revert "Set strict_mode to true"
Revert submission 27234948-default_strict_mode Reason for revert: b/343559188 Reverted changes: /q/submissionid:27234948-default_strict_mode Change-Id: Ib06e3d269e606477d5e8f8acc9a26ebf332447a8
This commit is contained in:
parent
d394c08aa8
commit
6a20769a50
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ func (r *robolectricTest) DepsMutator(ctx android.BottomUpMutatorContext) {
|
|||
|
||||
if v := String(r.robolectricProperties.Robolectric_prebuilt_version); v != "" {
|
||||
ctx.AddVariationDependencies(nil, libTag, fmt.Sprintf(robolectricPrebuiltLibPattern, v))
|
||||
} else if !proptools.BoolDefault(r.robolectricProperties.Strict_mode, true) {
|
||||
} else if !proptools.Bool(r.robolectricProperties.Strict_mode) {
|
||||
if proptools.Bool(r.robolectricProperties.Upstream) {
|
||||
ctx.AddVariationDependencies(nil, libTag, robolectricCurrentLib+"_upstream")
|
||||
} else {
|
||||
|
@ -124,7 +124,7 @@ func (r *robolectricTest) DepsMutator(ctx android.BottomUpMutatorContext) {
|
|||
}
|
||||
}
|
||||
|
||||
if proptools.BoolDefault(r.robolectricProperties.Strict_mode, true) {
|
||||
if proptools.Bool(r.robolectricProperties.Strict_mode) {
|
||||
ctx.AddVariationDependencies(nil, roboRuntimeOnlyTag, robolectricCurrentLib+"_upstream")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue