summaryrefslogtreecommitdiffstats
path: root/otautil/roots.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some global variables in common.hTianjie Xu2019-07-241-0/+8
| | | | | | | | | | | | | | Some global variables are only used for recovery.cpp and recovery_main.cpp, remove them from common.h and handle their usage accordingly. Variables include: static constexpr int kRecoveryApiVersion; extern struct selabel_handle* sehandle; extern RecoveryUI* ui; extern bool has_cache; bool is_ro_debuggable(); Test: unit tests pass, boot into recovery mode and run graphic tests Change-Id: If83a005786c9b38412731da97aaf85af69a3b917
* roots: Remove get_system_root and logical_partitions_mapped.Tao Bao2019-05-101-8/+0
| | | | | | Test: TreeHugger Test: Boot into recovery on blueline. Choose "Mount system partition". Change-Id: Iac475d18ce2415de09dc0bf009ad4cf0383ffede
* Move install to separate modulexunchang2019-03-291-0/+285
Build libinstall as a shared library. Also drop the dependency on the global variables in common.h. Test: unit tests pass, sideload an OTA Change-Id: I30a20047768ce00689fc0e7851c1c5d712a365a0