xref: /aosp_15_r20/external/cronet/components/nacl/target_cpu.gni (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2022 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# nacl_target_cpu is the CPU architecture to use for the NaCl sandbox.
6#
7# On ARM64 builds of Chromium where NaCl is enabled, we use the 32-bit ARM
8# NaCl sandbox (ARM32/AArch32).  (There is no NaCl sandbox implemented for
9# ARM64.)
10if (target_cpu == "arm64") {
11  nacl_target_cpu = "arm"
12} else {
13  nacl_target_cpu = target_cpu
14}
15