diff options
author | Justin Yun <justinyun@google.com> | 2020-07-31 23:07:17 +0900 |
---|---|---|
committer | Bill Peckham <bpeckham@google.com> | 2020-08-04 18:45:06 +0000 |
commit | 0ec5412f1d22c19ba480425200a668c153d211ec (patch) | |
tree | 931cad0fde9f9081f28bb3231861dc2082914449 /scripts/lint-project-xml.py | |
parent | 2c7e88ccb22608a69134631ab13ac32c69b435ee (diff) |
Disable() must not be enabled unexpectedly
When a module is disabled by calling Disable(), it could be
unexpectedly enabled by the archMutator. For example, a module has
```
enabled : false,
arch : {
arm64 : {
enabled : true,
},
}
```
When this modules is disabled by calling Disable() before the
archMutator, it became enabled again ignoring Disable() command.
By defining the `ForcedDisabled` property, we can disable a module
regardless of `Enabled` property.
Bug: 161565086
Test: m
Change-Id: I443720715edbac25cb6d7c3d9eb1bc9806719161
(cherry picked from commit 32f053b97ead0ed9660a9a38073b5788cc1906aa)
Diffstat (limited to 'scripts/lint-project-xml.py')
0 files changed, 0 insertions, 0 deletions