Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: docs/android_debugging_instructions.md

Issue 2956153003: android: Convert java_deobfuscate.py to Java (Closed)
Patch Set: review comments + README Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/proguard/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/android_debugging_instructions.md
diff --git a/docs/android_debugging_instructions.md b/docs/android_debugging_instructions.md
index fbb4f98041385e2be5954afa973e2f53166c9f75..3c4eba2abd9c5ec8d129d6da98600e93962cd117 100644
--- a/docs/android_debugging_instructions.md
+++ b/docs/android_debugging_instructions.md
@@ -203,19 +203,23 @@ that crashed was built. When building locally, these are found in:
```shell
out/Default/apks/ChromePublic.apk.mapping
-out/Default/apks/Chrome.apk.mapping
+out/Default/apks/ChromeModernPublic.apk.mapping
+etc.
```
-To deobfuscate a stack trace from a file, run
+Build the `java_deobfuscate` tool:
```shell
-build/android/stacktrace/java_deobfuscate.py PROGUARD_MAPPING_FILE.mapping --stacktrace STACKTRACE_FILE
+ninja -C out/Default java_deobfuscate
```
-Deobfuscation also works from `stdin`:
+Then run it via:
```shell
-adb logcat -d | build/android/stacktrace/java_deobfuscate.py PROGUARD_MAPPING_FILE.mapping
+# For a file:
+out/Default/bin/java_deobfuscate PROGUARD_MAPPING_FILE.mapping < FILE
+# For logcat:
+adb logcat | out/Default/bin/java_deobfuscate PROGUARD_MAPPING_FILE.mapping
```
## Get WebKit code to output to the adb log
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/proguard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698