commit | 9de4d5ebb33d28f4095ef2d2db3150a5817ff349 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri Mar 06 10:19:12 2015 -0800 |
committer | Christopher Ferris <cferris@google.com> | Fri Mar 06 10:19:12 2015 -0800 |
tree | 665f73e495f502c65332d022fc2f70cb9a0f2735 | |
parent | 71c64dc1033aed7de0ebb215fc35d09e7fcd9db0 [diff] |
Make sure DEX2OAT_TARGET_CPU_VARIANT is not empty. On non-arm architectures, there is no TARGET_CPU_VARIANT set. For x86, art assumes that the CPU variant is actually the TARGET_ARCH_VARIANT. Therefore, if no TARGET_CPU_VARIANT is set, use the TARGET_ARCH_VARIANT. If TARGET_ARCH_VARIANT is not set, then use default as the value. Change-Id: I17fc9e3ac7412462103b8f0b287fce106298b741