summaryrefslogtreecommitdiff
path: root/scripts/lint-project-xml.py
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2020-07-31 23:07:17 +0900
committerBill Peckham <bpeckham@google.com>2020-08-04 18:45:06 +0000
commit0ec5412f1d22c19ba480425200a668c153d211ec (patch)
tree931cad0fde9f9081f28bb3231861dc2082914449 /scripts/lint-project-xml.py
parent2c7e88ccb22608a69134631ab13ac32c69b435ee (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