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:
committed by
Android (Google) Code Review
parent
d394c08aa8
commit
6a20769a50
@@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user