aboutsummaryrefslogtreecommitdiffstats
path: root/python/defaults.go
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2019-07-11 16:18:47 +0900
committerJooyung Han <jooyung@google.com>2019-07-16 02:28:29 +0900
commit12df5fb47174ac5a4f365deb99942644092b549b (patch)
tree1cd56d9f4d6a8ebce1766c74ec375f805798dd55 /python/defaults.go
parentb940a1499b7edea4e0d21f8d97a08497f76f0c40 (diff)
downloadbuild_soong-12df5fb47174ac5a4f365deb99942644092b549b.tar.gz
build_soong-12df5fb47174ac5a4f365deb99942644092b549b.tar.bz2
build_soong-12df5fb47174ac5a4f365deb99942644092b549b.zip
soong: Fix AndroidMk with *Required properties
java.Module is using "Custom" function to write Android.mk. And if "hostdex" is set to "true", it writes "hostdex" module definition as well as original module. As of now, Required/Host_required/Target_required props are filled in the AndroidMkEntries structure(aosp/939505). But these are not passed to old AndroidMkData.Custom function. So, if a java_library declares "hostdex:true" and "required:[...]" together, "required" is not applied to the "hostdex" variant. This change copies *Required props from AndroidMkEntries to AndroidMkData before calling its Custom callback. Test: m (runs soong unit tests) Change-Id: I5f85714f721a2a0917ab18072dbea52294c770e7
Diffstat (limited to 'python/defaults.go')
0 files changed, 0 insertions, 0 deletions