blob: 1381ddc574cb37b12ca8bee8f85336b2256e366d [file] [log] [blame]
thakis18e426412017-03-15 12:06:371# Copyright 2017 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Luke Halliwell16136de2017-07-05 21:15:565import("//build/config/chromecast_build.gni")
6
thakis18e426412017-03-15 12:06:377declare_args() {
8 # Whether or not to use external popup menu.
9 use_external_popup_menu = is_android || is_mac
Luke Halliwell16136de2017-07-05 21:15:5610
11 # Whether to perform critical memory pressure handling when in foreground (if
12 # false, critical memory pressure is treated like moderate pressure in foreground).
Ryan Keane190beb32022-06-16 01:08:1013 allow_critical_memory_pressure_handling_in_foreground =
14 is_castos || is_cast_android
Dominic Farolino2bcc0b5a2020-12-08 20:32:4115
16 # Whether or not MBI mode (Multiple Blink Isolates) should be enabled,
17 # depending on the build argument.
18 mbi_mode = is_linux || is_chromeos || is_mac || is_win || is_android
thakis18e426412017-03-15 12:06:3719}
Robert Sesek3f789b502019-10-08 21:43:0720
Dominic Farolino2bcc0b5a2020-12-08 20:32:4121enable_screen_capture =
Bryant Chandlera4e835f52022-05-13 17:51:3522 is_linux || is_chromeos || is_mac || is_win || is_android || is_fuchsia