commit | 1c6a9b38e557b7af00e0311f8fccbb98384d3f1a | [log] [tgz] |
---|---|---|
author | Melisa Carranza Zúñiga <melisacz@google.com> | Wed Apr 12 11:53:11 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 12 11:53:11 2023 +0000 |
tree | e77038a61ac36a2a67261952897eca8b9f84d1c3 | |
parent | aba8a8bdd4154f924cdbb690ee066c62cd28c7bc [diff] | |
parent | 4557f6ad5bcbebcb8a0da2c3868355472dc16781 [diff] |
Merge "Add OWNERS file" am: 7332e116ef am: 3b919b9982 am: d4c500473e am: 4557f6ad5b Original change: https://android-review.googlesource.com/c/platform/external/google-smali/+/2531185 Change-Id: I7203ceb1db2f2400698d84ddf98b6841e0b0b3b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android‘s Java VM implementation. The syntax is loosely based on Jasmin’s/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
NOTE: This is a fork of https://github.com/JesusFreke/smali for patches needed by Google as the original repository is currently not maintained. After forking the namespace was changed from org.jf
to com.anroid.tools.smali
. The artifacts are released on Google Maven under the following coordinates:
./gradlew assemble
To run the smali
and baksmali
tools from the command line build the fat jars. The fat jars will be named with the current version followed by the first 8 characters of the current git hash followed by an optional -dirty
if the repository was dirty when building and ending in -fat . The fat jar can be invoked with java -jar
.
./gradlew smali:fatJar java -jar smali/build/libs/smali-x.y.z-aaaaaaaa-dirty-fat.jar
To execute all tests run
./gradlew test
Push a release version to your local maven repository (add -Dmaven.repo.local=<dir>
to override the default local maven repository location)
./gradlew release publishToMavenLocal