cc: Remove unneeded ubsan library linkage on host
The sanitizer runtime logic was rewritten in aosp/2438959 to simplify static sanitizer library selection. However, enabling ubsan diagnostics for host tests would result in incorrectly adding an unnecessary libclang_rt.asan.so dependency. This check should have been removed as well -- the library dep determination for c.sanitize.Properties.UbsanRuntimeDep is now handled higher up in the logic. (Some formatting fixes are included as well) Bug: 323237381 Test: UBSanitized Host test with diagnostics runs correctly. Change-Id: I97bd01344b7b676fccb9f250c0f801b8bc212a1a
Loading
Please register or sign in to comment