STS test fix for Android Security CVE-2019-2025

Test: sts-tradefed run sts -m StsHostTestCases -t android.security.sts.Poc19_03#testPocCVE_2019_2025
Bug: 126803157
Bug: 116855682
Change-Id: I150e0af4f90c7c779e9506aec23b5ab2dbd87183
diff --git a/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/poc.cpp b/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/poc.cpp
index 58e3c84..48ece98 100644
--- a/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/poc.cpp
+++ b/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/poc.cpp
@@ -13,6 +13,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+#include "../includes/common.h"
+
+#if _64BIT
+
 #include <cutils/ashmem.h>
 #include <dlfcn.h>
 #include <fcntl.h>
@@ -34,7 +39,7 @@
 
 #include "IPCThreadState.h"
 #include "binder/IServiceManager.h"
-#include "../includes/common.h"
+
 
 using namespace android;
 
@@ -169,3 +174,10 @@
   pthread_join(t3, NULL);
   return EXIT_SUCCESS;
 }
+
+#else
+int main() {
+  // do nothing on 32-bit because we can't compile on 32-bit and we need a
+  // binary to push or the filepusher will break on 32-bit.
+}
+#endif