Use DEX2OATBOOTCLASSPATH to generate boot image

installd use DEX2OATBOOTCLASSPATH, so we need
use DEX2OATBOOTCLASSPATH to generate boot image,
otherwise the dexopt will fail when install apps.

Note that this is needed only for devices that
ship without boot image in /system.

Bug: 122937705

Signed-off-by: wangshumin <wangshumin@xiaomi.com>

(cherry picked from commit d6d878ef7f452335e6642265605de10220f7809f)

Change-Id: Ibb6a0e4145299b8c5fb1e7086449daae5c27622e
Merged-In: I19549d4ae19e8a530022625f53ca2334f33a0755
1 file changed