Only use SELinux tools from toolbox if not in busybox

If busybox has SELinux support, we don't need toolbox to provide SELinux
specific tools. Check busybox for restorecon to see if SELinux support
is present and then adjust the tools built by toolbox based on this.

Change-Id: I30a2b036b97ac3e26510d5e0498c52d7a8af36e1
2 files changed
tree: 1c9831fe7897a9b0f17429fd4ffeb256cf2a1ccc
  1. applypatch/
  2. bmlutils/
  3. crypto/
  4. digest/
  5. dosfstools/
  6. edify/
  7. etc/
  8. exfat/
  9. fb2png/
  10. flashutils/
  11. fonts/
  12. fuse/
  13. gui/
  14. htcdumlock/
  15. injecttwrp/
  16. libblkid/
  17. libcrecovery/
  18. libmincrypt/
  19. libtar/
  20. minadbd/
  21. minelf/
  22. minui/
  23. minuitwrp/
  24. minzip/
  25. minzipold/
  26. mmcutils/
  27. mtdutils/
  28. mtp/
  29. openaes/
  30. orscmd/
  31. pigz/
  32. prebuilt/
  33. res/
  34. testdata/
  35. toolbox/
  36. tools/
  37. twrpTarMain/
  38. updater/
  39. .gitignore
  40. adb_install.cpp
  41. adb_install.h
  42. Android.mk
  43. bootloader.cpp
  44. bootloader.h
  45. CleanSpec.mk
  46. common.h
  47. data.cpp
  48. data.h
  49. data.hpp
  50. default_device.cpp
  51. device.h
  52. find_file.cpp
  53. find_file.hpp
  54. fixPermissions.cpp
  55. fixPermissions.hpp
  56. infomanager.cpp
  57. infomanager.hpp
  58. install.cpp
  59. install.h
  60. legacy_properties.h
  61. legacy_property_service.c
  62. legacy_property_service.h
  63. make-overlay.py
  64. mounts.c
  65. mounts.h
  66. NOTICE
  67. openrecoveryscript.cpp
  68. openrecoveryscript.hpp
  69. partition.cpp
  70. partitionmanager.cpp
  71. partitions.hpp
  72. README.md
  73. recovery.cpp
  74. recovery_ui.h
  75. roots.cpp
  76. roots.h
  77. screen_ui.cpp
  78. screen_ui.h
  79. tarWrite.c
  80. tarWrite.h
  81. twcommon.h
  82. twinstall.cpp
  83. twinstall.h
  84. twrp-functions.cpp
  85. twrp-functions.hpp
  86. twrp.cpp
  87. twrpDigest.cpp
  88. twrpDigest.hpp
  89. twrpDU.cpp
  90. twrpDU.hpp
  91. twrpTar.cpp
  92. twrpTar.h
  93. twrpTar.hpp
  94. ui.cpp
  95. ui.h
  96. variables.h
  97. verifier.cpp
  98. verifier.h
  99. verifier_test.cpp
  100. verifier_test.sh
README.md

Team Win Recovery Project (TWRP)

The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.

If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.

This branch is under final testing and will be used shortly for public builds, but has not officially been released.

You can find a compiling guide here.

More information about the project.

If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.