diff options
author | Ying Wang <wangying@google.com> | 2015-06-02 18:43:59 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2015-06-02 18:43:59 -0700 |
commit | 7dc388bbd97eae6b1e5361bd9d217fe5c0996ee0 (patch) | |
tree | 916211b33785aa82bc0186f930d177caabadfbd3 | |
parent | 2a9e86c9394ca8ca286a30c64fa002b956375425 (diff) | |
download | build-7dc388bbd97eae6b1e5361bd9d217fe5c0996ee0.tar.gz |
Search for also *.bp in bgrep
We need this since we switched soong build file name from Blueprints to Android.bp.
Change-Id: Ia38d72f710b3c3871e0464c0849c520a725bda41
-rw-r--r-- | envsetup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh index 43356be719..33e8834dea 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1112,7 +1112,7 @@ function sepgrep() function bgrep() { - find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f -name 'Blueprints' -print0 | xargs -0 grep --color -n "$@" + find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f \( -name 'Blueprints' -o -name '*.bp' \) -print0 | xargs -0 grep --color -n "$@" } case `uname -s` in |