Temporary workaround to avoid test failures when TARGET_2ND_ARCH is arm.

Test: art/build/apex/runtests.sh on aosp_x86_arm-userdebug (tests flattened)
Test: m art-check-{release,debug,testing}-apex-gen-fakebin on aosp_x86_arm-userdebug (tests non-flattened)
Bug: 139046641
Change-Id: I18c36f0e2c3866e8db4c95fb8d505ca4ddc84f46
diff --git a/build/apex/art_apex_test.py b/build/apex/art_apex_test.py
index b6d6344..746bf7a 100755
--- a/build/apex/art_apex_test.py
+++ b/build/apex/art_apex_test.py
@@ -541,6 +541,12 @@
     self._checker.check_native_library('libpac')
     self._checker.check_native_library('libz')
 
+    # TODO(b/139046641): Fix proper 2nd arch checks. For now, just ignore these
+    # directories.
+    self._checker.ignore_path('bin/arm')
+    self._checker.ignore_path('lib/arm')
+    self._checker.ignore_path('lib64/arm')
+
 
 class ReleaseHostChecker:
   def __init__(self, checker):