diff options
author | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 08:01:36 +0000 |
---|---|---|
committer | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 08:01:36 +0000 |
commit | 6ac0ea96e93d9ea8029df6bff349f5a9c1a1df61 (patch) | |
tree | 71ba659868366f1468d1693fe3ad425aa609d792 | |
parent | 7338406376050bc36691b81f8107b051be1bc1a1 (diff) | |
download | chromium_src-6ac0ea96e93d9ea8029df6bff349f5a9c1a1df61.zip chromium_src-6ac0ea96e93d9ea8029df6bff349f5a9c1a1df61.tar.gz chromium_src-6ac0ea96e93d9ea8029df6bff349f5a9c1a1df61.tar.bz2 |
[Android] Make dmprof work with gyp_managed_install
With gyp_managed_install, the shared libraries on the device are in a
subdirectory of /data/local/tmp instead of /data/data or /data/app-lib
(one of those directories will contain symlinks to the actual library).
Update dmprof to treat such a path as though it is an Android path.
Review URL: https://chromiumcodereview.appspot.com/16206024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204741 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | tools/deep_memory_profiler/dmprof.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/deep_memory_profiler/dmprof.py b/tools/deep_memory_profiler/dmprof.py index 03b5e27..87b494b 100644 --- a/tools/deep_memory_profiler/dmprof.py +++ b/tools/deep_memory_profiler/dmprof.py @@ -1127,7 +1127,7 @@ class Command(object): See COMMANDS in main(). """ - _DEVICE_LIB_BASEDIRS = ['/data/data/', '/data/app-lib/'] + _DEVICE_LIB_BASEDIRS = ['/data/data/', '/data/app-lib/', '/data/local/tmp'] def __init__(self, usage): self._parser = optparse.OptionParser(usage) |