Allow override of default symbol location for native heap library resolution
Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols. Setting the env variable ANDROID_SYMBOLS allows you to override this location so that DDMS goes look for the symbol in a different location when resolving native heap addresses.
This commit is contained in:
@@ -133,7 +133,10 @@ public class Addr2Line {
|
||||
// to synchronize this code.
|
||||
|
||||
// get the output directory.
|
||||
String symbols = DdmUiPreferences.getSymbolDirectory();
|
||||
String symbols = System.getenv("ANDROID_SYMBOLS");
|
||||
if (symbols == null) {
|
||||
symbols = DdmUiPreferences.getSymbolDirectory();
|
||||
}
|
||||
|
||||
// build the command line
|
||||
String[] command = new String[5];
|
||||
|
||||
Reference in New Issue
Block a user