• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1def match_broken(abi, platform, device_platform, toolchain, subtest=None):
2    lp64_abis = ('arm64-v8a', 'mips64', 'x86_64')
3    if platform is not None:
4        platform_version = int(platform.split('-')[1])
5        if platform_version >= 21:
6            return platform, 'http://b/24468267'
7    elif abi in lp64_abis:
8        # If platform isn't provided we're going to use the default platform
9        # level. For 32-bit ABIs the default is old enough that we'll pass, but
10        # 64-bit ABIs will fail.
11        return 'android-21', 'http://b/24468267'
12    return None, None
13