Document glob patterns

Bug: 71906438
Test: none
Change-Id: Ic18f2dc5d91b30ff2b5beb8047d98591ba70ee00
This commit is contained in:
Colin Cross 2018-04-25 15:06:01 -07:00
parent 89c31581a5
commit 645332d501

View file

@ -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: