Android: Fix junit4 incremental apks on Dalvik

This looks to have never worked since we switched to junit4. The main
problem with the previous work-around is that on Dalvik, new
DexFile(path) was causing the app to try to create an .odex in
/data/code-cache, which is does not have permission to do.

This also add no_build_hooks=true to the incremental dex, which didn't
seem to be hurting anything, but is more correct to have it removed.

Change-Id: I4ebc2a71d354b78232eb3667fd2141fbb6bd38e2
Reviewed-on: https://chromium-review.googlesource.com/915602
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536476}

CrOS-Libchrome-Original-Commit: fb00e29f4b8b67bde6fc272dc1018d2e929d141a
1 file changed
tree: adcb9afc64e317636279e81656520143928e5080
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/