aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-06-02 18:43:59 -0700
committerYing Wang <wangying@google.com>2015-06-02 18:43:59 -0700
commit7dc388bbd97eae6b1e5361bd9d217fe5c0996ee0 (patch)
tree916211b33785aa82bc0186f930d177caabadfbd3
parent2a9e86c9394ca8ca286a30c64fa002b956375425 (diff)
downloadbuild-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.sh2
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