Test: check sepolicy-analyze tool can work well sepolicy-analyze out/target/product/<board>/root/sepolicy typecmp -e sepolicy-analyze out/target/product/<board>/root/sepolicy typecmp -d sepolicy-analyze out/target/product/<board>/root/sepolicy dups sepolicy-analyze out/target/product/<board>/root/sepolicy permissive sepolicy-analyze out/target/product/<board>/root/sepolicy booleans sepolicy-analyze out/target/product/<board>/root/sepolicy attribute <name> Change-Id: I09d30967f00062c6a807ae4711ccc87b0fd6064c
Also, divide each sepolicy-analyze function into its own component for simplified command-line parsing and potentially eventual modularization. Bug: 18005561 Change-Id: I45fa07d776cf1bec7d60dba0c03ee05142b86c19