summaryrefslogtreecommitdiff
path: root/android/defs.go
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2016-10-20 01:36:11 -0700
committer Dan Albert <danalbert@google.com> 2016-10-20 13:30:07 -0700
commitc6345fb7ec656e18933f654197c2a6972270fead (patch)
treebdf9f40d9b9fb6cd911fc2795a2acf7b721dc709 /android/defs.go
parent7b872837c6d13dc5828978d18d55f4956c046a61 (diff)
Add a "license" property to ndk_headers.
This field points to the license file for the headers being shipped. Test: make ndk && less $SOONG_OUT/ndk/NOTICE Bug: None Change-Id: I386f4e6f6d9776f422ffc09b8dab69e1911b08a4
Diffstat (limited to 'android/defs.go')
-rw-r--r--android/defs.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/defs.go b/android/defs.go
index 6e28de724..d7e2a9f72 100644
--- a/android/defs.go
+++ b/android/defs.go
@@ -74,6 +74,12 @@ var (
},
"error")
+ Cat = pctx.AndroidStaticRule("Cat",
+ blueprint.RuleParams{
+ Command: "cat $in > $out",
+ Description: "concatenate licenses $out",
+ })
+
// Used only when USE_GOMA=true is set, to restrict non-goma jobs to the local parallelism value
localPool = blueprint.NewBuiltinPool("local_pool")
)