Install data_libs using relative_install_path property
Test: Added to data_libs tests Test: Manually verified with bionic-unit-tests Test: Treehugger Change-Id: I28a8e08e3409f1e7c7bb72f4351310b57f35f513
This commit is contained in:
@@ -116,9 +116,9 @@ func (a *apexBundle) androidMkForFiles(w io.Writer, apexBundleName, apexName, mo
|
||||
if len(fi.symlinks) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_SYMLINKS :=", strings.Join(fi.symlinks, " "))
|
||||
}
|
||||
newDataPaths := []android.Path{}
|
||||
newDataPaths := []android.DataPath{}
|
||||
for _, path := range fi.dataPaths {
|
||||
dataOutPath := modulePath + ":" + path.Rel()
|
||||
dataOutPath := modulePath + ":" + path.SrcPath.Rel()
|
||||
if ok := seenDataOutPaths[dataOutPath]; !ok {
|
||||
newDataPaths = append(newDataPaths, path)
|
||||
seenDataOutPaths[dataOutPath] = true
|
||||
|
Reference in New Issue
Block a user