]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-system-libvintf.git/commit
CompatibilityMatrix::combine() combines everything correctly
authorYifan Hong <elsk@google.com>
Thu, 11 Oct 2018 17:38:57 +0000 (10:38 -0700)
committerYifan Hong <elsk@google.com>
Mon, 15 Oct 2018 20:41:04 +0000 (13:41 -0700)
commite7837b164cf04b95ddc1e365bda89d0422b925ad
tree60ae6c3f1da9d7e2903d295649ddd6f77159bede
parentb40e32c92c3d60f59385001a53e7a057fdef37da
CompatibilityMatrix::combine() combines everything correctly

* Combines <kernel> correctly in order to make assemble_vintf
add <kernel> in any order. That is, we now allow:
assemble_vintf -i base_matrix.xml -i kernel_config_base.xml
    -i kernel_config_x86.xml ...
and <kernel>'s will be added in the correct order even when
the order of kernel_config_base.xml and kernel_config_x86.xml
is swapped.

* Combine <sepolicy> and <avb> correctly. They can only
be defined once per level.

Test: libvintf_test
Test: vintf_object_test
Test: build framework compatibility matrix and inspect output manually

Bug: 78943004

Change-Id: I6c90849b8bef0b690fb292bcc5fa8c514f323d96
AssembleVintf.cpp
CompatibilityMatrix.cpp
VintfObject.cpp
include/vintf/CompatibilityMatrix.h
include/vintf/HalGroup.h
include/vintf/MatrixKernel.h
include/vintf/XmlFileGroup.h
test/LibVintfTest.cpp