aboutsummaryrefslogtreecommitdiffstats
path: root/root.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-11-01 11:10:25 -0700
committerColin Cross <ccross@android.com>2016-11-04 04:54:16 +0000
commit7f19f37443f35f2fdd50f31bcc9263c002dab424 (patch)
tree1d9d16434a7c8558970017e9f3d0cdf5df0da077 /root.bp
parent28f9094ee7d48a610c482bc5d20ceaf9a95cfaca (diff)
downloadbuild_soong-7f19f37443f35f2fdd50f31bcc9263c002dab424.tar.gz
build_soong-7f19f37443f35f2fdd50f31bcc9263c002dab424.tar.bz2
build_soong-7f19f37443f35f2fdd50f31bcc9263c002dab424.zip
Move globbing to Blueprint
Move Soong's globbing-with-dependencies support into Blueprint so it can be used for subdirs= lines in Android.bp files. Blueprint has a slight change in behavior around subname= lines, it now always uses the subname and doesn't fall back to Blueprints. To support the Blueprints files in build/blueprint, use them directly with build=. Test: build, add source file that matches glob, rebuild Change-Id: Ifd0b0d3bc061aae0a16d6c7ca9a1cd8672656b4d
Diffstat (limited to 'root.bp')
-rw-r--r--root.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/root.bp b/root.bp
index d82e09d2..76e7aee7 100644
--- a/root.bp
+++ b/root.bp
@@ -1,7 +1,10 @@
subname = "Android.bp"
+build = [
+ "build/blueprint/Blueprints",
+]
+
subdirs = [
- "build/blueprint",
"build/soong",
]