diff options
author | 2019-03-04 22:35:41 -0800 | |
---|---|---|
committer | 2019-03-07 18:36:35 +0000 | |
commit | 27b922f53e938896c0a693a1d9f50e6c9e686ad7 (patch) | |
tree | d3383cbdebb9fb78d8d96fa3a3023764620d483e /bpf/bpf.go | |
parent | 1b48842a4b83ba6234d26ff4c77a0884f5008f62 (diff) |
Annotate paths and deprecate ExtractSource(s)Deps
Add `android:"path"` to all properties that take paths to source
files, and remove the calls to ExtractSource(s)Deps, the
pathsDepsMutator will add the necessary SourceDepTag dependency.
Test: All soong tests
Change-Id: I488ba1a5d680aaa50b04fc38acf693e23c6d4d6d
Diffstat (limited to 'bpf/bpf.go')
-rw-r--r-- | bpf/bpf.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index 4b0d510c0..01e98f118 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -44,7 +44,7 @@ var ( ) type BpfProperties struct { - Srcs []string + Srcs []string `android:"path"` Cflags []string Include_dirs []string } @@ -95,10 +95,6 @@ func (bpf *bpf) GenerateAndroidBuildActions(ctx android.ModuleContext) { } } -func (bpf *bpf) DepsMutator(ctx android.BottomUpMutatorContext) { - android.ExtractSourcesDeps(ctx, bpf.properties.Srcs) -} - func (bpf *bpf) AndroidMk() android.AndroidMkData { return android.AndroidMkData{ Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) { |