Lines Matching refs:ARCH
47 ARCH = None variable
65 if _CACHED_TOOLCHAIN is not None and _CACHED_TOOLCHAIN_ARCH == ARCH:
71 gcc_dir = ARCH
83 raise Exception("Could not find tool chain for %s" % (ARCH))
91 _CACHED_TOOLCHAIN_ARCH = ARCH
234 global ARCH
235 if ARCH == "arm":
359 global ARCH
364 ARCH = None
368 ARCH = abi_match.group(1)
377 ARCH = GetAbiFromToolchain("ANDROID_TOOLCHAIN", 64)
378 if not ARCH:
379 ARCH = "arm64"
385 ARCH = GetAbiFromToolchain("ANDROID_TOOLCHAIN_2ND_ARCH", 32)
386 if not ARCH:
387 ARCH = GetAbiFromToolchain("ANDROID_TOOLCHAIN", 32)
388 if not ARCH:
389 ARCH = "arm"
391 if not ARCH:
397 global ARCH
398 ARCH = abi
410 global ARCH
413 self.assertEqual(ARCH, "arm")
415 self.assertEqual(ARCH, "arm64")
418 self.assertEqual(ARCH, "mips")
420 self.assertEqual(ARCH, "mips64")
423 self.assertEqual(ARCH, "x86")
425 self.assertEqual(ARCH, "x86_64")
428 global ARCH
433 self.assertEqual(ARCH, "arm")
438 self.assertEqual(ARCH, "mips")
443 self.assertEqual(ARCH, "x86")
446 global ARCH
452 self.assertEqual(ARCH, "arm")
458 self.assertEqual(ARCH, "mips")
464 self.assertEqual(ARCH, "x86")
467 global ARCH
472 self.assertEqual(ARCH, "arm64")
477 self.assertEqual(ARCH, "mips64")
482 self.assertEqual(ARCH, "x86_64")
485 global ARCH
489 self.assertEqual(ARCH, "arm")
491 self.assertEqual(ARCH, "arm64")
494 global ARCH