thakis | 18e42641 | 2017-03-15 12:06:37 | [diff] [blame] | 1 | # 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 Halliwell | 16136de | 2017-07-05 21:15:56 | [diff] [blame] | 5 | import("//build/config/chromecast_build.gni") |
| 6 | |
thakis | 18e42641 | 2017-03-15 12:06:37 | [diff] [blame] | 7 | declare_args() { |
| 8 | # Whether or not to use external popup menu. |
| 9 | use_external_popup_menu = is_android || is_mac |
Luke Halliwell | 16136de | 2017-07-05 21:15:56 | [diff] [blame] | 10 | |
| 11 | # Whether to perform critical memory pressure handling when in foreground (if |
| 12 | # false, critical memory pressure is treated like moderate pressure in foreground). |
| 13 | allow_critical_memory_pressure_handling_in_foreground = is_chromecast |
Dominic Farolino | 2bcc0b5a | 2020-12-08 20:32:41 | [diff] [blame^] | 14 | |
| 15 | # Whether or not MBI mode (Multiple Blink Isolates) should be enabled, |
| 16 | # depending on the build argument. |
| 17 | mbi_mode = is_linux || is_chromeos || is_mac || is_win || is_android |
thakis | 18e42641 | 2017-03-15 12:06:37 | [diff] [blame] | 18 | } |
Robert Sesek | 3f789b50 | 2019-10-08 21:43:07 | [diff] [blame] | 19 | |
Dominic Farolino | 2bcc0b5a | 2020-12-08 20:32:41 | [diff] [blame^] | 20 | enable_screen_capture = |
| 21 | is_linux || is_chromeos || is_mac || is_win || is_android |