From 304d4bd65dfc8cf77d30115c5650e3de1aef544a Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Mon, 14 Oct 2019 01:53:46 -0700 Subject: Disable the new pass manager for libhwui Clang is producing non-deterministic result when the new pass manager is enabled. Turn it off as a temporary workaround. Test: presubmit Bug: 142372146 Change-Id: Ie21d97c0fe6770b0ae9ec103133b940b1eb8a220 --- libs/hwui/Android.bp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs') diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index ebba4cb79dfb..e0896ce311ac 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -28,6 +28,11 @@ cc_defaults { // clang's warning is broken, see: https://llvm.org/bugs/show_bug.cgi?id=21629 "-Wno-missing-braces", + + // Clang is producing non-determistic binary when the new pass manager is + // enabled. Disable the new PM as a temporary workaround. + // b/142372146 + "-fno-experimental-new-pass-manager", ], include_dirs: [ -- cgit v1.2.3-59-g8ed1b