Lines Matching refs:cpu
442 def GetConfigArgs(args, is_debug, cpu): argument
459 'target_cpu': cpu,
462 if platform == 'linux' and not cpu.startswith('arm'):
472 def GetConfigArgsSandbox(platform, args, is_debug, cpu): argument
512 'target_cpu': cpu,
519 def LinuxSysrootExists(cpu): argument
527 if cpu == 'x86':
529 elif cpu == 'x64':
531 elif cpu == 'arm':
533 elif cpu == 'arm64':
536 raise Exception('Unrecognized sysroot CPU: %s' % cpu)
563 for cpu in ('x86', 'x64', 'arm', 'arm64'):
564 if LinuxSysrootExists(cpu):
565 supported_cpus.append(cpu)
568 % cpu)
584 for cpu in supported_cpus:
586 result['Debug_GN_' + cpu] = GetConfigArgs(args, True, cpu)
587 result['Release_GN_' + cpu] = GetConfigArgs(args, False, cpu)
593 result['Debug_GN_' + cpu + '_sandbox'] = GetConfigArgsSandbox(
594 platform, args, True, cpu)
595 result['Release_GN_' + cpu + '_sandbox'] = GetConfigArgsSandbox(
596 platform, args, False, cpu)