fc_sort: initial commit
Ordering matters in fc files; the last match wins. In builds where
many BOARD_SEPOLICY_DIRS are set, the order of that list becomes
increasingly important in order to maintain a cohesive built
file_contexts.
To correct this, we sort the device specific file_contexts entries
with the upstream fc_sort tool.
Change-Id: I3775eae11bfa5905cad0d02a0bf26c76ac03437c
Signed-off-by:
William Roberts <william.c.roberts@intel.com>
Showing
- Android.mk 57 additions, 14 deletionsAndroid.mk
- tools/fc_sort/Android.mk 12 additions, 0 deletionstools/fc_sort/Android.mk
- tools/fc_sort/MODULE_LICENSE_GPL 0 additions, 0 deletionstools/fc_sort/MODULE_LICENSE_GPL
- tools/fc_sort/README 9 additions, 0 deletionstools/fc_sort/README
- tools/fc_sort/fc_sort.c 567 additions, 0 deletionstools/fc_sort/fc_sort.c
tools/fc_sort/Android.mk
0 → 100644
tools/fc_sort/MODULE_LICENSE_GPL
0 → 100644
tools/fc_sort/README
0 → 100644
tools/fc_sort/fc_sort.c
0 → 100644
Please register or sign in to comment