summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2017-03-02 12:53:32 -0800
committerAlex Klyubin <klyubin@google.com>2017-03-02 13:25:17 -0800
commitf4f34d9afec98b26a6b5d4eef21969f0ebb42a89 (patch)
tree78d2339c216c4f5fcbaa53436e2ce4565a084b3b /libutils/Unicode.cpp
parent460c8a8ae37a216d95fcc03c38e69721b9d118cd (diff)
Include correct type of SELinux policy
This makes the build system include split SELinux policy (three CIL files and the secilc compiler needed to compile them) if PRODUCT_FULL_TREBLE is set to true. Otherwise, the monolitic SELinux policy is included. Split policy currently adds around 400 ms to boot time (measured on marlin/sailfish and bullhead) because the policy needs to be compiled during boot. This is the main reason why we include split policy only on devices which require it. Test: Device boots, no additional SELinux denials. This test is performed on a device with PRODUCT_FULL_TREBLE set to true, and on a device with PRODUCT_FULL_TREBLE set to false. Test: Device with PRODUCT_FULL_TREBLE set to true contains secilc and the three *.cil files, but does not contain the sepolicy file. Device with PRODUCT_FULL_TREBLE set to false contains sepolicy file but does not contain the secilc file or any *.cil files. Bug: 31363362 Change-Id: I419aa35bad6efbc7f936bddbdc776de5633846fc
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions