OSDN Git Service

Add --dir option to findleaves.py
authorColin Cross <ccross@android.com>
Fri, 27 May 2016 22:20:31 +0000 (15:20 -0700)
committerColin Cross <ccross@android.com>
Fri, 27 May 2016 23:05:10 +0000 (16:05 -0700)
commit9808645cd9800a7bf7afeb208f3f25c208c64c20
treee6e3653630386adb55e1e5d63cbc8b10834fa012
parent8ed91b66240d3071a42365737f4cd5c7dbe601e1
Add --dir option to findleaves.py

findleaves.py needs to be able to search multiple directories for
multiple filenames (Android.bp and Android.mk).  Add support for a new
--dir= option to specify one or more directories to search, and then
treat any remaining options as filenames.  If no directories are
specified, fall back to treating only the last option as a filename and
the rest as directories.

Change-Id: Ie879facd49192c6b4fafae070ad00eb21b1faa32
tools/findleaves.py