commit | a97fb8bb4252424e48d7d95be97999c5584a71e5 | [log] [tgz] |
---|---|---|
author | patricktu <patricktu@google.com> | Tue Mar 24 11:35:33 2020 +0800 |
committer | patricktu <patricktu@google.com> | Wed Apr 01 09:04:23 2020 +0800 |
tree | 88384be4d86d08682d8c410c6ac8ecd2451ad1bd | |
parent | 397b03d9153e2ded0045b8600cafe9709e9d8d0f [diff] |
AIDEGen: Updates XML file by xml.etree.ElementTree 1. Create a XML util to parse a XML file. 2. Check if the XML file's content has the specific elements for IntelliJ. 3. Append the new <jdk> element under the <component>. 4. Update the XML file by xml.etree.ElementTree.ElementTree.write(). Bug: 151582629 Test: 1. sh run_tests.sh 2. Keep the code coverage of changes 100%. Change-Id: Idcbe08070277601f10ca155d17b6ae8d985b09f3