webrtc 常用编译参数列表

2023-11-09

additional_target_cpus
    Current value (from the default) = []
      From //build/config/ios/ios_sdk.gni:58

    If non-empty, this list must contain valid cpu architecture, and the final
    build will be a multi-architecture build (aka fat build) supporting the
    main $target_cpu architecture and all of $additional_target_cpus.
   
    For example to build an application that will run on both arm64 and armv7
    devices, you would use the following in args.gn file when running "gn args":
   
      target_os = "ios"
      target_cpu = "arm64"
      additional_target_cpus = [ "arm" ]
   
    You can also pass the value via "--args" parameter for "gn gen" command by
    using the syntax --args='additional_target_cpus=["arm"] target_cpu="arm64"'.

aec_untrusted_delay_for_testing
    Current value (from the default) = false
      From //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:17

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

    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 //webrtc/webrtc.gni:69

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

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

    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:97

    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:51

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_with_mozilla
    Current value (from the default) = false
      From //webrtc/webrtc.gni:89

    Enable to use the Mozilla internal settings.

bundle_pool_depth
    Current value (from the default) = -1
      From //build/toolchain/mac/BUILD.gn:29

    Reduce the number of tasks using the copy_bundle_data and compile_xcassets
    tools as they can cause lots of I/O contention when invoking ninja with a
    large number of parallel jobs (e.g. when using distributed build like goma).

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) = true
      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) = "6.0.0"
      From //build/toolchain/toolchain.gni:67

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

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.

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:147

    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.

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

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

enable_dsyms
    Current value (from the default) = false
      From //build/config/mac/symbols.gni:17

    Produce dSYM files for targets that are configured to do so. dSYM
    generation is controlled globally as it is a linker output (produced via
    the //build/toolchain/mac/linker_driver.py. Enabling this will result in
    all shared library, loadable module, and executable targets having a dSYM
    generated.

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

    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_ios_bitcode
    Current value (from the default) = false
      From //build/config/ios/BUILD.gn:23

    Enabling this option makes clang compile to an intermediate
    representation ("bitcode"), and not to native code. This is preferred
    when including WebRTC in the apps that will be sent to Apple's App Store
    and mandatory for the apps that run on watchOS or tvOS.
    The option only works when building with Xcode (use_xcode_clang = true).
    Mimicking how Xcode handles it, the production builds (is_debug = false)
    get real bitcode sections added, while the debug builds (is_debug = true)
    only get bitcode-section "markers" added in them.
    NOTE: This option is ignored when building versions for the iOS simulator,
    where a part of libvpx is compiled from the assembly code written using
    Intel assembly syntax; Yasm / Nasm do not support emitting bitcode parts.
    That is not a limitation for now as Xcode mandates the presence of bitcode
    only when building bitcode-enabled projects for real devices (ARM CPUs).

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_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:32

    Non-SFI is not yet supported on mipsel

enable_precompiled_headers
    Current value (from the default) = true
      From //build/config/pch.gni:11

    Precompiled header file support is by default available,
    but for distributed build system uses (like goma) or when
    doing official builds.

enable_profiling
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:28

    Compile in such a way as to enable profiling of the generated code. For
    example, don't omit the frame pointer and leave in symbols.

enable_resource_whitelist_generation
    Current value (from the default) = false
      From //build/config/android/config.gni:369

    Enables used resource whitelist generation. Set for official builds only
    as a large amount of build output is generated.

enable_stripping
    Current value (from the default) = false
      From //build/config/mac/symbols.gni:24

    Strip symbols from linked targets by default. If this is enabled, the
    //build/config/mac:strip_all config will be applied to all linked targets.
    If custom stripping parameters are required, remove that config from a
    linked target and apply custom -Wcrl,strip flags. See
    //build/toolchain/mac/linker_driver.py for more information.

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

    Omit unwind support in official builds to save space.
    We can use breakpad for these builds.

fatal_linker_warnings
    Current value (from the default) = true
      From //build/config/compiler/BUILD.gn:86

    Enable fatal linker warnings. Building Chromium with certain versions
    of binutils can cause linker warning.
    See: https://bugs.chromium.org/p/chromium/issues/detail?id=457359

fieldtrial_testing_like_official_build
    Current value (from the default) = false
      From //build/config/features.gni:56

    Set to true make a build that disables activation of field trial tests
    specified in testing/variations/fieldtrial_testing_config_*.json.
    Note: this setting is ignored if is_chrome_branded.

full_wpo_on_official
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:119

gcc_target_rpath
    Current value (from the default) = ""
      From //build/config/gcc/BUILD.gn:18

    When non empty, overrides the target rpath value. This allows a user to
    make a Chromium build where binaries and shared libraries are meant to be
    installed into separate directories, like /usr/bin/chromium and
    /usr/lib/chromium for instance. It is useful when a build system that
    generates a whole target root filesystem (like Yocto) is used on top of gn,
    especially when cross-compiling.
    Note: this gn arg is similar to gyp target_rpath generator flag.

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

    Used for binary size analysis.
    Currently disabled on LLD because of a bug (fixed upstream).
    See https://crbug.com/716209.

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

    When we are going to use gold we need to find it.
    This is initialized below, after use_gold might have been overridden.

goma_dir
    Current value (from the default) = "/Users/ilong/goma"
      From //build/toolchain/goma.gni:17

    Absolute directory containing the gomacc binary.

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

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

host_pkg_config
    Current value (from the default) = ""
      From //build/config/linux/pkg_config.gni:36

    A optional pkg-config wrapper to use for tools built on the host.

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

    This should not normally be set as a build argument.  It's here so that
    every toolchain can pass through the "global" value via toolchain_args().

ios_app_bundle_id_prefix
    Current value (from the default) = "org.chromium"
      From //build/config/ios/ios_sdk.gni:33

    Prefix for CFBundleIdentifier property of iOS bundles (correspond to the
    "Organization Identifier" in Xcode). Code signing will fail if no mobile
    provisioning for the selected code signing identify support that prefix.

ios_automatically_manage_certs
    Current value (from the default) = true
      From //build/config/ios/ios_sdk.gni:39

    If true, then allow using Xcode to automatically manage certificates. This
    requires loading a separate Xcode project and enable automatically managed
    certificates. When true, all test application will use the same bundle id
    to avoid running out of certificates if using a free account.

ios_code_signing_identity
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:27

ios_code_signing_identity_description
    Current value (from the default) = "iPhone Developer"
      From //build/config/ios/ios_sdk.gni:28

ios_deployment_target
    Current value (from the default) = "9.0"
      From //build/config/ios/ios_sdk.gni:21

    Version of iOS that we're targeting.

ios_enable_code_signing
    Current value (from the default) = true
      From //build/config/ios/ios_sdk.gni:26

    The iOS Code signing identity to use
    TODO(GYP), TODO(sdfresne): Consider having a separate
    ios_enable_code_signing_flag=<bool> flag to make the invocation clearer.

ios_enable_coverage
    Current value (from the default) = false
      From //build/config/ios/ios_sdk.gni:43

    Enabling this option makes clang compile for profiling to gather code
    coverage metrics.

ios_sdk_name
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:11

ios_sdk_path
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:10

    SDK path to use. When empty this will use the default SDK based on the
    value of use_ios_simulator.

ios_sdk_platform
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:13

ios_sdk_platform_path
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:14

ios_sdk_version
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:12

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

    Compile for Address Sanitizer to find memory bugs.

is_cast_audio_only
    Current value (from the default) = false
      From //build/config/chromecast_build.gni:14

    Set this true for an audio-only Chromecast build.

is_cast_desktop_build
    Current value (from the default) = false
      From //build/config/chromecast_build.gni:26

    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 overriden manually for an embedded x86 build.
    TODO(slan): Remove instances of this when x86 is a fully supported platform.

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

    Compile with Control Flow Integrity to protect virtual calls and casts.
    See http://clang.llvm.org/docs/ControlFlowIntegrity.html
   
    TODO(pcc): Remove this flag if/when CFI is enabled in all official builds.

is_chrome_branded
    Current value (from the default) = false
      From //build/config/chrome_build.gni:9

    Select the desired branding flavor. False means normal Chromium branding,
    true means official Google Chrome branding (requires extra Google-internal
    resources).

is_chromecast
    Current value (from the default) = false
      From //build/config/chromecast_build.gni:11

    Set this true for a Chromecast build. Chromecast builds are supported on
    Linux and Android.

is_clang
    Current value (from the default) = true
      From //build/config/BUILDCONFIG.gn:139

is_component_build
    Current value = false
      From //.gn:38
    Overridden from the default = false
      From //build/config/BUILDCONFIG.gn:169

is_debug
    Current value (from the default) = true
      From //build/config/BUILDCONFIG.gn:158

    Debug build. Enabling official builds automatically sets is_debug to false.

is_desktop_linux
    Current value (from the default) = false
      From //build/config/BUILDCONFIG.gn:134

    Whether we're a traditional desktop unix.

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

    Compile for Leak Sanitizer to find leaks.

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

    Compile for Memory Sanitizer to find uninitialized reads.

is_multi_dll_chrome
    Current value (from the default) = false
      From //build/config/chrome_build.gni:13

    Break chrome.dll into multple pieces based on process type. Only available
    on Windows.

is_official_build
    Current value (from the default) = false
      From //build/config/BUILDCONFIG.gn:131

    Set to enable the official build level of optimization. This has nothing
    to do with branding, but enables an additional level of optimization above
    release (!is_debug). This might be better expressed as a tri-state
    (debug, release, official) but for historical reasons there are two
    separate flags.

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

    Enable building with SyzyAsan which can find certain types of memory
    errors. Only works on Windows. See
    https://github.com/google/syzygy/wiki/SyzyASanHowTo

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

    Compile for Thread Sanitizer to find threading bugs.

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

    Compile for Undefined Behaviour Sanitizer to find various types of
    undefined behaviour (excludes vptr checks).

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

    Halt the program if a problem is detected.

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

    Compile for Undefined Behaviour Sanitizer's null pointer checks.

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

    Enables core ubsan security features. Will later be removed once it matches
    is_ubsan.

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

    Compile for Undefined Behaviour Sanitizer's vptr checks.

is_win_fastlink
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:45

    Tell VS to create a PDB that references information in .obj files rather
    than copying it all. This should improve linker performance. mspdbcmf.exe
    can be used to convert a fastlink pdb to a normal one.

libcpp_is_static
    Current value (from the default) = true
      From //build/config/c++/c++.gni:33

    ASan, MSan and TSan builds need to override operator new, operator delete,
    and some exception handling symbols, so libc++ must be a shared library to
    prevent duplicate symbol errors when linking.
    Additionally, -fsanitize=vptr requires libc++ to be a shared library
    because the ubsan runtime library that implements -fsanitize=vptr calls
    dynamic_cast with the ABI type info classes, which won't return the right
    answer if each DSO has its own copy of the ABI classes.

libyuv_disable_jpeg
    Current value (from the default) = false
      From //third_party/libyuv/libyuv.gni:15

libyuv_include_tests
    Current value (from the default) = true
      From //third_party/libyuv/libyuv.gni:14

libyuv_use_gflags
    Current value (from the default) = true
      From //third_party/libyuv/BUILD.gn:14

    Set to false to disable building with gflags.

libyuv_use_msa
    Current value (from the default) = false
      From //third_party/libyuv/libyuv.gni:18

libyuv_use_neon
    Current value (from the default) = true
      From //third_party/libyuv/libyuv.gni:16

linkrepro_root_dir
    Current value (from the default) = ""
      From //build/config/compiler/compiler.gni:63

    Root directory that will store the MSVC link repro. This should only be
    used for debugging purposes on the builders where a MSVC linker flakyness
    has been observed. The targets for which a link repro should be generated
    should add somethink like this to their configuration:
      if (linkrepro_root_dir != "") {
        ldflags = ["/LINKREPRO:" + linkrepro_root_dir + "/" + target_name]
      }
   
    Note that doing a link repro uses a lot of disk space and slows down the
    build, so this shouldn't be enabled on too many targets.
   
    See crbug.com/669854.

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

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

    If this is set to true, or if LLVM_FORCE_HEAD_REVISION is set to 1
    in the environment, we use the revision in the llvm repo to determine
    the CLANG_REVISION to use, instead of the version hard-coded into
    //tools/clang/scripts/update.py. This should only be used in
    conjunction with setting LLVM_FORCE_HEAD_REVISION in the
    environment when `gclient runhooks` is run as well.

mac_deployment_target
    Current value (from the default) = "10.9.0"
      From //build/config/mac/mac_sdk.gni:12

    Minimum supported version of macOS. Must be of the form x.x.x for
    Info.plist files.

mac_sdk_min
    Current value = "10.11"
      From //.gn:40
    Overridden from the default = "10.12"
      From //build/config/mac/mac_sdk_overrides.gni:12

mac_sdk_name
    Current value (from the default) = "macosx"
      From //build/config/mac/mac_sdk.gni:20

    The SDK name as accepted by xcodebuild.

mac_sdk_path
    Current value (from the default) = ""
      From //build/config/mac/mac_sdk.gni:17

    Path to a specific version of the Mac SDK, not including a slash at the end.
    If empty, the path to the lowest version greater than or equal to
    mac_sdk_min is used.

machine_os_build
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:18

msan_track_origins
    Current value (from the default) = 2
      From //build/config/sanitizers/sanitizers.gni:38

    Track where uninitialized memory originates from. From fastest to slowest:
    0 - no tracking, 1 - track only the initial allocation site, 2 - track the
    chain of stores leading from allocation site to use site.

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

    Use absolute file paths in the compiler diagnostics and __FILE__ macro
    if needed.

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

    Optimize for coverage guided fuzzing (balance between speed and number of
    branches)

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

    If true, optimize for size. Does not affect windows builds.
    Linux & Mac favor speed over size.
    TODO(brettw) it's weird that Mac and desktop Linux are different. We should
    explore favoring size over speed in this case as well.

pgo_data_path
    Current value (from the default) = ""
      From //build/config/compiler/pgo/pgo.gni:16

    When using chrome_pgo_phase = 2, read profile data from this path.

pkg_config
    Current value (from the default) = ""
      From //build/config/linux/pkg_config.gni:33

    A pkg-config wrapper to call instead of trying to find and call the right
    pkg-config directly. Wrappers like this are common in cross-compilation
    environments.
    Leaving it blank defaults to searching PATH for 'pkg-config' and relying on
    the sysroot mechanism to find the right .pc files.

proprietary_codecs
    Current value (from the default) = false
      From //build/config/features.gni:39

    Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4.
    We always build Google Chrome and Chromecast with proprietary codecs.
   
    Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it
    out of //build will require using the build_overrides directory.

rtc_audio_device_plays_sinus_tone
    Current value (from the default) = false
      From //webrtc/webrtc.gni:157

    When set to true, replace the audio output with a sinus tone at 440Hz.
    The ADM will ask for audio data from WebRTC but instead of reading real
    audio samples from NetEQ, a sinus tone will be generated and replace the
    real audio samples.

rtc_build_json
    Current value (from the default) = true
      From //webrtc/webrtc.gni:78

    Disable these to not build components which can be externally provided.

rtc_build_libevent
    Current value (from the default) = false
      From //webrtc/webrtc.gni:115

rtc_build_libsrtp
    Current value (from the default) = true
      From //webrtc/webrtc.gni:79

rtc_build_libvpx
    Current value (from the default) = true
      From //webrtc/webrtc.gni:80

rtc_build_libyuv
    Current value (from the default) = true
      From //webrtc/webrtc.gni:82

rtc_build_openmax_dl
    Current value (from the default) = true
      From //webrtc/webrtc.gni:83

rtc_build_opus
    Current value (from the default) = true
      From //webrtc/webrtc.gni:84

rtc_build_ssl
    Current value (from the default) = true
      From //webrtc/webrtc.gni:85

rtc_build_usrsctp
    Current value (from the default) = true
      From //webrtc/webrtc.gni:86

rtc_build_with_neon
    Current value (from the default) = true
      From //webrtc/webrtc.gni:134

rtc_enable_android_opensl
    Current value (from the default) = false
      From //webrtc/webrtc.gni:91

rtc_enable_bwe_test_logging
    Current value (from the default) = false
      From //webrtc/webrtc.gni:72

    Set this to true to enable BWE test logging.

rtc_enable_external_auth
    Current value (from the default) = false
      From //webrtc/webrtc.gni:65

    Enable when an external authentication mechanism is used for performing
    packet authentication for RTP packets instead of libsrtp.

rtc_enable_intelligibility_enhancer
    Current value (from the default) = false
      From //webrtc/webrtc.gni:61

    Disable the code for the intelligibility enhancer by default.

rtc_enable_libevent
    Current value (from the default) = false
      From //webrtc/webrtc.gni:114

rtc_enable_protobuf
    Current value (from the default) = true
      From //webrtc/webrtc.gni:58

    Enables the use of protocol buffers for debug recordings.

rtc_enable_sctp
    Current value (from the default) = true
      From //webrtc/webrtc.gni:75

    Set this to disable building with support for SCTP data channels.

rtc_include_ilbc
    Current value (from the default) = true
      From //webrtc/webrtc.gni:180

    Include the iLBC audio codec?

rtc_include_internal_audio_device
    Current value (from the default) = true
      From //webrtc/webrtc.gni:189

    Chromium uses its own IO handling, so the internal ADM is only built for
    standalone WebRTC.

rtc_include_opus
    Current value (from the default) = true
      From //webrtc/webrtc.gni:37

    Disable this to avoid building the Opus audio codec.

rtc_include_pulse_audio
    Current value (from the default) = true
      From //webrtc/webrtc.gni:185

    Excluded in Chromium since its prerequisites don't require Pulse Audio.

rtc_include_tests
    Current value (from the default) = true
      From //webrtc/webrtc.gni:192

    Include tests in standalone checkout.

rtc_initialize_ffmpeg
    Current value (from the default) = true
      From //webrtc/webrtc.gni:168

    FFmpeg must be initialized for |H264DecoderImpl| to work. This can be done
    by WebRTC during |H264DecoderImpl::InitDecode| or externally. FFmpeg must
    only be initialized once. Projects that initialize FFmpeg externally, such
    as Chromium, must turn this flag off so that WebRTC does not also
    initialize.

rtc_jsoncpp_root
    Current value (from the default) = "//third_party/jsoncpp/source/include"
      From //webrtc/webrtc.gni:48

    Used to specify an external Jsoncpp include path when not compiling the
    library that comes with WebRTC (i.e. rtc_build_json == 0).

rtc_libvpx_build_vp9
    Current value (from the default) = true
      From //webrtc/webrtc.gni:81

rtc_link_task_queue_impl
    Current value (from the default) = true
      From //webrtc/webrtc.gni:108

    Links a default implementation of task queues to targets
    that depend on the target rtc_task_queue. Set to false to
    use an external implementation.

rtc_opus_support_120ms_ptime
    Current value (from the default) = true
      From //webrtc/webrtc.gni:41

    Enable this if the Opus version upon which WebRTC is built supports direct
    encoding of 120 ms packets.

rtc_opus_variable_complexity
    Current value (from the default) = false
      From //webrtc/webrtc.gni:44

    Enable this to let the Opus audio codec change complexity on the fly.

rtc_prefer_fixed_point
    Current value (from the default) = true
      From //webrtc/webrtc.gni:122

rtc_restrict_logging
    Current value (from the default) = false
      From //webrtc/webrtc.gni:182

rtc_sanitize_coverage
    Current value (from the default) = ""
      From //webrtc/webrtc.gni:103

    Set to "func", "block", "edge" for coverage generation.
    At unit test runtime set UBSAN_OPTIONS="coverage=1".
    It is recommend to set include_examples=0.
    Use llvm's sancov -html-report for human readable reports.
    See http://clang.llvm.org/docs/SanitizerCoverage.html .

rtc_ssl_root
    Current value (from the default) = ""
      From //webrtc/webrtc.gni:52

    Used to specify an external OpenSSL include path when not compiling the
    library that comes with WebRTC (i.e. rtc_build_ssl == 0).

rtc_use_dummy_audio_file_devices
    Current value (from the default) = false
      From //webrtc/webrtc.gni:151

    By default, use normal platform audio support or dummy audio, but don't
    use file-based audio playout and record.

rtc_use_gtk
    Current value (from the default) = true
      From //webrtc/webrtc.gni:172

    Build sources requiring GTK. NOTICE: This is not present in Chrome OS
    build environments, even if available for Chromium builds.

rtc_use_h264
    Current value (from the default) = false
      From //webrtc/webrtc.gni:144

    Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on
    all platforms except Android and iOS. Because FFmpeg can be built
    with/without H.264 support, |ffmpeg_branding| has to separately be set to a
    value that includes H.264, for example "Chrome". If FFmpeg is built without
    H.264, compilation succeeds but |H264DecoderImpl| fails to initialize. See
    also: |rtc_initialize_ffmpeg|.
    CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
    http://www.openh264.org, https://www.ffmpeg.org/

rtc_use_lto
    Current value (from the default) = false
      From //webrtc/webrtc.gni:96

    Link-Time Optimizations.
    Executes code generation at link-time instead of compile-time.
    https://gcc.gnu.org/wiki/LinkTimeOptimization

rtc_use_memcheck
    Current value (from the default) = false
      From //webrtc/webrtc.gni:161

    When set to true, test targets will declare the files needed to run memcheck
    as data dependencies. This is to enable memcheck execution on swarming bots.

rtc_use_metal_rendering
    Current value (from the default) = true
      From //webrtc/sdk/BUILD.gn:17

    Determine whether or not to include metal rendering

rtc_use_openmax_dl
    Current value (from the default) = false
      From //webrtc/webrtc.gni:129

rtc_use_quic
    Current value (from the default) = false
      From //webrtc/webrtc.gni:147

    Determines whether QUIC code will be built.

safe_browsing_mode
    Current value (from the default) = 1
      From //build/config/features.gni:50

sanitizer_coverage_flags
    Current value (from the default) = ""
      From //build/config/sanitizers/sanitizers.gni:103

    Value for -fsanitize-coverage flag. Setting this causes
    use_sanitizer_coverage to be enabled.
    Default value when unset and use_afl=true or use_libfuzzer=true:
        trace-pc-guard
    Default value when unset and use_sanitizer_coverage=true:
        trace-pc-guard,indirect-calls

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

    Keep symbol level when building with sanitizers. When sanitizers are
    enabled, the default is to compile with the minimum debug info level
    necessary, overriding any other symbol level arguments that may be set.
    Setting this to true prevents this.

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

    Optimize symbol files for maximizing goma cache hit rate. This isn't
    on by default when goma is enabled because setting this to true may make
    it harder to debug binaries.

symbol_level
    Current value (from the default) = -1
      From //build/config/compiler/compiler.gni:24

    How many symbols to include in the build. This affects the performance of
    the build since the symbols are large and dealing with them is slow.
      2 means regular build with symbols.
      1 means minimal symbols, usually enough for backtraces only. Symbols with
    internal linkage (static functions or those in anonymous namespaces) may not
    appear when using this level.
      0 means no symbols.
      -1 means auto-set according to debug/release and platform.

system_libdir
    Current value (from the default) = "lib"
      From //build/config/linux/pkg_config.gni:47

    CrOS systemroots place pkgconfig files at <systemroot>/usr/share/pkgconfig
    and one of <systemroot>/usr/lib/pkgconfig or <systemroot>/usr/lib64/pkgconfig
    depending on whether the systemroot is for a 32 or 64 bit architecture.
   
    When build under GYP, CrOS board builds specify the 'system_libdir' variable
    as part of the GYP_DEFINES provided by the CrOS emerge build or simple
    chrome build scheme. This variable permits controlling this for GN builds
    in similar fashion by setting the `system_libdir` variable in the build's
    args.gn file to 'lib' or 'lib64' as appropriate for the target architecture.

target_cpu
    Current value = "arm64"
      From //out/ios/args.gn:2
    Overridden from the default = ""
      (Internally set; try `gn help target_cpu`.)

target_os
    Current value = "ios"
      From //out/ios/args.gn:1
    Overridden from the default = ""
      (Internally set; try `gn help target_os`.)

target_sysroot
    Current value (from the default) = ""
      From //build/config/sysroot.gni:13

    The absolute path of the sysroot that is applied when compiling using
    the target toolchain.

target_sysroot_dir
    Current value (from the default) = "//build/linux"
      From //build/config/sysroot.gni:16

    The absolute path to directory containing linux sysroot images

toolkit_views
    Current value (from the default) = true
      From //build/config/ui.gni:42

    True means the UI is built using the "views" framework.

treat_warnings_as_errors
    Current value (from the default) = true
      From //build/config/compiler/BUILD.gn:38

    Default to warnings as errors for default workflow, where we catch
    warnings with known toolchains. Allow overriding this e.g. for Chromium
    builds on Linux that could use a different version of the compiler.
    With GCC, warnings in no-Chromium code are always not treated as errors.

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

    Compile for fuzzing with AFL.

use_allocator
    Current value (from the default) = "none"
      From //build/config/allocator.gni:29

    Memory allocator to use. Set to "none" to use default allocator.

use_allocator_shim
    Current value (from the default) = true
      From //build/config/allocator.gni:32

    Causes all the allocations to be routed via allocator_shim.cc.

use_ash
    Current value (from the default) = false
      From //build/config/ui.gni:25

    Indicates if Ash is enabled. Ash is the Aura Shell which provides a
    desktop-like environment for Aura. Requires use_aura = true

use_aura
    Current value (from the default) = false
      From //build/config/ui.gni:34

    Indicates if Aura is enabled. Aura is a low-level windowing library, sort
    of a replacement for GDI or GTK.

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

    Enable checks for bad casts: derived cast and unrelated cast.
    TODO(krasin): remove this, when we're ready to add these checks by default.
    https://crbug.com/626794

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

    Print detailed diagnostics when Control Flow Integrity detects a violation.

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

    Enable checks for indirect function calls via a function pointer.
    TODO(pcc): remove this when we're ready to add these checks by default.
    https://crbug.com/701919

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

    Let Control Flow Integrity continue execution instead of crashing when
    printing diagnostics (use_cfi_diag = true).

use_clang_static_analyzer
    Current value (from the default) = false
      From //build/toolchain/clang_static_analyzer.gni:10

    Uses the Clang static analysis tools during compilation.

use_custom_libcxx
    Current value (from the default) = false
      From //build/config/c++/c++.gni:14

use_custom_libcxx_for_host
    Current value (from the default) = false
      From //build/config/c++/c++.gni:24

    Use libc++ instead of stdlibc++ when using the host_cpu toolchain, even if
    use_custom_libcxx is false. This is useful for cross-compiles where a custom
    toolchain for the target_cpu has been set as the default toolchain, but
    use_custom_libcxx should still be true when building for the host.  The
    expected usage is to set use_custom_libcxx=false and
    use_custom_libcxx_for_host=true in the passed in buildargs.

use_cxx11
    Current value = true
      From //.gn:43
    Overridden from the default = false
      From //build/config/compiler/BUILD.gn:109

    Allow projects that wish to stay on C++11 to override Chromium's default.

use_cxx11_on_android
    Current value = false
      From //.gn:46
    Overridden from the default = true
      From //build/config/compiler/BUILD.gn:114

    C++11 may not be an option if Android test infrastructure is used.

use_dbus
    Current value (from the default) = false
      From //build/config/features.gni:61

use_debug_fission
    Current value (from the default) = "default"
      From //build/config/compiler/compiler.gni:40

    use_debug_fission: whether to use split DWARF debug info
    files. This can reduce link time significantly, but is incompatible
    with some utilities such as icecc and ccache. Requires gold and
    gcc >= 4.8 or clang.
    http://gcc.gnu.org/wiki/DebugFission
   
    This is a placeholder value indicating that the code below should set
    the default.  This is necessary to delay the evaluation of the default
    value expression until after its input values such as use_gold have
    been set, e.g. by a toolchain_args() block.

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

    Compile for fuzzing with Dr. Fuzz
    See http://www.chromium.org/developers/testing/dr-fuzz

use_gconf
    Current value (from the default) = false
      From //build/config/features.gni:65

    Option controlling the use of GConf (the classic GNOME configuration
    system).

use_gio
    Current value (from the default) = false
      From //build/config/features.gni:68

use_glib
    Current value (from the default) = false
      From //build/config/ui.gni:37

    Whether we should use glib, a low level C utility library.

use_gold
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:134

use_goma
    Current value (from the default) = false
      From //build/toolchain/goma.gni:9

    Set to true to enable distributed compilation using Goma.

use_incremental_wpo
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:49

    Whether or not we should turn on incremental WPO. Only affects the VS
    Windows build.

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

    Compile for fuzzing with LLVM LibFuzzer.
    See http://www.chromium.org/developers/testing/libfuzzer

use_lld
    Current value (from the default) = false
      From //build/config/compiler/compiler.gni:126

    Set to true to use lld, the LLVM linker. This flag may be used on Windows,
    Linux or Fuchsia.

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

    Use dynamic libraries instrumented by one of the sanitizers instead of the
    standard system libraries. Set this flag to build the libraries from source.

use_ozone
    Current value (from the default) = false
      From //build/config/ui.gni:30

    Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux
    that does not require X11. Enabling this feature disables use of glib, x11,
    Pango, and Cairo.

use_pic
    Current value (from the default) = true
      From //build/config/compiler/compiler.gni:66

    Whether or not we should use position independent code.

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

    Use dynamic libraries instrumented by one of the sanitizers instead of the
    standard system libraries. Set this flag to download prebuilt binaries from
    GCS.

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

    Build with C++ RTTI enabled. Chromium builds without RTTI by default,
    but some sanitizers are known to require it, like CFI diagnostics
    and UBsan variants.

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

use_sysroot
    Current value (from the default) = true
      From //build/config/sysroot.gni:19

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

    If used with allow_posix_link_time_opt, it enables support for ThinLTO,
    which links 3x-10x faster than full LTO. See also
    http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html

use_udev
    Current value (from the default) = false
      From //build/config/features.gni:59

    libudev usage. This currently only affects the content layer.

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

    Compile with Xcode version of clang instead of hermetic version shipped
    with the build. Used on iOS to ship official builds (as they are built
    with the version of clang shipped with Xcode).

v8_current_cpu
    Current value (from the default) = "arm64"
      From //build/config/v8_target_cpu.gni:60

    This argument is declared here so that it can be overridden in toolchains.
    It should never be explicitly set by the user.

v8_target_cpu
    Current value (from the default) = ""
      From //build/config/v8_target_cpu.gni:33

    This arg is used when we want to tell the JIT-generating v8 code
    that we want to have it generate for an architecture that is different
    than the architecture that v8 will actually run on; we then run the
    code under an emulator. For example, we might run v8 on x86, but
    generate arm code and run that under emulation.
   
    This arg is defined here rather than in the v8 project because we want
    some of the common architecture-specific args (like arm_float_abi or
    mips_arch_variant) to be set to their defaults either if the current_cpu
    applies *or* if the v8_current_cpu applies.
   
    As described below, you can also specify the v8_target_cpu to use
    indirectly by specifying a `custom_toolchain` that contains v8_$cpu in the
    name after the normal toolchain.
   
    For example, `gn gen --args="custom_toolchain=...:clang_x64_v8_arm64"`
    is equivalent to setting --args=`v8_target_cpu="arm64"`. Setting
    `custom_toolchain` is more verbose but makes the toolchain that is
    (effectively) being used explicit.
   
    v8_target_cpu can only be used to target one architecture in a build,
    so if you wish to build multiple copies of v8 that are targeting
    different architectures, you will need to do something more
    complicated involving multiple toolchains along the lines of
    custom_toolchain, above.

xcode_build
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:17

xcode_version
    Current value (from the default) = ""
      From //build/config/ios/ios_sdk.gni:15

xcode_version_int
    Current value (from the default) = 0
      From //build/config/ios/ios_sdk.gni:16
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

webrtc 常用编译参数列表 的相关文章

  • coturn STUN 请求在本地工作,但不适用于远程连接

    我已成功向 coturn 服务器发出 TURN 请求 https github com coturn coturn https github com coturn coturn 但在执行 STUN 请求时失败 如果我尝试从运行服务器的同一台
  • 是否可以使用 MediaRecorder() 获取音频数据的原始值

    我使用 MediaRecorder 和 getUserMedia 来记录浏览器中的音频数据 它可以工作 但是记录的数据是以 Blob 格式记录的 我想获取原始音频数据 振幅 而不是 Blob 有可能做到吗 我的代码如下所示 navigato
  • 通过 websocket 的 SIP 到真正的 SIP

    我正在尝试实现一个 sip 服务器用于从HTMLsip客户端 使用sipml5制作 在我研究这样做的过程中 我遇到了 sip over web sockets 这可能对我有用 但是 我不确定用户代理是否通过 sip over 连接web s
  • Bug 报告者:getDisplayMedia 的替代品?

    我正在尝试在我的网站上实现错误报告器 我的目标是用户能够在解决问题时以声音描述问题并记录浏览器选项卡 错误报告将只是一个视频文件 可以通过电子邮件发送给我 看来提议的navigator mediaDevices getDisplayMedi
  • 如何与本机桌面 (win) 应用程序建立对等连接

    我需要与本机桌面 win 应用程序和网络浏览器建立对等连接 只是为了传输原始数据 从理论上讲 WebRTC 似乎是实现这一目标的唯一方法 如果您想使用 WebRTC 在浏览器和桌面之间交换数据 您可以使用此库将桌面部分编码为 C 语言 ht
  • 本地网络上的 WebRTC? [关闭]

    Closed 这个问题需要多问focused help closed questions 目前不接受答案 我一直在阅读有关 WebRTC 的内容 它看起来非常有前途 我想制作一个简单的局域网游戏 自动连接同一网络上的人们 尽管我可以找到人们
  • 如何在java应用程序中使用webRTC特定模块

    我有一个简单的java应用程序应用程序客户端可以向服务器发送 接收纯音频 UDP 数据包 服务器将音频数据包转发给除发送者之外的所有人 现在我该如何使用webRTC 回声消除我的应用程序端的模块或其他功能模块 我发现可以使用 JNI 和 w
  • 使用媒体流扩展 (MSE) 显示 getUserMedia Stream 实时视频

    我正在尝试使用 getUserMedia 显示从网络摄像头获取的 MediaStream 并使用任何可能播放的机制将其中继到远程对等点 作为实验 我没有直接使用 webRTC 因为我想控制原始数据 我遇到的问题是我的视频元素不显示任何内容
  • 在 iOS 上读取实时摄像头流的 getUserMedia() 替代方案?

    我们正在使用 QuaggaJS 构建一个移动条形码扫描仪 它可以直接从设备的摄像头流中读取条形码 在桌面 Android 上运行良好 但在 iOS 上根本不起作用 从最初的研究来看 我发现 iOS 根本不支持 WebRTC getUserM
  • 如何使用 MediaRecorder 作为 MediaSource

    作为学习 WebRTC 的练习 我试图并排显示本地网络摄像头和网络摄像头的延迟播放 为了实现这一目标 我尝试将记录的 blob 传递到 BufferSource 并使用相应的 MediaSource 作为视频元素的源 the ondataa
  • 独立移动应用程序上的 WebRTC

    我知道WebRTC是为浏览器设计的 但是可以直接在移动应用程序上使用WebRTC库吗 Thanks 截至5月14日here https github com pchab AndroidRTC是一个android项目 使用WebRTC效果很好
  • 为 WebRTC 应用程序实现我们自己的 STUN/TURN 服务器 [重复]

    这个问题在这里已经有答案了 我正在开发一个 webrtc 应用程序 并且必须实现以下 TURN 服务器 https code google com p rfc5766 turn server https code google com p
  • Libsourcey 缺少 -fPIC 编译错误

    我正在尝试运行 LibSourcey 以使用 Webrtc 流服务器 问题是我似乎无法让它发挥作用 我努力在我的 Ubuntu 16 04 上 cmake 该项目 cmake 文件中的正则表达式 但现在它已修复 我实际上遇到的问题是编译时的
  • WebRTC 暂停和恢复流

    我正在尝试使用 WebRTC 构建一个 Web 应用程序 当某些事件触发时需要暂停 恢复视频 音频流 我已经尝试过getTracks 0 stop 但我不知道如何恢复流 对此有什么建议吗 谢谢 getTracks 0 stop 是永久的 U
  • 通过 Websockets 进行 WebRTC 视频聊天

    我正在尝试使用 webRTC 和 WebSockets 进行信号发送来开发视频聊天应用程序 我的问题是 我不知道创建 RTCPeerConnection 并通过 webSocket 连接两个对等点 2 个浏览器 的过程是什么 至少在本地 我
  • webrtc - 视频出现斑点,但它仍然是黑色的

    我使用 chrome 21 运行我的 webrtc 代码 如果我在同一个 chrome 中打开两个选项卡 然后打开其中包含 webrtc 代码的页面 一个选项卡用于发送视频流 一个选项卡用于接收视频流 效果很好 但是 如果我使用两种隐身模式
  • 检测 MediaStreamTrack 是否为黑色/空白

    我正在与peerjs 创建视频聊天 我使用以下功能切换相机 开 关 function toggleCamera localStream getVideoTracks 0 enabled localStream getVideoTracks
  • WebRTC:通道、轨道和流与 RTP SSRC 和 RTP 会话之间的关系

    来自 Mozilla 网站 https developer mozilla org en US docs Web API Media Streams API https developer mozilla org en US docs We
  • 错误类型 3 - 活动类不存在

    我正在尝试运行 webRTC 应用程序 但返回以下错误 启动应用程序 com onlinevoicecallapp com onlinevoicecallapp MainActivity 设备外壳命令 am start n com onli
  • Webrtc 重新协商,Firefox 到 Chrome,反之亦然,不更新流

    我已经成功建立对等连接 但我无法在 Chrome Firefox 上进行正确的重新协商 我已按照重新协商的步骤 将相机 视频更改为屏幕共享时 更新流 曲目 添加 删除 Changer 这击中了需要谈判 改变者 创建报价 更改者 设置本地描述

随机推荐

  • glip, glipv2介绍

    clip是使用 描述图片的句子 和 图片分类 作为一组输入来训练网络 glip是使用 描述图片的句子 和 图片检测任务 作为一组输入来训练网络 clip使用4亿对 glip使用27milliion 3M人工标定 24M网络爬 glipv2比
  • 菜刀连接图片一句话木马

    1 先制作图片一句话木马 找好一张图片如 fox jpg 并且准备好一句话脚本php文件fox php 在图片所在文件夹打开cmd命令行 执行命令 copy fox jpg b fox php a fox1 jpg 生成图片一句话文件fox
  • windows7 防火墙关于文件共享的设置

    WIN7自带防火墙的设置相较XP下有了较大的变化 近日在设置文件夹共享上遇到了一些小问题 后来解决了 过程如下 首先 在文件夹上右键 属性 共享 里 高级共享 共享此文件夹 然后给Everyone用户以读的权限 这一步和在XP下没什么区别
  • BigDecimal 前后端交互失去精度

    在Controller层通过 ResponseBody将返回数据自动转换成json时 不做任何处理 而直接传给前端的话 在BigDecimal长度大于17位 不包括小数点 会出现精度丢失 在Long长度大于17位时也会出现精度丢失的问题 解
  • C语言实现字典树

    leetcode 208的代码 include
  • 商用密码应用安全性评估测评过程指南_商用密码应用安全性评估的具体评估内容...

    如何合规 正确 有效使用商用密码 充分发挥商用密码在保障网络空间安全中的核心技术和基础支撑作用 关乎国家大局 关乎网络空间安全 关乎用户个人隐私 因此 要在保证商用密码应用大力推进和普及的同时 做好网络与信息系统的商用密码应用安全性评估 确
  • 前端系列之JavaScript(BOM对象)

    什么是BOM BOM browser object model 浏览器对象模型 window对象 全局对象 说明 所有的全局变量和全局方法都被归为window上
  • Mysql日期格式转化问题

    MySQL索引优化 MySQL慢查询优化 一文详解MySQL各种锁及MVCC的使用场景及原理 最近遇到一个需求 大致内容是查询近七天内所有设备每天的工作时间和 里面涉及到日期格式转化 子查询 分组查询等问题 较为复杂 以此记录 数据库内容
  • OpenCV-Python图像直方图计算calcHist函数详解、示例及图形呈现

    前往老猿Python博文目录 https blog csdn net LaoYuanPython 一 引言 在前面几篇直方图相关的文章中介绍了直方图均衡 直方图匹配 局部直方图处理 基于直方图统计信息进行图像增强处理等图像处理与直方图相关的
  • 【面试系列】对称二叉树

    题意 原题链接 代码 Definition for a binary tree node struct TreeNode int val TreeNode left TreeNode right TreeNode val 0 left nu
  • Java集合之NavigableMap与NavigableSet接口

    author lidx 本文接着上篇介绍SortedMap和SortedSet接口 介绍他们的扩展接口NavigableMap与NavigableSet接口 提供了针对给定搜索目标返回最接近匹配项的导航方法 SortedMap和Sorted
  • java.io.IOException: Invalid header signature; rea

    异常 java io IOException Invalid header signature read 4503608217567241 expected 2226271756974174256 資料來源 http hi baidu co
  • 基于SkyWalking实现SpringBoot在K8S中的链路跟踪实践

    一 安装SkyWalking服务 1 下载SkyWalking APM https skywalking apache org downloads 这里下载Distribution的v9 0 0版本tar并解压 2 进入bin目录分别启动o
  • 【linux】ssh 远程执行命令

    1 概述 转载并且补充 ssh 远程执行命令 SSH 是 Linux 下进行远程连接的基本工具 但是如果仅仅用它来登录那可是太浪费啦 SSH 命令可是完成远程操作的神器啊 借助它我们可以把很多的远程操作自动化掉 下面就对 SSH 的远程操作
  • IP包结构

    版本 Version 4位 IP版本号 包头长 IHL 4位 以4字节为单位 如0101表示IP包的包头长度20字节 服务类型 TOS Type of service 1字节 指示路由器如何处理该数据包 总长 Total Length 2字
  • STM32单片机采集模拟电压转换为数字信号(stm32cubemx+keil+proteus+c)

    本文参考了CSDN博主安迪西ADC模数转换的文章代码 作对正弦曲线 or比如温度压强等 的模数转换 0 3 3转0 4096 由于proteus virtual terminal难以输出单精度或双精度实数 故直接输出0 4096 若要转为电
  • 洛必达法则介绍及使用注意点

    洛必达法则是个好法则 我们都很喜欢用它 但稍不注意可能就落入陷阱了 尤其是考研的同学 出题老师可能会故意在细节上考察大家 所以本篇讲一下洛必达法则3大陷阱 提防着点总是好的 1 洛必达法则内容 2 粗略证明 注意 不是严谨证明 主要理解思路
  • ode45求解微分方程(MATLAB)

    首先介绍一下ode45的格式 t y ode45 odefun tspan y0 t y ode45 odefun tspan y0 options t y te ye ie ode45 odefun tspan y0 options so
  • 新手在Ubuntu 20.04系统中编译安装Snort+Barnyard+BASE的难点问题

    1 准备安装软件 准备阶段新手经常会下错版本导致安装失败 2 安装DAQ 2 0 7报错 核心问题 预编译时出现下面的报错信息 解决 apt install bison flex 接着 make编译软件 会继续报错 解决 aclocal a
  • webrtc 常用编译参数列表

    additional target cpus Current value from the default From build config ios ios sdk gni 58 If non empty this list must c