Fix on-device paths to used libraries in dexpreopt.

Test: lunch aosp_cf_x86_phone-userdebug && m
Test: Cherry-pick in internal master and check that on-device path to
    com.google.android.dialer.support.jar now is on /product partition
    (as it should be) and not on /system:
    $ oatdump \
        --instruction-set=x86 \
        --oat-file=out/target/product/vsoc_x86/product/priv-app/GoogleDialer/oat/x86/GoogleDialer.odex \
      | grep '^classpath' \
      | grep -o '[^[]*com.google.android.dialer.support.jar'
    /product/framework/com.google.android.dialer.support.jar

Bug: 132357300
Change-Id: Idf279ac713b9b29ff3a29f1b072bc1d57f48db26
This commit is contained in:
Ulya Trafimovich
2020-06-09 14:31:19 +01:00
parent 8b1531e7df
commit 9f3052cd78
4 changed files with 30 additions and 7 deletions

View File

@@ -154,6 +154,10 @@ func (d *DeviceHostConverter) DexJarBuildPath() android.Path {
return nil
}
func (d *DeviceHostConverter) DexJarInstallPath() android.Path {
return nil
}
func (d *DeviceHostConverter) AidlIncludeDirs() android.Paths {
return nil
}