fe107fb6e3f308ac5174ebdc5a794ee880c741d9 |
|
17-Sep-2011 |
Jesse Wilson <jessewilson@google.com> |
Mechanical refactoring of dx into two parts. This splits off a new package, com.android.dex that contains code for parsing and modelling dex files. This code is usable both at build time (for compilation and analysis) and at runtime (for introspection). The original package, com.android.dx is the tool that compiles .class files into .dex files. That package also includes utilities for merging and querying dex files, all visible to the dx command line application. In a follow up change I'll move the new com.android.dex package into the libcore/ project, and configure build rules so that it's included in both dx.jar and core.jar. The core.jar will then be able to use it for annotation processing. Change-Id: I3c58cf87e728e4dda1925a0992c1ee7b8130e81a (cherry picked from commit bab4abb07335d162ecdb8091fc395cf84803a580) Conflicts: dx/junit-tests/com/android/dx/util/BitIntSetTest.java dx/junit-tests/com/android/dx/util/BitsTest.java dx/junit-tests/com/android/dx/util/IntListTest.java dx/junit-tests/com/android/dx/util/ListIntSetTest.java dx/src/com/android/dex/Dex.java dx/src/com/android/dex/TableOfContents.java dx/src/com/android/dx/annotations/AnnotationAccess.java dx/src/com/android/dx/command/Main.java dx/src/com/android/dx/dex/code/OutputFinisher.java dx/src/com/android/dx/dex/code/form/Form32s.java dx/src/com/android/dx/dex/code/form/Form33x.java dx/src/com/android/dx/dex/code/form/Form41c.java dx/src/com/android/dx/dex/code/form/Form52c.java dx/src/com/android/dx/gen/DexGenerator.java dx/src/com/android/dx/merge/DexMerger.java
|
ab35b50311951feea3782151dd5422ee944685c2 |
|
05-Jan-2012 |
Elliott Hughes <enh@google.com> |
Remove unsupported experimental opcodes. External developers were starting to try to get themselves into trouble with this stuff... Change-Id: I2b03bfeaa8c98b6a994bc7924fc8dcf4e4d4f6cb
|
2cdb0f99380a09f494977d1799e21e2a79d40a65 |
|
13-Dec-2011 |
Jesse Wilson <jessewilson@google.com> |
Don't throw an AssertionError on invalid input. Throwing an AssertionError prevents tools like FindUsages from recovering. Bug: http://b/5470168 Change-Id: I6ae99bd29e25f868a739548266cedf85d0b26e90
|
1bbb3378b108329c7ab75713fe9507b7ffc7f885 |
|
15-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix some bugs in the new dx instruction code. http://b/3447216 Change-Id: I9a77541b994f184da0e389840e5cac728ad6c072
|
7baa3b69f87348aa2f4f16375a66be59965e8dd4 |
|
05-Feb-2011 |
Dan Bornstein <danfuzz@android.com> |
Move DexException to dx.util. Change-Id: I86bf83bc3adcc55eb8bbeac2fc28822cb5f2d2b9
|
537939ca06a47668f719ee06159303bcd3175c69 |
|
04-Feb-2011 |
Dan Bornstein <danfuzz@android.com> |
Move the instruction representation code. It now gets its own subpackage, reducing the clutter in the base .io package. I was on the fence about CodeReader and ended up just leaving it be, but maybe that one wants to move too. Change-Id: I87c574ce2086025bcb9583627a545160084ba88e
|