summaryrefslogtreecommitdiff
path: root/chromium/chromecast/chromecast.gni
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-07 13:12:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:02:59 +0000
commit33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch)
treef6af110909c79b2759136554f1143d8b0572af0a /chromium/chromecast/chromecast.gni
parent7d2c5d177e9813077a621df8d18c0deda73099b3 (diff)
downloadqtwebengine-chromium-33fc33aa94d4add0878ec30dc818e34e1dd3cc2a.tar.gz
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chromecast/chromecast.gni')
-rw-r--r--chromium/chromecast/chromecast.gni16
1 files changed, 11 insertions, 5 deletions
diff --git a/chromium/chromecast/chromecast.gni b/chromium/chromecast/chromecast.gni
index 25ab5309214..76c85bbe78c 100644
--- a/chromium/chromecast/chromecast.gni
+++ b/chromium/chromecast/chromecast.gni
@@ -8,10 +8,20 @@ import("//components/cast_streaming/features.gni")
import("//extensions/buildflags/buildflags.gni")
import("//media/media_options.gni")
-# This args block should contain arguments used within the //chromecast
+# These args blocks should contain arguments used within the //chromecast
# directory. Arguments which are used in other Chrome components should
# be instead declared in //build/config/chromecast_build.gni.
declare_args() {
+ # True if Chromecast build is targeted for linux desktop. This type of build
+ # is useful for testing and development, but currently supports only a subset
+ # of Cast functionality. Though this defaults to true for x86 Linux devices,
+ # this should be overridden manually for an embedded x86 build.
+ is_cast_desktop_build =
+ target_os == "linux" && (target_cpu == "x86" || target_cpu == "x64") &&
+ enable_cast_receiver
+}
+
+declare_args() {
# If true, IS_CAST_DEBUG_BUILD() will evaluate to 1 in version.h. Otherwise,
# it will evaluate to 0. Overriding this when is_debug=false is useful for
# doing engineering builds.
@@ -51,10 +61,6 @@ declare_args() {
# Set to true for builds targeting ARC.
is_android_arc = false
- # Set true if the platform works as a single volume device, mapping all
- # volume streams to a single one.
- is_single_volume = false
-
if (is_android) {
# Set to true to get logcat from a remote service
# If false, will only get the logs of the app.