summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2020-09-15 02:32:35 +0100
committer Martin Stjernholm <mast@google.com> 2020-09-25 00:33:04 +0100
commitb024957791e7337167b8209c8b3d2a5ca9cb636e (patch)
treebed9c26ab07eff4fb0ce16b4a7c15b9478cae34d /java/java.go
parent191c25f589c8018fddb5c3c4e12888c25ae61365 (diff)
Propagate all sanitizer flags in SDK snapshots.
liblog snapshot needs to sanitizer.address=false to avoid cycle in asan builds. Adding that separately in library_sdk_member.go would start to feel like whack-a-mole, so the snapshot generation is instead extended to handle nested property structs. This uses the BpPropertySet.AddProperty extension in https://r.android.com/1423510, and common value optimisation now recurses into non-anonymous structs, instead of comparing them as a whole. Test: m nothing Test: `m SANITIZE_TARGET=address nothing` with prebuilts/runtime present in the manifest and a fresh snapshot made with this Bug: 151303681 Change-Id: I472554117a488e6c800045cb2ed59377778571a4
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions