diff options
author | Pirama Arumuga Nainar | 2018-04-17 16:58:42 -0500 |
---|---|---|
committer | Pirama Arumuga Nainar | 2018-04-18 13:56:33 -0500 |
commit | 955dc4999e5a7f08a8fa9cd52e528a2156d85d5f (patch) | |
tree | bf075106847ccd1f898d4f7354e21b2abceb19a9 /Android.bp | |
parent | 6284323772a3ac5f7e56ba3601a1e0348bb6c454 (diff) | |
download | platform-build-soong-955dc4999e5a7f08a8fa9cd52e528a2156d85d5f.tar.gz platform-build-soong-955dc4999e5a7f08a8fa9cd52e528a2156d85d5f.tar.xz platform-build-soong-955dc4999e5a7f08a8fa9cd52e528a2156d85d5f.zip |
Fix few issues with filegroups
Bug: http://b/64121881
Bug: http://b/78188880
- Allow filegroup's properties to be extended by a LoadHook
- Support a filegroup (':module') in a prebuilt's 'Srcs' property to
export files from a different path as the prebuilt's sources.
This change also includes a refactoring that moves genrule/filegroup.go
to android/filegroup.go so that FileGroupFactory is visible in
prebuilt_test.go.
Test: Test
https://android-review.googlesource.com/c/platform/development/+/469159
in clang-tools branch on Linux, Darwin. Test regular build in
aosp/master.
Change-Id: I3ff6215ab2e62955f039fd1086c31f1bd50ebcf6
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,6 +46,7 @@ bootstrap_go_package { | |||
46 | "android/defaults.go", | 46 | "android/defaults.go", |
47 | "android/defs.go", | 47 | "android/defs.go", |
48 | "android/expand.go", | 48 | "android/expand.go", |
49 | "android/filegroup.go", | ||
49 | "android/hooks.go", | 50 | "android/hooks.go", |
50 | "android/makevars.go", | 51 | "android/makevars.go", |
51 | "android/module.go", | 52 | "android/module.go", |
@@ -186,7 +187,6 @@ bootstrap_go_package { | |||
186 | "soong-shared", | 187 | "soong-shared", |
187 | ], | 188 | ], |
188 | srcs: [ | 189 | srcs: [ |
189 | "genrule/filegroup.go", | ||
190 | "genrule/genrule.go", | 190 | "genrule/genrule.go", |
191 | ], | 191 | ], |
192 | pluginFor: ["soong_build"], | 192 | pluginFor: ["soong_build"], |