diff options
author | Yabin Cui <yabinc@google.com> | 2017-01-06 12:47:31 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2017-01-06 12:47:31 -0800 |
commit | 5fac4383a39399c9643c286a7d342c8d5f2d7cab (patch) | |
tree | 644a32e0846f1f227dee24a71fc0a1242b0bafa3 /simpleperf | |
parent | a29ece7f55fd067b816be9c7862e086731efa640 (diff) | |
download | extras-5fac4383a39399c9643c286a7d342c8d5f2d7cab.tar.gz |
simpleperf: fix annotate.py.
Bug: http://b/32834638
Test: run annotate.py.
Change-Id: I18d6985387a68482a589d812109692ee2c30197c
Diffstat (limited to 'simpleperf')
-rw-r--r-- | simpleperf/scripts/annotate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/scripts/annotate.py b/simpleperf/scripts/annotate.py index b274968e..b49942ff 100644 --- a/simpleperf/scripts/annotate.py +++ b/simpleperf/scripts/annotate.py @@ -519,6 +519,7 @@ class SourceFileAnnotator(object): """ dest_dir = self.config['annotate_dest_dir'] for key in self.file_periods.keys(): + is_java = False if key.startswith('$JAVA_SRC_ROOT/'): path = key[len('$JAVA_SRC_ROOT/'):] items = path.split('/') |