blob: 9a366c7bfeadd546485e71942e9a0e672d9afa5a [file] [log] [blame]
# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file contains feature and optimization overrides that are commonly
# required or useful for Cast Receiver implementations.
# It prioritizes size and disables unneeded features that may add size.
#
# To use it do one of the following:
# * Add the following to your `gn args`:
# import("//build/config/fuchsia/size_optimized_cast_receiver_args.gn")
# * Add the following to `gn_args` in a bot recipe:
# 'args_file': '//build/config/fuchsia/size_optimized_cast_receiver_args.gn'
# There is no reason these values couldn't be used on other platforms, but this
# file is in a fuchsia/ directory and some refactoring would probably be
# appropriate before reusing this file.
# It is not possible to assert the platform because `target_os` is not defined
# when this file is imported.
enable_printing = false
enable_cast_receiver = true
cast_streaming_enable_remoting = true
enable_dav1d_decoder = false
enable_v8_compile_hints = false
# //chrome makes many assumptions that Extensions are enabled.
# TODO(crbug.com/1363742): Fix theses assumptions or avoid building it.
# enable_extensions = false
enable_hidpi = false
enable_libaom = false
enable_library_cdms = false
enable_logging_override = true
enable_pdf = false
enable_plugins = false
optimize_for_size = true
optional_trace_events_enabled = false
# Ensure PGO and ThinLTO are disabled as these optimizations increase the binary
# size (see crbug.com/1322959).
chrome_pgo_phase = 0
use_thin_lto = false