OSDN Git Service

libandroidfw: introduce ExecuteBinary (POSIX only)
authorMårten Kongstad <marten.kongstad@sony.com>
Thu, 27 Sep 2018 11:32:30 +0000 (13:32 +0200)
committerTodd Kennedy <toddke@google.com>
Thu, 4 Oct 2018 03:45:32 +0000 (03:45 +0000)
commit2503a49b963b7ebd6272d84cb22909152dfbce4f
treea5a4eef847ba1162ff73e3ff51a96dd66ca19dc3
parent7b532b7370d2f19a08fc373ba0e95663d96cbfd6
libandroidfw: introduce ExecuteBinary (POSIX only)

Introduce a wrapper around fork and exec.

Test: make libandroidfw_tests
Change-Id: Iff0de5319bb6bb101a3fbef6413dfb4e77198f11
libs/androidfw/Android.bp
libs/androidfw/PosixUtils.cpp [new file with mode: 0644]
libs/androidfw/include/androidfw/PosixUtils.h [new file with mode: 0644]
libs/androidfw/tests/PosixUtils_test.cpp [new file with mode: 0644]