blob: f4d0526dc93e043dd27d0c96962a937fccbc9c0a [file] [log] [blame]
# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/cast.gni")
import("//build/config/features.gni")
import("//ppapi/buildflags/buildflags.gni")
declare_args() {
# Whether or not to use external popup menu.
use_external_popup_menu = is_android || (is_apple && use_blink)
# Whether to perform critical memory pressure handling when in foreground (if
# false, critical memory pressure is treated like moderate pressure in foreground).
allow_critical_memory_pressure_handling_in_foreground =
is_castos || is_cast_android
# Whether or not MBI mode (Multiple Blink Isolates) should be enabled,
# depending on the build argument.
mbi_mode = is_linux || is_chromeos || is_mac || is_win || is_android
# We allow legacy IPC to be enabled for Pepper usage.
content_enable_legacy_ipc = enable_ppapi
}