Revert "Revert "Add libc++.so as install dependencies for hermetic Python.""

This reverts commit bfb0aed2dd.

Reason for revert: <LOCAL_REQUIRED_MODULES overrides the "required:" property in Android.bp>
Test: m -j sepolicy_tests
Bug: b/80140289

Change-Id: I4e51007a7d4dda69cbf4f31253e9a56d3f5e35c7
This commit is contained in:
Nan Zhang 2018-05-23 14:42:44 -07:00
parent 78a01965d0
commit ccf636e36a
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ func (installer *pythonInstaller) AndroidMk(base *Module, ret *android.AndroidMk
ret.OutputFile = android.OptionalPathForPath(installer.path)
}
ret.Required = append(ret.Required, "libc++")
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
path := installer.path.RelPathString()
dir, file := filepath.Split(path)