diff options
| author | 2021-03-09 16:59:33 -0800 | |
|---|---|---|
| committer | 2021-03-09 16:59:33 -0800 | |
| commit | 2e43e34d535ad9030885be9f5942d0c29f569c2e (patch) | |
| tree | c40c110ca8d585208e8209aa82d8c52369eff8cf /tools/warn/java_warn_patterns.py | |
| parent | d534e22d1081f7d5a39e80680bf5ed145019a497 (diff) | |
Throw an error if androidboot.hardware is used for bootconfig
Bootconfig does not allow the keys to have values and subkeys at the
same time.
"androidboot.hardware" and "androidboot.hardware.*" subkeys have existed as
kernel cmdline parameters. We want to throw an error at build time when
"androidboot.hardware" is use in bootconfig because it may be a common
occurence while migrating to bootconfig.
"hardware" should be used instead, without the "androidboot" prefix.
Test: build with and without "androidboot.hardware=test" in
BOARD_BOOTCONFIG
Bug: 173815685
Change-Id: Ic62a86cb23c9d79dbdbacd18eed3449210566ce7
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions