mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
18 lines
729 B
Plaintext
18 lines
729 B
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//build/config/chromecast_build.gni")
|
||
|
|
||
|
declare_args() {
|
||
|
# Enables Native Client support.
|
||
|
# Temporarily disable nacl on arm64 linux to get rid of compilation errors.
|
||
|
# TODO: When mipsel-nacl-clang is available, drop the exclusion.
|
||
|
enable_nacl = !is_ios && !is_android && !is_fuchsia && !is_chromecast &&
|
||
|
current_cpu != "mipsel" && current_cpu != "mips64el" &&
|
||
|
!(is_linux && target_cpu == "arm64")
|
||
|
|
||
|
# Non-SFI is not yet supported on mipsel
|
||
|
enable_nacl_nonsfi = current_cpu != "mipsel" && current_cpu != "mips64el"
|
||
|
}
|