blob: dd47e0d44da16dbe96973363ae45680ab594b5c6 [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")
declare_args() {
# 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
}