platform_build_soong/bpfix
Sasha Smundak 177a1a589d Fix crash in mergeListProperties
The value of a property to be merged may be a reference to a variable.
When we first create an attribute for a makefile variable (e.g. we
create 'android_static_libs' from LOCAL_STATIC_ANDROID_LIBRARIES), we
set its type correctly. However, reparse in bpfix erases this
information, so by the time 'android_static_libs' attribute is to be
merged with 'static_libs', it has no type and merge occurs. It isn't
easy to fix properly, so just don't merge in such case, Soong will
complain and it will be fixed manually.

Fixes: 125519127
Test: unit tests in androidmk_test.go
Change-Id: Ic66d7ab686a2fdde987f32e2b204c72d9bf0d026
2019-03-11 10:11:17 -07:00
..
bpfix Fix crash in mergeListProperties 2019-03-11 10:11:17 -07:00
cmd Fix usage of bytes.NewBuffer in bpfix 2018-05-07 16:22:22 -07:00
Android.bp Revert "Revert "Initial implementation of bpfix"" 2017-06-19 15:52:15 -07:00