commit | aba8a8bdd4154f924cdbb690ee066c62cd28c7bc | [log] [tgz] |
---|---|---|
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | Tue Apr 11 20:43:42 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 11 20:43:42 2023 +0000 |
tree | 11ce9512cf8db32d82836d809c78a86a24f8f342 | |
parent | f64ae9dd9b99b04b9722102f8240f0f4440b3299 [diff] | |
parent | ac4cbf8cffe33cb59f3a472c08577817819037f9 [diff] |
Adding METADATA file to google-smali am: 8c9b3ff90f am: d360e4a03f am: 2978214f2f am: ac4cbf8cff Original change: https://android-review.googlesource.com/c/platform/external/google-smali/+/2531201 Change-Id: I69d20b88b72c88924e2d154f04f1ab46b7242115 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