summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong2017-10-16 22:41:44 -0500
committerandroid-build-merger2017-10-16 22:41:44 -0500
commit3e2d4b1f2cc3610e3a4779198c27531f0dcb3c3b (patch)
treeff67eb717c63518e378a07ad7c3ec4b0a7454154
parent3fbce3d973a6a1eef1a81029dce9d7ff55bdfa59 (diff)
parentc81841f975705f37bfffec7e1d84a9b461539bb3 (diff)
downloadplatform-system-libvintf-3e2d4b1f2cc3610e3a4779198c27531f0dcb3c3b.tar.gz
platform-system-libvintf-3e2d4b1f2cc3610e3a4779198c27531f0dcb3c3b.tar.xz
platform-system-libvintf-3e2d4b1f2cc3610e3a4779198c27531f0dcb3c3b.zip
Allow native HALs to have <transport> tag.
am: c81841f975 Change-Id: I1decdda74f97d1e334a81c4957e466183a4b643a
-rw-r--r--parse_xml.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/parse_xml.cpp b/parse_xml.cpp
index 0b3a514..1a0626a 100644
--- a/parse_xml.cpp
+++ b/parse_xml.cpp
@@ -589,9 +589,7 @@ struct ManifestHalConverter : public XmlNodeConverter<ManifestHal> {
589 void mutateNode(const ManifestHal &hal, NodeType *root, DocType *d) const override { 589 void mutateNode(const ManifestHal &hal, NodeType *root, DocType *d) const override {
590 appendAttr(root, "format", hal.format); 590 appendAttr(root, "format", hal.format);
591 appendTextElement(root, "name", hal.name, d); 591 appendTextElement(root, "name", hal.name, d);
592 if (!hal.transportArch.empty()) { 592 appendChild(root, transportArchConverter(hal.transportArch, d));
593 appendChild(root, transportArchConverter(hal.transportArch, d));
594 }
595 appendChildren(root, versionConverter, hal.versions, d); 593 appendChildren(root, versionConverter, hal.versions, d);
596 appendChildren(root, halInterfaceConverter, iterateValues(hal.interfaces), d); 594 appendChildren(root, halInterfaceConverter, iterateValues(hal.interfaces), d);
597 } 595 }