summaryrefslogtreecommitdiffstats
path: root/tools/repopick.py
diff options
context:
space:
mode:
authorAnthony King <anthonydking@slimroms.net>2015-07-20 17:39:20 -0400
committerTom Powell <zifnab@zifnab06.net>2015-10-08 15:03:17 -0700
commit8e1ccda749691a71cca908dc0e91a3a034c0d7ae (patch)
tree8117dda14cab3e3a869f31360e20143272a76fdb /tools/repopick.py
parentfd11d07640345d4b5d550cc3c64f700c782696c0 (diff)
downloadbuild-8e1ccda749691a71cca908dc0e91a3a034c0d7ae.zip
build-8e1ccda749691a71cca908dc0e91a3a034c0d7ae.tar.gz
build-8e1ccda749691a71cca908dc0e91a3a034c0d7ae.tar.bz2
repopick: handle hardware_ril/ril-caf
Change-Id: Ib72255d899529effb0d6121034f42a7532d4a02b
Diffstat (limited to 'tools/repopick.py')
-rwxr-xr-xtools/repopick.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/repopick.py b/tools/repopick.py
index f369f2b..8452eb8 100755
--- a/tools/repopick.py
+++ b/tools/repopick.py
@@ -281,6 +281,10 @@ if __name__ == '__main__':
# audio and media are different from display
elif split_path[2] == 'audio' or split_path[2] == 'media':
project_path += '/default'
+ elif project_path.startswith('hardware/ril'):
+ project_path = project_path.rstrip('-caf')
+ if item["branch"].split('-')[-1] == 'caf':
+ project_path += '-caf'
elif args.ignore_missing:
print('WARNING: Skipping {0} since there is no project directory for: {1}\n'.format(item['id'], item['project']))
continue