forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
size_optimized_cast_receiver_args.gn
42 lines (36 loc) · 1.55 KB
/
size_optimized_cast_receiver_args.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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
produce_v8_compile_hints = false
# //chrome makes many assumptions that Extensions are enabled.
# TODO(crbug.com/40238815): 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
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