自己动手定制Chromium系列之四:Chromium 58的一个编译配置

aec_untrusted_delay_for_testing

    Current value (from the default) = false
      From //third_party/webrtc/modules/audio_processing/BUILD.gn:17


    Disables the usual mode where we trust the reported system delay
    values the AEC receives. The corresponding define is set appropriately
    in the code, but it can be force-enabled here for testing.


allow_posix_link_time_opt
    Current value (from the default) = false
      From //build/toolchain/toolchain.gni:16


    Enable Link Time Optimization in optimized builds (output programs run
    faster, but linking is up to 5-20x slower).
    Note: use target_os == "linux" rather than is_linux so that it does not
    apply to host_toolchain when target_os="android".


android_full_debug
    Current value (from the default) = false
      From //build/config/compiler/BUILD.gn:32


    Normally, Android builds are lightly optimized, even for debug builds, to
    keep binary size down. Setting this flag to true disables such optimization


apm_debug_dump
    Current value (from the default) = false
      From //third_party/webrtc/webrtc.gni:57


    Selects whether debug dumps for the audio processing module
    should be generated.


asan_globals
    Current value (from the default) = true
      From //build/config/sanitizers/sanitizers.gni:140


    Detect overflow/underflow for global objects.
   
    Mac: http://crbug.com/352073


auto_profile_path
    Current value (from the default) = ""
      From //build/config/compiler/BUILD.gn:90


    AFDO (Automatic Feedback Directed Optimizer) is a form of profile-guided
    optimization that GCC supports. It used by ChromeOS in their official
    builds. To use it, set auto_profile_path to the path to a file containing
    the needed gcov profiling data.


binutils_path
    Current value (from the default) = "../../third_party/binutils/Linux_x64/Release/bin"
      From //build/config/compiler/BUILD.gn:41


blink_gc_plugin
    Current value (from the default) = true
      From //third_party/WebKit/Source/BUILD.gn:17


    Set to true to enable the clang plugin that checks the usage of the  Blink
    garbage-collection infrastructure during compilation.


blink_gc_plugin_option_do_dump_graph
    Current value (from the default) = false
      From //third_party/WebKit/Source/BUILD.gn:21


    Set to true to have the clang Blink GC plugin emit class graph (in JSON)
    with typed pointer edges; for debugging or other (internal) uses.


blink_gc_plugin_option_use_chromium_style_naming
    Current value (from the default) = false
      From //third_party/WebKit/Source/BUILD.gn:31


    Set to true to have the clang Blink GC plugin use Chromium-style naming
    rather than legacy Blink name.
    TODO(https://crbug.com/675879): Remove this option after the Blink rename.


blink_gc_plugin_option_warn_unneeded_finalizer
    Current value (from the default) = false
      From //third_party/WebKit/Source/BUILD.gn:26


    Set to true to have the clang Blink GC plugin additionally check if
    a class has an empty destructor which would be unnecessarily invoked
    when finalized.


blink_logging_always_on
    Current value (from the default) = false
      From //third_party/WebKit/Source/config.gni:22


    If true, enables WTF::ScopedLogger unconditionally.
    When false, WTF::ScopedLogger is enabled only if assertions are enabled.


build_angle_deqp_tests
    Current value (from the default) = false
      From //third_party/angle/src/tests/BUILD.gn:204


    Don't build dEQP by default.


build_libsrtp_tests
    Current value (from the default) = false
      From //third_party/libsrtp/BUILD.gn:10


    Tests may not be appropriate for some build environments, e.g. Windows.
    Rather than enumerate valid options, we just let clients ask for them.


build_sfntly_samples
    Current value (from the default) = false
      From //third_party/sfntly/BUILD.gn:9


    Flip to true to build sfntly sample programs.


build_with_mozilla
    Current value (from the default) = false
      From //third_party/webrtc/webrtc.gni:79


    Enable to use the Mozilla internal settings.


cc_wrapper
    Current value (from the default) = ""
      From //build/toolchain/cc_wrapper.gni:36


    Set to "ccache", "icecc" or "distcc".  Probably doesn't work on windows.


chrome_pgo_phase
    Current value (from the default) = 0
      From //build/config/compiler/pgo/pgo.gni:13


    Specify the current PGO phase.
    Here's the different values that can be used:
        0 : Means that PGO is turned off.
        1 : Used during the PGI (instrumentation) phase.
        2 : Used during the PGO (optimization) phase.
   
    TODO(sebmarchand): Add support for the PGU (update) phase.


clang_base_path
    Current value (from the default) = "//third_party/llvm-build/Release+Asserts"
      From //build/config/clang/clang.gni:12


clang_use_chrome_plugins
    Current value (from the default) = false
      From //build/config/clang/clang.gni:10


    Indicates if the build should use the Chrome-specific plugins for enforcing
    coding guidelines, etc. Only used when compiling with Clang.


clang_version
    Current value (from the default) = "5.0.0"
      From //build/toolchain/toolchain.gni:53


    Clang compiler version. Clang files are placed at version-dependent paths.


compute_grit_inputs_for_analyze
    Current value (from the default) = false
      From //tools/grit/grit_rule.gni:108


    When set, this will fork out to grit at GN-time to get all inputs
    referenced by the .grd file.
   
    Normal builds don't need this since proper incremental builds are handled
    by grit writing out the inputs in .d files at build-time. But for analyze
    to work on the bots, it needs to know about all input files at GN-time so
    it knows which tests to trigger when something changes. This option will
    slow down the GN run.


concurrent_links
    Current value (from the default) = -1
      From //build/toolchain/concurrent_links.gni:19


    Limit the number of concurrent links; we often want to run fewer
    links at once than we do compiles, because linking is memory-intensive.
    The default to use varies by platform and by the amount of memory
    available, so we call out to a script to get the right value.


content_shell_product_name
    Current value (from the default) = "Content Shell"
      From //content/shell/BUILD.gn:27


content_shell_version
    Current value (from the default) = "99.77.34.5"
      From //content/shell/BUILD.gn:28


current_cpu
    Current value (from the default) = ""
      (Internally set; try `gn help current_cpu`.)


current_os
    Current value (from the default) = ""
      (Internally set; try `gn help current_os`.)


custom_toolchain
    Current value (from the default) = ""
      From //build/config/BUILDCONFIG.gn:143


    Allows the path to a custom target toolchain to be injected as a single
    argument, and set as the default toolchain.


dcheck_always_on
    Current value (from the default) = false
      From //build/config/dcheck_always_on.gni:7


    Set to true to enable dcheck in Release builds.


debug_devtools
    Current value (from the default) = false
      From //third_party/WebKit/public/public_features.gni:12


    If debug_devtools is set to true, JavaScript files for DevTools are stored
    as is and loaded from disk. Otherwise, a concatenated file is stored in
    resources.pak. It is still possible to load JS files from disk by passing
    --debug-devtools cmdline switch.


disable_brotli_filter
    Current value (from the default) = false
      From //net/features.gni:25


    Do not disable brotli filter by default.


disable_ffmpeg_video_decoders
    Current value (from the default) = false
      From //media/media_options.gni:96


    On Android, FFMpeg is built without video decoders by default.
    This flag gives the option to override that decision in case there are no
    hardware decoders. To do so, you will also need to update ffmpeg build files
    in order to define which decoders to build in.


disable_file_support
    Current value (from the default) = false
      From //net/features.gni:12


    Disables support for file URLs.  File URL support requires use of icu.


disable_ftp_support
    Current value (from the default) = false
      From //net/features.gni:17


disable_libfuzzer
    Current value (from the default) = false
      From //build/config/sanitizers/sanitizers.gni:86


    Helper variable for testing builds with disabled libfuzzer.
    Not for client use.


enable_ac3_eac3_audio_demuxing
    Current value (from the default) = false
      From //media/media_options.gni:39


    Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since
    it only provides demuxing, and is only useful for AC3/EAC3 audio
    pass-through to HDMI sink on Chromecast.


enable_app_list
    Current value (from the default) = false
      From //chrome/common/features.gni:18


enable_background
    Current value (from the default) = true
      From //chrome/common/features.gni:21


    Enables support for background apps.


enable_basic_print_dialog
    Current value (from the default) = true
      From //chrome/common/features.gni:25


    Enable the printing system dialog for platforms that support printing
    and have a system dialog.


enable_basic_printing
    Current value (from the default) = true
      From //printing/features/features.gni:10


    Enable basic printing support and UI.


enable_captive_portal_detection
    Current value (from the default) = true
      From //chrome/common/features.gni:27


enable_cbcs_encryption_scheme
    Current value (from the default) = false
      From //media/media_options.gni:46


    Enable support for the 'cbcs' encryption scheme added by MPEG Common
    Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016.


enable_cross_trusted
    Current value (from the default) = false
      From //native_client_sdk/src/BUILD.gn:10


    Set to true if cross compiling trusted (e.g. building sel_ldr_arm on x86)
    binaries is supported.


enable_debugallocation
    Current value (from the default) = true
      From //base/allocator/BUILD.gn:13


    Provide a way to force disable debugallocation in Debug builds,
    e.g. for profiling (it's more rare to profile Debug builds,
    but people sometimes need to do that).


enable_dolby_vision_demuxing
    Current value (from the default) = false
      From //media/media_options.gni:55


    Enable Dolby Vision demuxing. Enable by default for Chromecast. Actual
    decoding must be provided by the platform. Note some Dolby Vision profiles
    which are encoded using HEVC require |enable_hevc_demuxing| to be enabled.


enable_extensions
    Current value (from the default) = true
      From //extensions/features/features.gni:8


enable_full_stack_frames_for_profiling
    Current value (from the default) = false
      From //build/config/compiler/BUILD.gn:49


    Compile in such a way as to make it possible for the profiler to unwind full
    stack frames. Setting this flag has a large effect on the performance of the
    generated code than just setting profiling, but gives the profiler more
    information to analyze.
    Requires profiling to be set to true.


enable_google_now
    Current value (from the default) = false
      From //chrome/common/features.gni:31


    Google Now is disabled to prepare for its removal.
    http://crbug.com/539674


enable_hangout_services_extension
    Current value (from the default) = false
      From //chrome/common/features.gni:35


    Hangout services is an extension that adds extra features to Hangouts.
    It is enableable separately to facilitate testing.


enable_hevc_demuxing
    Current value (from the default) = false
      From //media/media_options.gni:50


    Enable HEVC/H265 demuxing. Actual decoding must be provided by the
    platform. Enable by default for Chromecast.


enable_hls_sample_aes
    Current value (from the default) = false
      From //media/media_options.gni:62


    Enable HLS with SAMPLE-AES decryption.
    Enabled by default on the cast desktop implementation to allow unit tests of
    MP2TS parsing support.


enable_hotwording
    Current value (from the default) = false
      From //chrome/common/features.gni:40


    'Ok Google' hotwording is disabled by default. Set to true to enable. (This
    will download a closed-source NaCl module at startup.) Chrome-branded
    ChromeOS builds have this enabled by default.


enable_internal_app_remoting_targets
    Current value (from the default) = false
      From //remoting/remoting_options.gni:18


    Set this to enable building internal AppRemoting apps.


enable_ipc_fuzzer
    Current value (from the default) = false
      From //tools/ipc_fuzzer/ipc_fuzzer.gni:14


enable_iterator_debugging
    Current value (from the default) = true
      From //build/config/BUILD.gn:34


    When set (the default) enables C++ iterator debugging in debug builds.
    Iterator debugging is always off in release builds (technically, this flag
    affects the "debug" config, which is always available but applied by
    default only in debug builds).
   
    Iterator debugging is generally useful for catching bugs. But it can
    introduce extra locking to check the state of an iterator against the state
    of the current object. For iterator- and thread-heavy code, this can
    significantly slow execution.


enable_linux_installer
    Current value (from the default) = false
      From //chrome/installer/BUILD.gn:8


enable_mdns
    Current value (from the default) = true
      From //net/features.gni:28


    Multicast DNS.


enable_media_codec_video_decoder
    Current value (from the default) = false
      From //media/gpu/BUILD.gn:14


    A temporary arg for building MCVD while it's being implemented.
    See http://crbug.com/660942


enable_media_remoting
    Current value (from the default) = true
      From //media/media_options.gni:175


    This switch defines whether the Media Remoting implementation will be built.
    When enabled, media is allowed to be renderer and played back on remote
    devices when the tab is being casted and other conditions are met.


enable_media_router
    Current value (from the default) = true
      From //build/config/features.gni:34


    Enables the Media Router.


enable_memory_task_profiler
    Current value (from the default) = false
      From //base/BUILD.gn:43


    Turn on memory profiling in the task profiler when the heap shim is
    available. Profiling can then be enabled at runtime by passing the command
    line flag --enable-heap-profiling=task-profiler.


enable_mojo_media
    Current value (from the default) = false
      From //media/media_options.gni:104


    Experiment to enable mojo media services (e.g. "renderer", "cdm", see
    |mojo_media_services|). When enabled, selected mojo paths will be enabled in
    the media pipeline and corresponding services will hosted in the selected
    remote process (e.g. "utility" process, see |mojo_media_host|).


enable_mojom_typemapping
    Current value (from the default) = true
      From //mojo/public/tools/bindings/mojom.gni:14


    Indicates whether typemapping should be supported in this build
    configuration. This may be disabled when building external projects which
    depend on //mojo but which do not need/want all of the Chromium tree
    dependencies that come with typemapping.
   
    Note that (perhaps obviously) a huge amount of Chromium code will not build
    with typemapping disabled, so it is never valid to set this to |false| in
    any Chromium build configuration.


enable_mse_mpeg2ts_stream_parser
    Current value (from the default) = false
      From //media/media_options.gni:42


enable_nacl
    Current value (from the default) = true
      From //build/config/features.gni:27


    Enables Native Client support.
    Temporarily disable nacl on arm64 linux to get rid of compilation errors.
    TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion.


enable_nacl_nonsfi
    Current value (from the default) = true
      From //build/config/features.gni:31


    Non-SFI is not yet supported on mipsel


enable_nocompile_tests
    Current value (from the default) = false
      From //build/nocompile.gni:63


enable_one_click_signin
    Current value (from the default) = true
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值