Disable XOM in libjpeg.
Some of the handwritten assembly in ./simd/arm64/jsimd_neon.S
contains data intermixed with code. This is incompatible with
execute-only memory layouts, so we need to disable XOM in this library.
Bug: 77958880
Test: No more xom-related crashes in libjpeg.
Change-Id: Ie79c0bc23d6ae8cf40d45fa53a50aba7259c90de
diff --git a/Android.bp b/Android.bp
index 39f06bd..f69f64e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -201,6 +201,7 @@
],
},
},
+ xom: false,
}
// Also build as a shared library.