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
This commit is contained in:
Yi Kong
2019-10-14 01:53:46 -07:00
committed by Pirama Arumuga Nainar
parent 8b178a6607
commit 304d4bd65d

View File

@@ -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: [