aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-04-25 15:06:01 -0700
committerColin Cross <ccross@android.com>2018-04-30 16:19:31 -0700
commit645332d50167260d7fd327233427724cd692c107 (patch)
treed383c9fabfd3e3909bf3f711402c157c8a90a418 /README.md
parent89c31581a52e4534e1a726f49d700250d676e1a2 (diff)
downloadbuild_soong-645332d50167260d7fd327233427724cd692c107.tar.gz
build_soong-645332d50167260d7fd327233427724cd692c107.tar.bz2
build_soong-645332d50167260d7fd327233427724cd692c107.zip
Document glob patterns
Bug: 71906438 Test: none Change-Id: Ic18f2dc5d91b30ff2b5beb8047d98591ba70ee00
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index b3239e9a..3549b025 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,14 @@ all Android.bp files.
For a list of valid module types and their properties see
[$OUT_DIR/soong/.bootstrap/docs/soong_build.html](https://go/Android.bp).
+### Globs
+
+Properties that take a list of files can also take glob patterns. Glob
+patterns can contain the normal Unix wildcard `*`, for example "*.java". Glob
+patterns can also contain a single `**` wildcard as a path element, which will
+match zero or more path elements. For example, `java/**/*.java` will match
+`java/Main.java` and `java/com/android/Main.java`.
+
### Variables
An Android.bp file may contain top-level variable assignments: