当前位置:   article > 正文

bazel options所有命令中文翻译_--host_action_env

--host_action_env
walle@in_dev_autocar:/autocar$ cat bazel.log 
                                                           [bazel release 5.3.0]
Usage: bazel build <options> <targets>

Builds the specified targets, using the options.

See 'bazel help target-syntax' for details and examples on how to
specify targets to build.

Options that appear before the command and are parsed by the client:
  --check_direct_dependencies (off, warning or error; default: "warning")
    Check if the direct `bazel_dep` dependencies declared in the root module 
    are the same versions you get in the resolved dependency graph. Valid 
    values are `off` to disable the check, `warning` to print a warning when 
    mismatch detected or `error` to escalate it to a resolution failure.
      Tags: loading_and_analysis
  --distdir (a path; may be used multiple times)
    Additional places to search for archives before accessing the network to 
    download them.
      Tags: bazel_internal_configuration
  --[no]experimental_enable_bzlmod (a boolean; default: "false")
    If true, Bazel tries to load external repositories from the Bzlmod system 
    before looking into the WORKSPACE file.
      Tags: loading_and_analysis
  --[no]experimental_repository_cache_hardlinks (a boolean; default: "false")
    If set, the repository cache will hardlink the file in case of a cache hit, 
    rather than copying. This is intended to save disk space.
      Tags: bazel_internal_configuration
  --[no]experimental_repository_cache_urls_as_default_canonical_id (a boolean; default: "false")
    If true, use a string derived from the URLs of repository downloads as the 
    canonical_id if not specified. This causes a change in the URLs to result 
    in a redownload even if the cache contains a download with the same hash. 
    This can be used to verify that URL changes don't result in broken 
    repositories being masked by the cache.
      Tags: loading_and_analysis, experimental
  --[no]experimental_repository_disable_download (a boolean; default: "false")
    If set, downloading external repositories is not allowed.
      Tags: experimental
  --experimental_repository_downloader_retries (an integer; default: "0")
    The maximum number of attempts to retry a download error. If set to 0, 
    retries are disabled.
      Tags: experimental
  --experimental_scale_timeouts (a double; default: "1.0")
    Scale all timeouts in Starlark repository rules by this factor. In this 
    way, external repositories can be made working on machines that are slower 
    than the rule author expected, without changing the source code
      Tags: bazel_internal_configuration, experimental
  --http_timeout_scaling (a double; default: "1.0")
    Scale all timeouts related to http downloads by the given factor
      Tags: bazel_internal_configuration
  --[no]ignore_dev_dependency (a boolean; default: "false")
    If true, Bazel ignores `bazel_dep` and `use_extension` declared as 
    `dev_dependency` in the MODULE.bazel of the root module. Note that, those 
    dev dependencies are always ignored in the MODULE.bazel if it's not the 
    root module regardless of the value of this flag.
      Tags: loading_and_analysis
  --registry (a string; may be used multiple times)
    Specifies the registries to use to locate Bazel module dependencies. The 
    order is important: modules will be looked up in earlier registries first, 
    and only fall back to later registries when they're missing from the 
    earlier ones.
      Tags: changes_inputs
  --repository_cache (a path; default: see description)
    Specifies the cache location of the downloaded values obtained during the 
    fetching of external repositories. An empty string as argument requests the 
    cache to be disabled.
      Tags: bazel_internal_configuration

Options that control build execution:
  --[no]check_up_to_date (a boolean; default: "false")
    Don't perform the build, just check if it is up-to-date.  If all targets 
    are up-to-date, the build completes successfully.  If any step needs to be 
    executed an error is reported and the build fails.
      Tags: execution
  --[no]experimental_delay_virtual_input_materialization (a boolean; default: "false")
    If set to true, creates virtual inputs (like params files) only inside the 
    sandbox, not in the execroot, which fixes a race condition when using the 
    dynamic scheduler. This flag exists purely to support rolling this bug fix 
    out.
      Tags: execution
  --experimental_docker_image (a string; default: "")
    Specify a Docker image name (e.g. "ubuntu:latest") that should be used to 
    execute a sandboxed action when using the docker strategy and the action 
    itself doesn't already have a container-image attribute in its 
    remote_execution_properties in the platform description. The value of this 
    flag is passed verbatim to 'docker run', so it supports the same syntax and 
    mechanisms as Docker itself.
      Tags: execution
  --[no]experimental_docker_privileged (a boolean; default: "false")
    If enabled, Bazel will pass the --privileged flag to 'docker run' when 
    running actions. This might be required by your build, but it might also 
    result in reduced hermeticity.
      Tags: execution
  --[no]experimental_docker_use_customized_images (a boolean; default: "true")
    If enabled, injects the uid and gid of the current user into the Docker 
    image before using it. This is required if your build / tests depend on the 
    user having a name and home directory inside the container. This is on by 
    default, but you can disable it in case the automatic image customization 
    feature doesn't work in your case or you know that you don't need it.
      Tags: execution
  --[no]experimental_docker_verbose (a boolean; default: "false")
    If enabled, Bazel will print more verbose messages about the Docker sandbox 
    strategy.
      Tags: execution
  --[no]experimental_enable_docker_sandbox (a boolean; default: "false")
    Enable Docker-based sandboxing. This option has no effect if Docker is not 
    installed.
      Tags: execution
  --[no]experimental_inprocess_symlink_creation (a boolean; default: "false")
    Whether to make direct file system calls to create symlink trees
      Tags: loading_and_analysis, execution, experimental
  --experimental_oom_more_eagerly_threshold (an integer; default: "100")
    If this flag is set to a value less than 100, Bazel will OOM if, after two 
    full GC's, more than this percentage of the (old gen) heap is still 
    occupied.
      Tags: host_machine_resource_optimizations
  --[no]experimental_remotable_source_manifests (a boolean; default: "false")
    Whether to make source manifest actions remotable
      Tags: loading_and_analysis, execution, experimental
  --[no]experimental_reuse_sandbox_directories (a boolean; default: "false")
    If set to true, directories used by sandboxed non-worker execution may be 
    reused to avoid unnecessary setup costs.
      Tags: execution
  --experimental_sandbox_async_tree_delete_idle_threads (an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; default: "0")
    If 0, delete sandbox trees as soon as an action completes (causing 
    completion of the action to be delayed). If greater than zero, execute the 
    deletion of such threes on an asynchronous thread pool that has size 1 when 
    the build is running and grows to the size specified by this flag when the 
    server is idle.
      Tags: execution
  --[no]experimental_sandboxfs_map_symlink_targets (a boolean; default: "false")
    If true, maps the targets of symbolic links specified as action inputs into 
    the sandbox. This feature exists purely to workaround buggy rules that do 
    not do this on their own and should be removed once all such rules are 
    fixed.
  --experimental_sandboxfs_path (a string; default: "sandboxfs")
    Path to the sandboxfs binary to use when --experimental_use_sandboxfs is 
    true. If a bare name, use the first binary of that name found in the PATH.
  --[no]experimental_split_coverage_postprocessing (a boolean; default: "false")
    If true, then Bazel will run coverage postprocessing for test in a new 
    spawn.
      Tags: execution
  --[no]experimental_split_xml_generation (a boolean; default: "true")
    If this flag is set, and a test action does not generate a test.xml file, 
    then Bazel uses a separate action to generate a dummy test.xml file 
    containing the test log. Otherwise, Bazel generates a test.xml as part of 
    the test action.
      Tags: execution
  --[no]experimental_strict_fileset_output (a boolean; default: "false")
    If this option is enabled, filesets will treat all output artifacts as 
    regular files. They will not traverse directories or be sensitive to 
    symlinks.
      Tags: execution
  --experimental_ui_max_stdouterr_bytes (an integer in (-1)-1073741819 range; default: "1048576")
    The maximum size of the stdout / stderr files that will be printed to the 
    console. -1 implies no limit.
      Tags: execution
  --[no]experimental_use_hermetic_linux_sandbox (a boolean; default: "false")
    If set to true, do not mount root, only mount whats provided with 
    sandbox_add_mount_pair. Input files will be hardlinked to the sandbox 
    instead of symlinked to from the sandbox. If action input files are located 
    on a filesystem different from the sandbox, then the input files will be 
    copied instead.
      Tags: execution
  --[no]experimental_use_sandboxfs (a tri-state (auto, yes, no); default: "false")
    Use sandboxfs to create the actions' execroot directories instead of 
    building a symlink tree. If "yes", the binary provided by --
    experimental_sandboxfs_path must be valid and correspond to a supported 
    version of sandboxfs. If "auto", the binary may be missing or not 
    compatible.
  --[no]experimental_use_windows_sandbox (a tri-state (auto, yes, no); default: "false")
    Use Windows sandbox to run actions. If "yes", the binary provided by --
    experimental_windows_sandbox_path must be valid and correspond to a 
    supported version of sandboxfs. If "auto", the binary may be missing or not 
    compatible.
  --experimental_windows_sandbox_path (a string; default: "BazelSandbox.exe")
    Path to the Windows sandbox binary to use when --
    experimental_use_windows_sandbox is true. If a bare name, use the first 
    binary of that name found in the PATH.
  --genrule_strategy (comma-separated list of options; default: "")
    Specify how to execute genrules. This flag will be phased out. Instead, use 
    --spawn_strategy=<value> to control all actions or --
    strategy=Genrule=<value> to control genrules only.
      Tags: execution
  --[no]incompatible_legacy_local_fallback (a boolean; default: "true")
    If set to true, enables the legacy implicit fallback from sandboxed to 
    local strategy. This flag will eventually default to false and then become 
    a no-op. Use --strategy, --spawn_strategy, or --dynamic_local_strategy to 
    configure fallbacks instead.
      Tags: execution, incompatible_change
  --[no]incompatible_remote_symlinks (a boolean; default: "true")
    If set to true, Bazel will represent symlinks in action outputs in the 
    remote caching/execution protocol as such. The current behavior is for 
    remote caches/executors to follow symlinks and represent them as files. See 
    #6631 for details.
      Tags: execution, incompatible_change
  --jobs [-j] (an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; default: "auto")
    The number of concurrent jobs to run. Takes an integer, or a keyword 
    ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-
    |*]<float>) eg. "auto", "HOST_CPUS*.5". Values must be between 1 and 5000. 
    Values above 2500 may cause memory issues. "auto" calculates a reasonable 
    default based on host resources.
      Tags: host_machine_resource_optimizations, execution
  --[no]keep_going [-k] (a boolean; default: "false")
    Continue as much as possible after an error.  While the target that failed 
    and those that depend on it cannot be analyzed, other prerequisites of 
    these targets can be.
      Tags: eagerness_to_exit
  --loading_phase_threads (an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; default: "auto")
    Number of parallel threads to use for the loading/analysis phase.Takes an 
    integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally 
    followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5". "auto" 
    sets a reasonable default based on host resources. Must be at least 1.
      Tags: bazel_internal_configuration
  --modify_execution_info (regex=[+-]key,regex=[+-]key,...; default: "")
    Add or remove keys from an action's execution info based on action 
    mnemonic.  Applies only to actions which support execution info. Many 
    common actions support execution info, e.g. Genrule, CppCompile, Javac, 
    StarlarkAction, TestRunner. When specifying multiple values, order matters 
    because many regexes may apply to the same mnemonic.
    
    Syntax: "regex=[+-]key,regex=[+-]key,...".
    
    Examples:
      '.*=+x,.*=-y,.*=+z' adds 'x' and 'z' to, and removes 'y' from, the 
    execution info for all actions.
      'Genrule=+requires-x' adds 'requires-x' to the execution info for all 
    Genrule actions.
      '(?!Genrule).*=-requires-x' removes 'requires-x' from the execution info 
    for all non-Genrule actions.
    
      Tags: execution, affects_outputs, loading_and_analysis
  --persistent_android_resource_processor
    Enable the persistent Android resource processor by using workers.
      Expands to: --internal_persistent_busybox_tools --
      strategy=AaptPackage=worker --strategy=AndroidResourceParser=worker --
      strategy=AndroidResourceValidator=worker --
      strategy=AndroidResourceCompiler=worker --strategy=RClassGenerator=worker 
      --strategy=AndroidResourceLink=worker --strategy=AndroidAapt2=worker --
      strategy=AndroidAssetMerger=worker --
      strategy=AndroidResourceMerger=worker --
      strategy=AndroidCompiledResourceMerger=worker --
      strategy=ManifestMerger=worker --strategy=AndroidManifestMerger=worker --
      strategy=Aapt2Optimize=worker --strategy=AARGenerator=worker 
      Tags: host_machine_resource_optimizations, execution
  --[no]remote_allow_symlink_upload (a boolean; default: "true")
    If true, upload action symlink outputs to the remote cache. If this option 
    is not enabled, cachable actions that output symlinks will fail.
      Tags: execution
  --spawn_strategy (comma-separated list of options; default: "")
    Specify how spawn actions are executed by default. Accepts a comma-
    separated list of strategies from highest to lowest priority. For each 
    action Bazel picks the strategy with the highest priority that can execute 
    the action. The default value is "remote,worker,sandboxed,local". See https:
    //blog.bazel.build/2019/06/19/list-strategy.html for details.
      Tags: execution
  --strategy (a '[name=]value1[,..,valueN]' assignment; may be used multiple times)
    Specify how to distribute compilation of other spawn actions. Accepts a 
    comma-separated list of strategies from highest to lowest priority. For 
    each action Bazel picks the strategy with the highest priority that can 
    execute the action. The default value is "remote,worker,sandboxed,local". 
    This flag overrides the values set by --spawn_strategy (and --
    genrule_strategy if used with mnemonic Genrule). See https://blog.bazel.
    build/2019/06/19/list-strategy.html for details.
      Tags: execution
  --strategy_regexp (a '<RegexFilter>=value[,value]' assignment; may be used multiple times)
    Override which spawn strategy should be used to execute spawn actions that 
    have descriptions matching a certain regex_filter. See --per_file_copt for 
    details onregex_filter matching. The first regex_filter that matches the 
    description is used. This option overrides other flags for specifying 
    strategy. Example: --strategy_regexp=//foo.*\.cc,-//foo/bar=local means to 
    run actions using local strategy if their descriptions match //foo.*.cc but 
    not //foo/bar. Example: --strategy_regexp='Compiling.*/bar=local  --
    strategy_regexp=Compiling=sandboxed will run 'Compiling //foo/bar/baz' with 
    the 'local' strategy, but reversing the order would run it with 
    'sandboxed'. 
      Tags: execution

Options that configure the toolchain used for action execution:
  --android_compiler (a string; default: see description)
    The Android target compiler.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --android_crosstool_top (a build target label; default: "//external:android/crosstool")
    The location of the C++ compiler used for Android builds.
      Tags: affects_outputs, changes_inputs, loading_and_analysis, 
      loses_incremental_state
  --android_grte_top (a label; default: see description)
    The Android target grte_top.
      Tags: changes_inputs, loading_and_analysis, loses_incremental_state
  --android_manifest_merger (legacy, android or force_android; default: "android")
    Selects the manifest merger to use for android_binary rules. Flag to help 
    thetransition to the Android manifest merger from the legacy merger.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --android_platforms (a build target label; default: "")
    Sets the platforms that android_binary targets use. If multiple platforms 
    are specified, then the binary is a fat APKs, which contains native 
    binaries for each specified target platform.
      Tags: changes_inputs, loading_and_analysis, loses_incremental_state
  --android_sdk (a build target label; default: "@bazel_tools//tools/android:sdk")
    Specifies Android SDK/platform that is used to build Android applications.
      Tags: changes_inputs, loading_and_analysis, loses_incremental_state
  --apple_compiler (a string; default: see description)
    The Apple target compiler. Useful for selecting variants of a toolchain (e.
    g. xcode-beta).
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --apple_crosstool_top (a build target label; default: "@bazel_tools//tools/cpp:toolchain")
    The label of the crosstool package to be used in Apple and Objc rules and 
    their dependencies.
      Tags: loses_incremental_state, changes_inputs
  --apple_grte_top (a build target label; default: see description)
    The Apple target grte_top.
      Tags: changes_inputs, loading_and_analysis, loses_incremental_state
  --cc_output_directory_tag (a string; default: "")
    Specifies a suffix to be added to the configuration directory.
      Tags: affects_outputs
  --compiler (a string; default: see description)
    The C++ compiler to use for compiling the target.
      Tags: loading_and_analysis, execution
  --coverage_output_generator (a build target label; default: "@bazel_tools//tools/test:lcov_merger")
    Location of the binary that is used to postprocess raw coverage reports. 
    This must currently be a filegroup that contains a single file, the binary. 
    Defaults to '//tools/test:lcov_merger'.
      Tags: changes_inputs, affects_outputs, loading_and_analysis
  --coverage_report_generator (a build target label; default: "@bazel_tools//tools/test:coverage_report_generator")
    Location of the binary that is used to generate coverage reports. This must 
    currently be a filegroup that contains a single file, the binary. Defaults 
    to '//tools/test:coverage_report_generator'.
      Tags: changes_inputs, affects_outputs, loading_and_analysis
  --coverage_support (a build target label; default: "@bazel_tools//tools/test:coverage_support")
    Location of support files that are required on the inputs of every test 
    action that collects code coverage. Defaults to '//tools/test:
    coverage_support'.
      Tags: changes_inputs, affects_outputs, loading_and_analysis
  --crosstool_top (a build target label; default: "@bazel_tools//tools/cpp:toolchain")
    The label of the crosstool package to be used for compiling C++ code.
      Tags: loading_and_analysis, changes_inputs, affects_outputs
  --custom_malloc (a build target label; default: see description)
    Specifies a custom malloc implementation. This setting overrides malloc 
    attributes in build rules.
      Tags: changes_inputs, affects_outputs
  --experimental_add_exec_constraints_to_targets (a '<RegexFilter>=<label1>[,<label2>,...]' assignment; may be used multiple times)
    List of comma-separated regular expressions, each optionally prefixed by - 
    (negative expression), assigned (=) to a list of comma-separated constraint 
    value targets. If a target matches no negative expression and at least one 
    positive expression its toolchain resolution will be performed as if it had 
    declared the constraint values as execution constraints. Example: //demo,-
    test=@platforms//cpus:x86_64 will add 'x86_64' to any target under //demo 
    except for those whose name contains 'test'.
      Tags: loading_and_analysis
  --[no]experimental_enable_objc_cc_deps (a boolean; default: "true")
    Allows objc_* rules to depend on cc_library and causes any objc 
    dependencies to be built with --cpu set to "ios_<--ios_cpu>" for any values 
    in --ios_multi_cpu.
      Tags: loading_and_analysis, incompatible_change
  --[no]experimental_include_xcode_execution_requirements (a boolean; default: "false")
    If set, add a "requires-xcode:{version}" execution requirement to every 
    Xcode action.  If the xcode version has a hyphenated label,  also add a 
    "requires-xcode-label:{version_label}" execution requirement.
      Tags: loses_incremental_state, loading_and_analysis, execution
  --[no]experimental_prefer_mutual_xcode (a boolean; default: "true")
    If true, use the most recent Xcode that is available both locally and 
    remotely. If false, or if there are no mutual available versions, use the 
    local Xcode version selected via xcode-select.
      Tags: loses_incremental_state
  --extra_execution_platforms (comma-separated list of options; may be used multiple times)
    The platforms that are available as execution platforms to run actions. 
    Platforms can be specified by exact target, or as a target pattern. These 
    platforms will be considered before those declared in the WORKSPACE file by 
    register_execution_platforms().
      Tags: execution
  --extra_toolchains (comma-separated list of options; may be used multiple times)
    The toolchain rules to be considered during toolchain resolution. 
    Toolchains can be specified by exact target, or as a target pattern. These 
    toolchains will be considered before those declared in the WORKSPACE file 
    by register_toolchains().
      Tags: affects_outputs, changes_inputs, loading_and_analysis
  --grte_top (a label; default: see description)
    A label to a checked-in libc library. The default value is selected by the 
    crosstool toolchain, and you almost never need to override it.
      Tags: action_command_lines, affects_outputs
  --host_compiler (a string; default: see description)
    The C++ compiler to use for host compilation. It is ignored if --
    host_crosstool_top is not set.
      Tags: loading_and_analysis, execution
  --host_crosstool_top (a build target label; default: see description)
    By default, the --crosstool_top and --compiler options are also used for 
    the host configuration. If this flag is provided, Bazel uses the default 
    libc and compiler for the given crosstool_top.
      Tags: loading_and_analysis, changes_inputs, affects_outputs
  --host_grte_top (a label; default: see description)
    If specified, this setting overrides the libc top-level directory (--
    grte_top) for the host configuration.
      Tags: action_command_lines, affects_outputs
  --host_platform (a build target label; default: "")
    The label of a platform rule that describes the host system.
      Tags: affects_outputs, changes_inputs, loading_and_analysis
  --[no]incompatible_disable_expand_if_all_available_in_flag_set (a boolean; default: "true")
    If true, Bazel will not allow specifying expand_if_all_available in 
    flag_sets(see https://github.com/bazelbuild/bazel/issues/7008 for migration 
    instructions).
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_disable_runtimes_filegroups (a boolean; default: "false")
    Deprecated no-op.
      Tags: action_command_lines, loading_and_analysis, deprecated, 
      incompatible_change
  --[no]incompatible_dont_emit_static_libgcc (a boolean; default: "true")
    Deprecated no-op.
      Tags: action_command_lines, loading_and_analysis, deprecated, 
      incompatible_change
  --[no]incompatible_dont_enable_host_nonhost_crosstool_features (a boolean; default: "true")
    If true, Bazel will not enable 'host' and 'nonhost' features in the c++ 
    toolchain (see https://github.com/bazelbuild/bazel/issues/7407 for more 
    information).
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_enable_android_toolchain_resolution (a boolean; default: "false")
    Use toolchain resolution to select the Android SDK for android rules 
    (Starlark and native)
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_linkopts_in_user_link_flags (a boolean; default: "true")
    Deprecated no-op.
      Tags: action_command_lines, loading_and_analysis, deprecated, 
      incompatible_change
  --[no]incompatible_make_thinlto_command_lines_standalone (a boolean; default: "true")
    If true, Bazel will not reuse C++ link action command lines for lto 
    indexing command lines (see https://github.com/bazelbuild/bazel/issues/6791 
    for more information).
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_remove_cpu_and_compiler_attributes_from_cc_toolchain (a boolean; default: "true")
    If true, Bazel will complain when cc_toolchain.cpu and cc_toolchain.
    compiler attributes are set (see https://github.
    com/bazelbuild/bazel/issues/7075 for migration instructions).
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_remove_legacy_whole_archive (a boolean; default: "true")
    If true, Bazel will not link library dependencies as whole archive by 
    default (see https://github.com/bazelbuild/bazel/issues/7362 for migration 
    instructions).
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_require_ctx_in_configure_features (a boolean; default: "true")
    If true, Bazel will require 'ctx' parameter in to cc_common.
    configure_features (see https://github.com/bazelbuild/bazel/issues/7793 for 
    more information).
      Tags: loading_and_analysis, incompatible_change
  --[no]interface_shared_objects (a boolean; default: "true")
    Use interface shared objects if supported by the toolchain. All ELF 
    toolchains currently support this setting.
      Tags: loading_and_analysis, affects_outputs, affects_outputs
  --ios_sdk_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Specifies the version of the iOS SDK to use to build iOS applications. If 
    unspecified, uses default iOS SDK version from 'xcode_version'.
      Tags: loses_incremental_state
  --macos_sdk_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Specifies the version of the macOS SDK to use to build macOS applications. 
    If unspecified, uses default macOS SDK version from 'xcode_version'.
      Tags: loses_incremental_state
  --minimum_os_version (a string; default: see description)
    The minimum OS version which your compilation targets.
      Tags: loading_and_analysis, affects_outputs
  --platform_mappings (a relative path; default: "")
    The location of a mapping file that describes which platform to use if none 
    is set or which flags to set when a platform already exists. Must be 
    relative to the main workspace root. Defaults to 'platform_mappings' (a 
    file directly under the workspace root).
      Tags: affects_outputs, changes_inputs, loading_and_analysis
  --platforms (a build target label; default: "")
    The labels of the platform rules describing the target platforms for the 
    current command.
      Tags: affects_outputs, changes_inputs, loading_and_analysis
  --python2_path (a string; default: see description)
    Deprecated, no-op. Disabled by `--incompatible_use_python_toolchains`.
      Tags: no_op, deprecated
  --python3_path (a string; default: see description)
    Deprecated, no-op. Disabled by `--incompatible_use_python_toolchains`.
      Tags: no_op, deprecated
  --python_path (a string; default: see description)
    The absolute path of the Python interpreter invoked to run Python targets 
    on the target platform. Deprecated; disabled by --
    incompatible_use_python_toolchains.
      Tags: loading_and_analysis, affects_outputs
  --python_top (a build target label; default: see description)
    The label of a py_runtime representing the Python interpreter invoked to 
    run Python targets on the target platform. Deprecated; disabled by --
    incompatible_use_python_toolchains.
      Tags: loading_and_analysis, affects_outputs
  --target_platform_fallback (a build target label; default: "@bazel_tools//platforms:target_platform")
    The label of a platform rule that should be used if no target platform is 
    set and no platform mapping matches the current set of flags.
      Tags: affects_outputs, changes_inputs, loading_and_analysis
  --tvos_sdk_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Specifies the version of the tvOS SDK to use to build tvOS applications. If 
    unspecified, uses default tvOS SDK version from 'xcode_version'.
      Tags: loses_incremental_state
  --watchos_sdk_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Specifies the version of the watchOS SDK to use to build watchOS 
    applications. If unspecified, uses default watchOS SDK version from 
    'xcode_version'.
      Tags: loses_incremental_state
  --xcode_version (a string; default: see description)
    If specified, uses Xcode of the given version for relevant build actions. 
    If unspecified, uses the executor default version of Xcode.
      Tags: loses_incremental_state
  --xcode_version_config (a build target label; default: "@local_config_xcode//:host_xcodes")
    The label of the xcode_config rule to be used for selecting the Xcode 
    version in the build configuration.
      Tags: loses_incremental_state, loading_and_analysis

Options that control the output of the command:
  --[no]apple_enable_auto_dsym_dbg (a boolean; default: "false")
    Whether to force enable generating debug symbol(.dSYM) file(s) for dbg 
    builds.
      Tags: affects_outputs, action_command_lines
  --[no]apple_generate_dsym (a boolean; default: "false")
    Whether to generate debug symbol(.dSYM) file(s).
      Tags: affects_outputs, action_command_lines
  --[no]build (a boolean; default: "true")
    Execute the build; this is the usual behaviour. Specifying --nobuild causes 
    the build to stop before executing the build actions, returning zero iff 
    the package loading and analysis phases completed successfully; this mode 
    is useful for testing those phases.
      Tags: execution, affects_outputs
  --[no]build_runfile_links (a boolean; default: "true")
    If true, build runfiles symlink forests for all targets.  If false, write 
    only manifests when possible.
      Tags: affects_outputs
  --[no]build_runfile_manifests (a boolean; default: "true")
    If true, write runfiles manifests for all targets. If false, omit them. 
    Local tests will fail to run when false.
      Tags: affects_outputs
  --[no]build_test_dwp (a boolean; default: "false")
    If enabled, when building C++ tests statically and with fission the .dwp 
    file  for the test binary will be automatically built as well.
      Tags: loading_and_analysis, affects_outputs
  --cc_proto_library_header_suffixes (comma-separated list of options; default: ".pb.h")
    Sets the prefixes of header files that a cc_proto_library creates.
      Tags: affects_outputs, loading_and_analysis
  --cc_proto_library_source_suffixes (comma-separated list of options; default: ".pb.cc")
    Sets the prefixes of source files that a cc_proto_library creates.
      Tags: affects_outputs, loading_and_analysis
  --[no]experimental_proto_descriptor_sets_include_source_info (a boolean; default: "false")
    Run extra actions for alternative Java api versions in a proto_library.
      Tags: affects_outputs, loading_and_analysis, experimental
  --[no]experimental_proto_extra_actions (a boolean; default: "false")
    Run extra actions for alternative Java api versions in a proto_library.
      Tags: affects_outputs, loading_and_analysis, experimental
  --[no]experimental_run_validations (a boolean; default: "true")
    Use --run_validations instead.
      Tags: execution, affects_outputs
  --[no]experimental_save_feature_state (a boolean; default: "false")
    Save the state of enabled and requested feautres as an output of 
    compilation.
      Tags: affects_outputs, experimental
  --[no]experimental_use_validation_aspect (a boolean; default: "false")
    Whether to run validation actions using aspect (for parallelism with tests).
      Tags: execution, affects_outputs
  --fission (a set of compilation modes; default: "no")
    Specifies which compilation modes use fission for C++ compilations and 
    links.  May be any combination of {'fastbuild', 'dbg', 'opt'} or the 
    special values 'yes'  to enable all modes and 'no' to disable all modes.
      Tags: loading_and_analysis, action_command_lines, affects_outputs
  --[no]legacy_external_runfiles (a boolean; default: "true")
    If true, build runfiles symlink forests for external repositories under .
    runfiles/wsname/external/repo (in addition to .runfiles/repo).
      Tags: affects_outputs
  --[no]objc_generate_linkmap (a boolean; default: "false")
    Specifies whether to generate a linkmap file.
      Tags: affects_outputs
  --output_groups (comma-separated list of options; may be used multiple times)
    A list of comma-separated output group names, each of which optionally 
    prefixed by a + or a -. A group prefixed by + is added to the default set 
    of output groups, while a group prefixed by - is removed from the default 
    set. If at least one group is not prefixed, the default set of output 
    groups is omitted. For example, --output_groups=+foo,+bar builds the union 
    of the default set, foo, and bar, while --output_groups=foo,bar overrides 
    the default set such that only foo and bar are built.
      Tags: execution, affects_outputs
  --[no]run_validations (a boolean; default: "true")
    Whether to run validation actions as part of the build.
      Tags: execution, affects_outputs
  --[no]save_temps (a boolean; default: "false")
    If set, temporary outputs from gcc will be saved.  These include .s files 
    (assembler code), .i files (preprocessed C) and .ii files (preprocessed 
    C++).
      Tags: affects_outputs

Options that let the user configure the intended output, affecting its value, as opposed to its existence:
  --action_env (a 'name=value' assignment with an optional value part; may be used multiple times)
    Specifies the set of environment variables available to actions with target 
    configuration. Variables can be either specified by name, in which case the 
    value will be taken from the invocation environment, or by the name=value 
    pair which sets the value independent of the invocation environment. This 
    option can be used multiple times; for options given for the same variable, 
    the latest wins, options for different variables accumulate.
      Tags: action_command_lines
  --android_cpu (a string; default: "armeabi-v7a")
    The Android target CPU.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --[no]android_databinding_use_androidx (a boolean; default: "false")
    Generate AndroidX-compatible data-binding files. This is only used with 
    databinding v2.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state, 
      experimental
  --[no]android_databinding_use_v3_4_args (a boolean; default: "false")
    Use android databinding v2 with 3.4.0 argument
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state, 
      experimental
  --android_dynamic_mode (off, default or fully; default: "off")
    Determines whether C++ deps of Android rules will be linked dynamically 
    when a cc_binary does not explicitly create a shared library. 'default' 
    means bazel will choose whether to link dynamically.  'fully' means all 
    libraries will be linked dynamically. 'off' means that all libraries will 
    be linked in mostly static mode.
      Tags: affects_outputs, loading_and_analysis
  --android_manifest_merger_order (alphabetical, alphabetical_by_configuration or dependency; default: "alphabetical")
    Sets the order of manifests passed to the manifest merger for Android 
    binaries. ALPHABETICAL means manifests are sorted by path relative to the 
    execroot. ALPHABETICAL_BY_CONFIGURATION means manifests are sorted by paths 
    relative to the configuration directory within the output directory. 
    DEPENDENCY means manifests are ordered with each library's manifest coming 
    before the manifests of its dependencies.
      Tags: action_command_lines, execution
  --[no]android_resource_shrinking (a boolean; default: "false")
    Enables resource shrinking for android_binary APKs that use ProGuard.
      Tags: affects_outputs, loading_and_analysis
  --apple_bitcode ('mode' or 'platform=mode', where 'mode' is none, embedded_markers or embedded, and 'platform' is ios, watchos, tvos, macos or catalyst; may be used multiple times)
    Specify the Apple bitcode mode for compile steps targeting device 
    architectures. Values are of the form '[platform=]mode', where the platform 
    (which must be 'ios', 'macos', 'tvos', or 'watchos') is optional. If 
    provided, the bitcode mode is applied for that platform specifically; if 
    omitted, it is applied for all platforms. The mode must be 'none', 
    'embedded_markers', or 'embedded'. This option may be provided multiple 
    times.
      Tags: loses_incremental_state
  --aspects (comma-separated list of options; may be used multiple times)
    Comma-separated list of aspects to be applied to top-level targets. In the 
    list, if aspect <code>some_aspect</code> specifies required aspect 
    providers via <code>required_aspect_providers</code>, 
    <code>some_aspect</code> will run after every aspect that was mentioned 
    before it in the aspects list whose advertised providers satisfy 
    <code>some_aspect</code> required aspect providers. Moreover, 
    <code>some_aspect</code> will run after all its required aspects specified 
    by <code>requires</code> attribute. <code>some_aspect</code> will then have 
    access to the values of those aspects' providers. <bzl-file-label>%
    <aspect_name>, for example '//tools:my_def.bzl%my_aspect', where 
    'my_aspect' is a top-level value from a file tools/my_def.bzl
  --[no]build_python_zip (a tri-state (auto, yes, no); default: "auto")
    Build python executable zip; on on Windows, off on other platforms
      Tags: affects_outputs
  --catalyst_cpus (comma-separated list of options; may be used multiple times)
    Comma-separated list of architectures for which to build Apple Catalyst 
    binaries.
      Tags: loses_incremental_state, loading_and_analysis
  --[no]collect_code_coverage (a boolean; default: "false")
    If specified, Bazel will instrument code (using offline instrumentation 
    where possible) and will collect coverage information during tests. Only 
    targets that  match --instrumentation_filter will be affected. Usually this 
    option should  not be specified directly - 'bazel coverage' command should 
    be used instead.
      Tags: affects_outputs
  --compilation_mode [-c] (fastbuild, dbg or opt; default: "fastbuild")
    Specify the mode the binary will be built in. Values: 'fastbuild', 'dbg', 
    'opt'.
      Tags: affects_outputs, action_command_lines
  --conlyopt (a string; may be used multiple times)
    Additional option to pass to gcc when compiling C source files.
      Tags: action_command_lines, affects_outputs
  --copt (a string; may be used multiple times)
    Additional options to pass to gcc.
      Tags: action_command_lines, affects_outputs
  --cpu (a string; default: "")
    The target CPU.
      Tags: changes_inputs, affects_outputs
  --cs_fdo_absolute_path (a string; default: see description)
    Use CSFDO profile information to optimize compilation. Specify the absolute 
    path name of the zip file containing the profile file, a raw or an indexed 
    LLVM profile file.
      Tags: affects_outputs
  --cs_fdo_instrument (a string; default: see description)
    Generate binaries with context sensitive FDO instrumentation. With 
    Clang/LLVM compiler, it also accepts the directory name under which the raw 
    profile file(s) will be dumped at runtime.
      Using this option will also add: --copt=-Wno-error 
      Tags: affects_outputs
  --cs_fdo_profile (a build target label; default: see description)
    The cs_fdo_profile representing the context sensitive profile to be used 
    for optimization.
      Tags: affects_outputs
  --cxxopt (a string; may be used multiple times)
    Additional option to pass to gcc when compiling C++ source files.
      Tags: action_command_lines, affects_outputs
  --define (a 'name=value' assignment; may be used multiple times)
    Each --define option specifies an assignment for a build variable.
      Tags: changes_inputs, affects_outputs
  --dynamic_mode (off, default or fully; default: "default")
    Determines whether C++ binaries will be linked dynamically.  'default' 
    means Bazel will choose whether to link dynamically.  'fully' means all 
    libraries will be linked dynamically. 'off' means that all libraries will 
    be linked in mostly static mode.
      Tags: loading_and_analysis, affects_outputs
  --[no]enable_fdo_profile_absolute_path (a boolean; default: "true")
    If set, use of fdo_absolute_profile_path will raise an error.
      Tags: affects_outputs
  --[no]enable_runfiles (a tri-state (auto, yes, no); default: "auto")
    Enable runfiles symlink tree; By default, it's off on Windows, on on other 
    platforms.
      Tags: affects_outputs
  --experimental_action_listener (a build target label; may be used multiple times)
    Deprecated in favor of aspects. Use action_listener to attach an 
    extra_action to existing build actions.
      Tags: execution, experimental
  --[no]experimental_android_compress_java_resources (a boolean; default: "false")
    Compress Java resources in APKs
      Tags: affects_outputs, loading_and_analysis, experimental
  --[no]experimental_android_databinding_v2 (a boolean; default: "false")
    Use android databinding v2
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state, 
      experimental
  --[no]experimental_android_resource_shrinking (a boolean; default: "false")
    Enables resource shrinking for android_binary APKs that use ProGuard.
      Tags: affects_outputs, loading_and_analysis
  --[no]experimental_android_rewrite_dexes_with_rex (a boolean; default: "false")
    use rex tool to rewrite dex files
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state, 
      experimental
  --[no]experimental_convenience_symlinks (normal, clean, ignore or log_only; default: "normal")
    This flag controls how the convenience symlinks (the symlinks that appear 
    in the workspace after the build) will be managed. Possible values:
      normal (default): Each kind of convenience symlink will be created or 
    deleted, as determined by the build.
      clean: All symlinks will be unconditionally deleted.
      ignore: Symlinks will be left alone.
      log_only: Generate log messages as if 'normal' were passed, but don't 
    actually perform any filesystem operations (useful for tools).
    Note that only symlinks whose names are generated by the current value of --
    symlink_prefix can be affected; if the prefix changes, any pre-existing 
    symlinks will be left alone.
      Tags: affects_outputs
  --[no]experimental_convenience_symlinks_bep_event (a boolean; default: "false")
    This flag controls whether or not we will post the build 
    eventConvenienceSymlinksIdentified to the BuildEventProtocol. If the value 
    is true, the BuildEventProtocol will have an entry for 
    convenienceSymlinksIdentified, listing all of the convenience symlinks 
    created in your workspace. If false, then the convenienceSymlinksIdentified 
    entry in the BuildEventProtocol will be empty.
      Tags: affects_outputs
  --experimental_multi_cpu (comma-separated list of options; may be used multiple times)
    This flag allows specifying multiple target CPUs. If this is specified, the 
    --cpu option is ignored.
      Tags: affects_outputs, experimental
  --experimental_objc_fastbuild_options (comma-separated list of options; default: "-O0,-DDEBUG=1")
    Uses these strings as objc fastbuild compiler options.
      Tags: action_command_lines
  --[no]experimental_omitfp (a boolean; default: "false")
    If true, use libunwind for stack unwinding, and compile with -fomit-frame-
    pointer and -fasynchronous-unwind-tables.
      Tags: action_command_lines, affects_outputs, experimental
  --[no]experimental_platform_in_output_dir (a boolean; default: "false")
    If true, the target platform is used in the output directory name instead 
    of the CPU.
      Tags: affects_outputs, experimental
  --[no]experimental_use_llvm_covmap (a boolean; default: "false")
    If specified, Bazel will generate llvm-cov coverage map information rather 
    than gcov when collect_code_coverage is enabled.
      Tags: changes_inputs, affects_outputs, loading_and_analysis, experimental
  --fat_apk_cpu (comma-separated list of options; default: "armeabi-v7a")
    Setting this option enables fat APKs, which contain native binaries for all 
    specified target architectures, e.g., --fat_apk_cpu=x86,armeabi-v7a. If 
    this flag is specified, then --android_cpu is ignored for dependencies of 
    android_binary rules.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --[no]fat_apk_hwasan (a boolean; default: "false")
    Whether to create HWASAN splits.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --fdo_instrument (a string; default: see description)
    Generate binaries with FDO instrumentation. With Clang/LLVM compiler, it 
    also accepts the directory name under which the raw profile file(s) will be 
    dumped at runtime.
      Using this option will also add: --copt=-Wno-error 
      Tags: affects_outputs
  --fdo_optimize (a string; default: see description)
    Use FDO profile information to optimize compilation. Specify the name of 
    the zip file containing the .gcda file tree, or an afdo file containing an 
    auto profile. This flag also accepts files specified as labels, for example 
    //foo/bar:file.afdo. Such labels must refer to input files; you may need to 
    add an exports_files directive to the corresponding package to make the 
    file visible to Bazel. It also accepts a raw or an indexed LLVM profile 
    file. This flag will be superseded by fdo_profile rule.
      Tags: affects_outputs
  --fdo_prefetch_hints (a build target label; default: see description)
    Use cache prefetch hints.
      Tags: affects_outputs
  --fdo_profile (a build target label; default: see description)
    The fdo_profile representing the profile to be used for optimization.
      Tags: affects_outputs
  --features (a string; may be used multiple times)
    The given features will be enabled or disabled by default for all packages. 
    Specifying -<feature> will disable the feature globally. Negative features 
    always override positive ones. This flag is used to enable rolling out 
    default feature changes without a Bazel release.
      Tags: changes_inputs, affects_outputs
  --[no]force_pic (a boolean; default: "false")
    If enabled, all C++ compilations produce position-independent code ("-
    fPIC"), links prefer PIC pre-built libraries over non-PIC libraries, and 
    links produce position-independent executables ("-pie").
      Tags: loading_and_analysis, affects_outputs
  --host_action_env (a 'name=value' assignment with an optional value part; may be used multiple times)
    Specifies the set of environment variables available to actions with host 
    or execution configurations. Variables can be either specified by name, in 
    which case the value will be taken from the invocation environment, or by 
    the name=value pair which sets the value independent of the invocation 
    environment. This option can be used multiple times; for options given for 
    the same variable, the latest wins, options for different variables 
    accumulate.
      Tags: action_command_lines
  --host_compilation_mode (fastbuild, dbg or opt; default: "opt")
    Specify the mode the tools used during the build will be built in. Values: 
    'fastbuild', 'dbg', 'opt'.
      Tags: affects_outputs, action_command_lines
  --host_conlyopt (a string; may be used multiple times)
    Additional option to pass to gcc when compiling C source files for host 
    tools.
      Tags: action_command_lines, affects_outputs
  --host_copt (a string; may be used multiple times)
    Additional options to pass to gcc for host tools.
      Tags: action_command_lines, affects_outputs
  --host_cpu (a string; default: "")
    The host CPU.
      Tags: changes_inputs, affects_outputs
  --host_cxxopt (a string; may be used multiple times)
    Additional options to pass to gcc for host tools.
      Tags: action_command_lines, affects_outputs
  --host_force_python (PY2 or PY3; default: see description)
    Overrides the Python version for the host configuration. Can be "PY2" or 
    "PY3".
      Tags: loading_and_analysis, affects_outputs
  --host_linkopt (a string; may be used multiple times)
    Additional option to pass to gcc when linking host tools.
      Tags: action_command_lines, affects_outputs
  --host_macos_minimum_os (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Minimum compatible macOS version for host targets. If unspecified, uses 
    'macos_sdk_version'.
      Tags: loses_incremental_state
  --host_swiftcopt (a string; may be used multiple times)
    Additional options to pass to swiftc for host tools.
      Tags: action_command_lines, affects_outputs
  --[no]incompatible_avoid_conflict_dlls (a boolean; default: "true")
    If enabled, all C++ dynamic linked libraries (DLLs) generated by cc_library 
    on Windows will be renamed to name_{hash}.dll where hash is calculated 
    based on the RepositoryName and the DLL's package path. This option is 
    useful when you have one package which depends on severals cc_library with 
    the same name (e.g //foo/bar1:utils and //foo/bar2:utils).
      Tags: loading_and_analysis, affects_outputs, incompatible_change
  --[no]incompatible_merge_genfiles_directory (a boolean; default: "true")
    If true, the genfiles directory is folded into the bin directory.
      Tags: affects_outputs, incompatible_change
  --[no]incompatible_use_platforms_repo_for_constraints (a boolean; default: "false")
    If true, constraint settings from @bazel_tools are removed.
      Tags: affects_outputs, incompatible_change
  --[no]instrument_test_targets (a boolean; default: "false")
    When coverage is enabled, specifies whether to consider instrumenting test 
    rules. When set, test rules included by --instrumentation_filter are 
    instrumented. Otherwise, test rules are always excluded from coverage 
    instrumentation.
      Tags: affects_outputs
  --instrumentation_filter (a comma-separated list of regex expressions with prefix '-' specifying excluded paths; default: "-/javatests[/:],-/test/java[/:]")
    When coverage is enabled, only rules with names included by the specified 
    regex-based filter will be instrumented. Rules prefixed with '-' are 
    excluded instead. Note that only non-test rules are instrumented unless --
    instrument_test_targets is enabled.
      Tags: affects_outputs
  --ios_cpu (a string; default: "x86_64")
    Specifies to target CPU of iOS compilation.
      Tags: no_op, deprecated
  --ios_minimum_os (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Minimum compatible iOS version for target simulators and devices. If 
    unspecified, uses 'ios_sdk_version'.
      Tags: loses_incremental_state
  --ios_multi_cpus (comma-separated list of options; may be used multiple times)
    Comma-separated list of architectures to build an ios_application with. The 
    result is a universal binary containing all specified architectures.
      Tags: loses_incremental_state, loading_and_analysis
  --[no]legacy_whole_archive (a boolean; default: "true")
    Deprecated, superseded by --incompatible_remove_legacy_whole_archive (see 
    https://github.com/bazelbuild/bazel/issues/7362 for details). When on, use 
    --whole-archive for cc_binary rules that have linkshared=1 and either 
    linkstatic=1 or '-static' in linkopts. This is for backwards compatibility 
    only. A better alternative is to use alwayslink=1 where required.
      Tags: action_command_lines, affects_outputs, deprecated
  --linkopt (a string; may be used multiple times)
    Additional option to pass to gcc when linking.
      Tags: action_command_lines, affects_outputs
  --ltobackendopt (a string; may be used multiple times)
    Additional option to pass to the LTO backend step (under --
    features=thin_lto).
      Tags: action_command_lines, affects_outputs
  --ltoindexopt (a string; may be used multiple times)
    Additional option to pass to the LTO indexing step (under --
    features=thin_lto).
      Tags: action_command_lines, affects_outputs
  --macos_cpus (comma-separated list of options; may be used multiple times)
    Comma-separated list of architectures for which to build Apple macOS 
    binaries.
      Tags: loses_incremental_state, loading_and_analysis
  --macos_minimum_os (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Minimum compatible macOS version for targets. If unspecified, uses 
    'macos_sdk_version'.
      Tags: loses_incremental_state
  --[no]objc_debug_with_GLIBCXX (a boolean; default: "false")
    If set, and compilation mode is set to 'dbg', define GLIBCXX_DEBUG,  
    GLIBCXX_DEBUG_PEDANTIC and GLIBCPP_CONCEPT_CHECKS.
      Tags: action_command_lines
  --[no]objc_enable_binary_stripping (a boolean; default: "false")
    Whether to perform symbol and dead-code strippings on linked binaries. 
    Binary strippings will be performed if both this flag and --
    compilation_mode=opt are specified.
      Tags: action_command_lines
  --objccopt (a string; may be used multiple times)
    Additional options to pass to Objective C compilation.
      Tags: action_command_lines
  --per_file_copt (a comma-separated list of regex expressions with prefix '-' specifying excluded paths followed by an @ and a comma separated list of options; may be used multiple times)
    Additional options to selectively pass to gcc when compiling certain files. 
    This option can be passed multiple times. Syntax: regex_filter@option_1,
    option_2,...,option_n. Where regex_filter stands for a list of include and 
    exclude regular expression patterns (Also see --instrumentation_filter). 
    option_1 to option_n stand for arbitrary command line options. If an option 
    contains a comma it has to be quoted with a backslash. Options can contain 
    @. Only the first @ is used to split the string. Example: --
    per_file_copt=//foo/.*\.cc,-//foo/bar\.cc@-O0 adds the -O0 command line 
    option to the gcc command line of all cc files in //foo/ except bar.cc.
      Tags: action_command_lines, affects_outputs
  --per_file_ltobackendopt (a comma-separated list of regex expressions with prefix '-' specifying excluded paths followed by an @ and a comma separated list of options; may be used multiple times)
    Additional options to selectively pass to LTO backend (under --
    features=thin_lto) when compiling certain backend objects. This option can 
    be passed multiple times. Syntax: regex_filter@option_1,option_2,...,
    option_n. Where regex_filter stands for a list of include and exclude 
    regular expression patterns. option_1 to option_n stand for arbitrary 
    command line options. If an option contains a comma it has to be quoted 
    with a backslash. Options can contain @. Only the first @ is used to split 
    the string. Example: --per_file_ltobackendopt=//foo/.*\.o,-//foo/bar\.o@-O0 
    adds the -O0 command line option to the LTO backend command line of all o 
    files in //foo/ except bar.o.
      Tags: action_command_lines, affects_outputs
  --platform_suffix (a string; default: see description)
    Specifies a suffix to be added to the configuration directory.
      Tags: loses_incremental_state, affects_outputs, loading_and_analysis
  --propeller_optimize (a build target label; default: see description)
    The layout file for propeller code layout optimizations.
      Tags: action_command_lines, affects_outputs
  --propeller_optimize_absolute_cc_profile (a string; default: see description)
    Absolute path name of cc_profile file for Propeller Optimized builds.
      Tags: affects_outputs
  --propeller_optimize_absolute_ld_profile (a string; default: see description)
    Absolute path name of ld_profile file for Propeller Optimized builds.
      Tags: affects_outputs
  --remote_download_minimal
    Does not download any remote build outputs to the local machine. This flag 
    is a shortcut for three flags: --experimental_inmemory_jdeps_files, --
    experimental_inmemory_dotd_files and --remote_download_outputs=minimal.
      Expands to: --nobuild_runfile_links --experimental_inmemory_jdeps_files --
      experimental_inmemory_dotd_files --remote_download_outputs=minimal 
      Tags: affects_outputs
  --remote_download_outputs (all, minimal or toplevel; default: "all")
    If set to 'minimal' doesn't download any remote build outputs to the local 
    machine, except the ones required by local actions. If set to 'toplevel' 
    behaves like'minimal' except that it also downloads outputs of top level 
    targets to the local machine. Both options can significantly reduce build 
    times if network bandwidth is a bottleneck.
      Tags: affects_outputs
  --remote_download_symlink_template (a string; default: "")
    Instead of downloading remote build outputs to the local machine, create 
    symbolic links. The target of the symbolic links can be specified in the 
    form of a template string. This template string may contain {hash} and 
    {size_bytes} that expand to the hash of the object and the size in bytes, 
    respectively. These symbolic links may, for example, point to a FUSE file 
    system that loads objects from the CAS on demand.
      Tags: affects_outputs
  --remote_download_toplevel
    Only downloads remote outputs of top level targets to the local machine. 
    This flag is a shortcut for three flags: --
    experimental_inmemory_jdeps_files, --experimental_inmemory_dotd_files and --
    remote_download_outputs=toplevel.
      Expands to: --experimental_inmemory_jdeps_files --
      experimental_inmemory_dotd_files --remote_download_outputs=toplevel 
      Tags: affects_outputs
  --repo_env (a 'name=value' assignment with an optional value part; may be used multiple times)
    Specifies additional environment variables to be available only for 
    repository rules. Note that repository rules see the full environment 
    anyway, but in this way configuration information can be passed to 
    repositories through options without invalidating the action graph.
      Tags: action_command_lines
  --run_under (a prefix in front of command; default: see description)
    Prefix to insert before the executables for the 'test' and 'run' commands. 
    If the value is 'foo -bar', and the execution command line is 'test_binary -
    baz', then the final command line is 'foo -bar test_binary -baz'.This can 
    also be a label to an executable target. Some examples are: 'valgrind', 
    'strace', 'strace -c', 'valgrind --quiet --num-callers=20', '//package:
    target',  '//package:target --options'.
      Tags: action_command_lines
  --[no]share_native_deps (a boolean; default: "true")
    If true, native libraries that contain identical functionality will be 
    shared among different targets
      Tags: loading_and_analysis, affects_outputs
  --[no]stamp (a boolean; default: "false")
    Stamp binaries with the date, username, hostname, workspace information, 
    etc.
      Tags: affects_outputs
  --strip (always, sometimes or never; default: "sometimes")
    Specifies whether to strip binaries and shared libraries  (using "-Wl,--
    strip-debug").  The default value of 'sometimes' means strip iff --
    compilation_mode=fastbuild.
      Tags: affects_outputs
  --stripopt (a string; may be used multiple times)
    Additional options to pass to strip when generating a '<name>.stripped' 
    binary.
      Tags: action_command_lines, affects_outputs
  --swiftcopt (a string; may be used multiple times)
    Additional options to pass to Swift compilation.
      Tags: action_command_lines
  --symlink_prefix (a string; default: see description)
    The prefix that is prepended to any of the convenience symlinks that are 
    created after a build. If omitted, the default value is the name of the 
    build tool followed by a hyphen. If '/' is passed, then no symlinks are 
    created and no warning is emitted. Warning: the special functionality for 
    '/' will be deprecated soon; use --experimental_convenience_symlinks=ignore 
    instead.
      Tags: affects_outputs
  --tvos_cpus (comma-separated list of options; may be used multiple times)
    Comma-separated list of architectures for which to build Apple tvOS 
    binaries.
      Tags: loses_incremental_state, loading_and_analysis
  --tvos_minimum_os (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Minimum compatible tvOS version for target simulators and devices. If 
    unspecified, uses 'tvos_sdk_version'.
      Tags: loses_incremental_state
  --watchos_cpus (comma-separated list of options; may be used multiple times)
    Comma-separated list of architectures for which to build Apple watchOS 
    binaries.
      Tags: loses_incremental_state, loading_and_analysis
  --watchos_minimum_os (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    Minimum compatible watchOS version for target simulators and devices. If 
    unspecified, uses 'watchos_sdk_version'.
      Tags: loses_incremental_state
  --xbinary_fdo (a build target label; default: see description)
    Use XbinaryFDO profile information to optimize compilation. Specify the 
    name of default cross binary profile. When the option is used together with 
    --fdo_instrument/--fdo_optimize/--fdo_profile, those options will always 
    prevail as if xbinary_fdo is never specified. 
      Tags: affects_outputs

Options that affect how strictly Bazel enforces valid build inputs (rule definitions,  flag combinations, etc.):
  --auto_cpu_environment_group (a build target label; default: "")
    Declare the environment_group to use for automatically mapping cpu values 
    to target_environment values.
      Tags: changes_inputs, loading_and_analysis, experimental
  --[no]check_licenses (a boolean; default: "false")
    Check that licensing constraints imposed by dependent packages do not 
    conflict with distribution modes of the targets being built. By default, 
    licenses are not checked.
      Tags: build_file_semantics
  --[no]check_visibility (a boolean; default: "true")
    If disabled, visibility errors are demoted to warnings.
      Tags: build_file_semantics
  --[no]desugar_for_android (a boolean; default: "true")
    Whether to desugar Java 8 bytecode before dexing.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --[no]enforce_constraints (a boolean; default: "true")
    Checks the environments each target is compatible with and reports errors 
    if any target has dependencies that don't support the same environments
      Tags: build_file_semantics
  --[no]experimental_allow_android_library_deps_without_srcs (a boolean; default: "false")
    Flag to help transition from allowing to disallowing srcs-less 
    android_library rules with deps. The depot needs to be cleaned up to roll 
    this out by default.
      Tags: eagerness_to_exit, loading_and_analysis
  --[no]experimental_check_desugar_deps (a boolean; default: "true")
    Whether to double-check correct desugaring at Android binary level.
      Tags: eagerness_to_exit, loading_and_analysis, experimental
  --[no]experimental_desugar_java8_libs (a boolean; default: "false")
    Whether to include supported Java 8 libraries in apps for legacy devices.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state, 
      experimental
  --experimental_import_deps_checking (off, warning or error; default: "OFF")
    When enabled, check whether the dependencies of an aar_import are complete. 
    This enforcement can break the build, or can just result in warnings.
      Tags: loading_and_analysis
  --[no]experimental_java_proto_add_allowed_public_imports (a boolean; default: "false")
    If true, add --allowed_public_imports to the java compile actions.
      Tags: affects_outputs, loading_and_analysis, experimental
  --experimental_repository_hash_file (a string; default: "")
    If non-empty, specifies a file containing a resolved value, against which 
    the repository directory hashes should be verified
      Tags: affects_outputs, experimental
  --experimental_strict_java_deps (off, warn, error, strict or default; default: "default")
    If true, checks that a Java target explicitly declares all directly used 
    targets as dependencies.
      Tags: build_file_semantics, eagerness_to_exit
  --experimental_verify_repository_rules (a string; may be used multiple times)
    If list of repository rules for which the hash of the output directory 
    should be verified, provided a file is specified by --
    experimental_repository_hash_file.
      Tags: affects_outputs, experimental
  --[no]incompatible_disable_native_android_rules (a boolean; default: "false")
    If enabled, direct usage of the native Android rules is disabled. Please 
    use the Starlark Android rules from https://github.
    com/bazelbuild/rules_android
      Tags: eagerness_to_exit, incompatible_change
  --[no]incompatible_disable_native_apple_binary_rule (a boolean; default: "false")
    If enabled, direct usage of the native apple_binary rule is disabled. 
    Please use the Starlark rule from https://github.com/bazelbuild/rules_apple 
    instead.
      Tags: eagerness_to_exit, incompatible_change
  --[no]incompatible_force_strict_header_check_from_starlark (a boolean; default: "true")
    If enabled, set strict header checking in the Starlark API
      Tags: loading_and_analysis, changes_inputs, incompatible_change
  --[no]incompatible_validate_top_level_header_inclusions (a boolean; default: "true")
    If true, Bazel will also validate top level directory header inclusions 
    (see https://github.com/bazelbuild/bazel/issues/10047 for more information).
      Tags: loading_and_analysis, incompatible_change
  --[no]strict_filesets (a boolean; default: "false")
    If this option is enabled, filesets crossing package boundaries are 
    reported as errors. It does not work when 
    check_fileset_dependencies_recursively is disabled.
      Tags: build_file_semantics, eagerness_to_exit
  --strict_proto_deps (off, warn, error, strict or default; default: "error")
    Unless OFF, checks that a proto_library target explicitly declares all 
    directly used targets as dependencies.
      Tags: build_file_semantics, eagerness_to_exit, incompatible_change
  --[no]strict_system_includes (a boolean; default: "false")
    If true, headers found through system include paths (-isystem) are also 
    required to be declared.
      Tags: loading_and_analysis, eagerness_to_exit
  --target_environment (a build target label; may be used multiple times)
    Declares this build's target environment. Must be a label reference to an 
    "environment" rule. If specified, all top-level targets must be compatible 
    with this environment.
      Tags: changes_inputs

Options that affect the signing outputs of a build:
  --apk_signing_method (v1, v2, v1_v2 or v4; default: "v1_v2")
    Implementation to use to sign APKs
      Tags: action_command_lines, affects_outputs, loading_and_analysis
  --[no]device_debug_entitlements (a boolean; default: "true")
    If set, and compilation mode is not 'opt', objc apps will include debug 
    entitlements when signing.
      Tags: changes_inputs
  --ios_signing_cert_name (a string; default: see description)
    Certificate name to use for iOS signing. If not set will fall back to 
    provisioning profile. May be the certificate's keychain identity preference 
    or (substring) of the certificate's common name, as per codesign's man page 
    (SIGNING IDENTITIES).
      Tags: action_command_lines

This option affects semantics of the Starlark language or the build API accessible to BUILD files, .bzl files, or WORKSPACE files.:
  --[no]experimental_action_resource_set (a boolean; default: "true")
    If set to true, ctx.actions.run() and ctx.actions.run_shell() accept a 
    resource_set parameter for local execution. Otherwise it will default to 
    250 MB for memory and 1 cpu.
      Tags: execution, build_file_semantics, experimental
  --[no]experimental_allow_tags_propagation (a boolean; default: "false")
    If set to true, tags will be propagated from a target to the actions' 
    execution requirements; otherwise tags are not propagated. See https:
    //github.com/bazelbuild/bazel/issues/8830 for details.
      Tags: build_file_semantics, experimental
  --[no]experimental_analysis_test_call (a boolean; default: "true")
    If set to true, analysis_test native call is available.
      Tags: loading_and_analysis, build_file_semantics, experimental
  --[no]experimental_cc_shared_library (a boolean; default: "false")
    If set to true, rule attributes and Starlark API methods needed for the 
    rule cc_shared_library will be available
      Tags: build_file_semantics, loading_and_analysis, experimental
  --[no]experimental_disable_external_package (a boolean; default: "false")
    If set to true, the auto-generated //external package will not be available 
    anymore. Bazel will still be unable to parse the file 'external/BUILD', but 
    globs reaching into external/ from the unnamed package will work.
      Tags: loading_and_analysis, loses_incremental_state, experimental
  --[no]experimental_enable_android_migration_apis (a boolean; default: "false")
    If set to true, enables the APIs required to support the Android Starlark 
    migration.
      Tags: build_file_semantics
  --[no]experimental_google_legacy_api (a boolean; default: "false")
    If set to true, exposes a number of experimental pieces of Starlark build 
    API pertaining to Google legacy code.
      Tags: loading_and_analysis, experimental
  --[no]experimental_ninja_actions (a boolean; default: "false")
    If set to true, enables Ninja execution functionality.
      Tags: bazel_internal_configuration, experimental
  --[no]experimental_platforms_api (a boolean; default: "false")
    If set to true, enables a number of platform-related Starlark APIs useful 
    for debugging.
      Tags: loading_and_analysis, experimental
  --[no]experimental_repo_remote_exec (a boolean; default: "false")
    If set to true, repository_rule gains some remote execution capabilities.
      Tags: build_file_semantics, loading_and_analysis, experimental
  --[no]experimental_sibling_repository_layout (a boolean; default: "false")
    If set to true, non-main repositories are planted as symlinks to the main 
    repository in the execution root. That is, all repositories are direct 
    children of the $output_base/execution_root directory. This has the side 
    effect of freeing up $output_base/execution_root/__main__/external for the 
    real top-level 'external' directory.
      Tags: action_command_lines, bazel_internal_configuration, 
      loading_and_analysis, loses_incremental_state, experimental
  --[no]incompatible_always_check_depset_elements (a boolean; default: "true")
    Check the validity of elements added to depsets, in all constructors. 
    Elements must be immutable, but historically the depset(direct=...) 
    constructor forgot to check. Use tuples instead of lists in depset 
    elements. See https://github.com/bazelbuild/bazel/issues/10313 for details.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_config_setting_private_default_visibility (a boolean; default: "false")
    If incompatible_enforce_config_setting_visibility=false, this is a noop. 
    Else, if this flag is false, any config_setting without an explicit 
    visibility attribute is //visibility:public. If this flag is true, 
    config_setting follows the same visibility logic as all other rules. See 
    https://github.com/bazelbuild/bazel/issues/12933.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_depset_for_libraries_to_link_getter (a boolean; default: "true")
    When true, Bazel no longer returns a list from linking_context.
    libraries_to_link but returns a depset instead.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_disable_depset_items (a boolean; default: "true")
    If set to true, disable the 'items' parameter of the depset constructor. 
    Use the 'transitive' and 'direct' parameters instead.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_disable_target_provider_fields (a boolean; default: "false")
    If set to true, disable the ability to access providers on 'target' objects 
    via field syntax. Use provider-key syntax instead. For example, instead of 
    using `ctx.attr.dep.my_info` to access `my_info` from inside a rule 
    implementation function, use `ctx.attr.dep[MyInfo]`. See https://github.
    com/bazelbuild/bazel/issues/9014 for details.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_disable_third_party_license_checking (a boolean; default: "true")
    If true, disables all license checking logic
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_disallow_empty_glob (a boolean; default: "false")
    If set to true, the default value of the `allow_empty` argument of glob() 
    is False.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_disallow_legacy_javainfo (a boolean; default: "true")
    Deprecated. No-op.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_disallow_legacy_py_provider (a boolean; default: "true")
    If set to true, native Python rules will neither produce nor consume the 
    legacy "py" provider. Use PyInfo instead. Under this flag, passing the 
    legacy provider to a Python target will be an error.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_disallow_struct_provider_syntax (a boolean; default: "false")
    If set to true, rule implementation functions may not return a struct. They 
    must instead return a list of provider instances.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_enable_exports_provider (a boolean; default: "false")
    This flag enables exports provider and JavaInfo.transitive_exports call.
      Tags: build_file_semantics, loading_and_analysis, incompatible_change
  --[no]incompatible_enforce_config_setting_visibility (a boolean; default: "false")
    If true, enforce config_setting visibility restrictions. If false, every 
    config_setting is visible to every target. See https://github.
    com/bazelbuild/bazel/issues/12932.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_existing_rules_immutable_view (a boolean; default: "false")
    If set to true, native.existing_rule and native.existing_rules return 
    lightweight immutable view objects instead of mutable dicts.
      Tags: build_file_semantics, loading_and_analysis, incompatible_change
  --[no]incompatible_java_common_parameters (a boolean; default: "true")
    If set to true, the output_jar, and host_javabase parameters in 
    pack_sources and host_javabase in compile will all be removed.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_linkopts_to_linklibs (a boolean; default: "true")
    If set to true the default linkopts in the default toolchain are passed as 
    linklibs instead of linkopts to cc_toolchain_config
      Tags: action_command_lines, incompatible_change
  --[no]incompatible_new_actions_api (a boolean; default: "true")
    If set to true, the API to create actions is only available on `ctx.
    actions`, not on `ctx`.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_no_attr_license (a boolean; default: "true")
    If set to true, disables the function `attr.license`.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_no_implicit_file_export (a boolean; default: "false")
    If set, (used) source files are are package private unless exported 
    explicitly. See https://github.
    com/bazelbuild/proposals/blob/master/designs/2019-10-24-file-visibility.md
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_no_rule_outputs_param (a boolean; default: "false")
    If set to true, disables the `outputs` parameter of the `rule()` Starlark 
    function.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_require_linker_input_cc_api (a boolean; default: "true")
    If set to true, rule create_linking_context will require linker_inputs 
    instead of libraries_to_link. The old getters of linking_context will also 
    be disabled and just linker_inputs will be available.
      Tags: build_file_semantics, loading_and_analysis, incompatible_change
  --[no]incompatible_run_shell_command_string (a boolean; default: "true")
    If set to true, the command parameter of actions.run_shell will only accept 
    string
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_struct_has_no_methods (a boolean; default: "false")
    Disables the to_json and to_proto methods of struct, which pollute the 
    struct field namespace. Instead, use json.encode or json.encode_indent for 
    JSON, or proto.encode_text for textproto.
      Tags: build_file_semantics, incompatible_change
  --[no]incompatible_top_level_aspects_require_providers (a boolean; default: "false")
    If set to true, the top level aspect will honor its required providers and 
    only run on top level targets whose rules' advertised providers satisfy the 
    required providers of the aspect.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_use_cc_configure_from_rules_cc (a boolean; default: "false")
    When true, Bazel will no longer allow using cc_configure from @bazel_tools. 
    Please see https://github.com/bazelbuild/bazel/issues/10134 for details and 
    migration instructions.
      Tags: loading_and_analysis, incompatible_change
  --[no]incompatible_visibility_private_attributes_at_definition (a boolean; default: "false")
    If set to true, the visibility of private rule attributes is checked with 
    respect to the rule definition, rather than the rule usage.
      Tags: build_file_semantics, incompatible_change
  --max_computation_steps (a long integer; default: "0")
    The maximum number of Starlark computation steps that may be executed by a 
    BUILD file (zero means no limit).
      Tags: build_file_semantics
  --nested_set_depth_limit (an integer; default: "3500")
    The maximum depth of the graph internal to a depset (also known as 
    NestedSet), above which the depset() constructor will fail.
      Tags: loading_and_analysis

Options that govern the behavior of the test environment or test runner:
  --[no]allow_analysis_failures (a boolean; default: "false")
    If true, an analysis failure of a rule target results in the target's 
    propagation of an instance of AnalysisFailureInfo containing the error 
    description, instead of resulting in a build failure.
      Tags: loading_and_analysis, experimental
  --analysis_testing_deps_limit (an integer; default: "800")
    Sets the maximum number of transitive dependencies through a rule attribute 
    with a for_analysis_testing configuration transition. Exceeding this limit 
    will result in a rule error.
      Tags: loading_and_analysis
  --[no]break_build_on_parallel_dex2oat_failure (a boolean; default: "false")
    If true dex2oat action failures will cause the build to break instead of 
    executing dex2oat during test runtime.
      Tags: loading_and_analysis, experimental
  --[no]check_tests_up_to_date (a boolean; default: "false")
    Don't run tests, just check if they are up-to-date.  If all tests results 
    are up-to-date, the testing completes successfully.  If any test needs to 
    be built or executed, an error is reported and the testing fails.  This 
    option implies --check_up_to_date behavior.
      Using this option will also add: --check_up_to_date 
      Tags: execution
  --[no]experimental_android_use_parallel_dex2oat (a boolean; default: "false")
    Use dex2oat in parallel to possibly speed up android_test.
      Tags: loading_and_analysis, host_machine_resource_optimizations, 
      experimental
  --flaky_test_attempts (a positive integer, the string "default", or test_regex@attempts. This flag may be passed more than once; may be used multiple times)
    Each test will be retried up to the specified number of times in case of 
    any test failure. Tests that required more than one attempt to pass are 
    marked as 'FLAKY' in the test summary. Normally the value specified is just 
    an integer or the string 'default'. If an integer, then all tests will be 
    run up to N times. If 'default', then only a single test attempt will be 
    made for regular tests and three for tests marked explicitly as flaky by 
    their rule (flaky=1 attribute). Alternate syntax: 
    regex_filter@flaky_test_attempts. Where flaky_test_attempts is as above and 
    regex_filter stands for a list of include and exclude regular expression 
    patterns (Also see --runs_per_test). Example: --flaky_test_attempts=//foo/.
    *,-//foo/bar/.*@3 deflakes all tests in //foo/ except those under foo/bar 
    three times. This option can be passed multiple times. The most recently 
    passed argument that matches takes precedence. If nothing matches, behavior 
    is as if 'default' above.
      Tags: execution
  --[no]ios_memleaks (a boolean; default: "false")
    Enable checking for memory leaks in ios_test targets.
      Tags: action_command_lines
  --ios_simulator_device (a string; default: see description)
    The device to simulate when running an iOS application in the simulator, e.
    g. 'iPhone 6'. You can get a list of devices by running 'xcrun simctl list 
    devicetypes' on the machine the simulator will be run on.
      Tags: test_runner
  --ios_simulator_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    The version of iOS to run on the simulator when running or testing. This is 
    ignored for ios_test rules if a target device is specified in the rule.
      Tags: test_runner
  --local_test_jobs (an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; default: "auto")
    The max number of local test jobs to run concurrently. Takes an integer, or 
    a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an 
    operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5". 0 means local 
    resources will limit the number of local test jobs to run concurrently 
    instead. Setting this greater than the value for --jobs is ineffectual.
      Tags: execution
  --runs_per_test (a positive integer or test_regex@runs. This flag may be passed more than once; may be used multiple times)
    Specifies number of times to run each test. If any of those attempts fail 
    for any reason, the whole test is considered failed. Normally the value 
    specified is just an integer. Example: --runs_per_test=3 will run all tests 
    3 times. Alternate syntax: regex_filter@runs_per_test. Where runs_per_test 
    stands for an integer value and regex_filter stands for a list of include 
    and exclude regular expression patterns (Also see --
    instrumentation_filter). Example: --runs_per_test=//foo/.*,-//foo/bar/.*@3 
    runs all tests in //foo/ except those under foo/bar three times. This 
    option can be passed multiple times. The most recently passed argument that 
    matches takes precedence. If nothing matches, the test is only run once.
  --test_env (a 'name=value' assignment with an optional value part; may be used multiple times)
    Specifies additional environment variables to be injected into the test 
    runner environment. Variables can be either specified by name, in which 
    case its value will be read from the Bazel client environment, or by the 
    name=value pair. This option can be used multiple times to specify several 
    variables. Used only by the 'bazel test' command.
      Tags: test_runner
  --[no]test_keep_going (a boolean; default: "true")
    When disabled, any non-passing test will cause the entire build to stop. By 
    default all tests are run, even if some do not pass.
      Tags: execution
  --test_strategy (a string; default: "")
    Specifies which strategy to use when running tests.
      Tags: execution
  --test_timeout (a single integer or comma-separated list of 4 integers; default: "-1")
    Override the default test timeout values for test timeouts (in secs). If a 
    single positive integer value is specified it will override all 
    categories.  If 4 comma-separated integers are specified, they will 
    override the timeouts for short, moderate, long and eternal (in that 
    order). In either form, a value of -1 tells blaze to use its default 
    timeouts for that category.
  --test_tmpdir (a path; default: see description)
    Specifies the base temporary directory for 'bazel test' to use.
  --tvos_simulator_device (a string; default: see description)
    The device to simulate when running an tvOS application in the simulator, e.
    g. 'Apple TV 1080p'. You can get a list of devices by running 'xcrun simctl 
    list devicetypes' on the machine the simulator will be run on.
      Tags: test_runner
  --tvos_simulator_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    The version of tvOS to run on the simulator when running or testing.
      Tags: test_runner
  --watchos_simulator_device (a string; default: see description)
    The device to simulate when running an watchOS application in the 
    simulator, e.g. 'Apple Watch - 38mm'. You can get a list of devices by 
    running 'xcrun simctl list devicetypes' on the machine the simulator will 
    be run on.
      Tags: test_runner
  --watchos_simulator_version (a dotted version (for example '2.3' or '3.3alpha2.4'); default: see description)
    The version of watchOS to run on the simulator when running or testing.
      Tags: test_runner
  --[no]zip_undeclared_test_outputs (a boolean; default: "true")
    If true, undeclared test outputs will be archived in a zip file.
      Tags: test_runner

Options that trigger optimizations of the build time:
  --[no]collapse_duplicate_defines (a boolean; default: "false")
    When enabled, redundant --defines will be removed early in the build. This 
    avoids unnecessary loss of the analysis cache for certain types of 
    equivalent builds.
      Tags: loading_and_analysis, loses_incremental_state
  --[no]distinct_host_configuration (a boolean; default: "true")
    Build all the tools used during the build for a distinct configuration from 
    that used for the target program. When this is disabled, the same 
    configuration is used for host and target programs. This may cause 
    undesirable rebuilds of tools such as the protocol compiler (and then 
    everything downstream) whenever a minor change is made to the target 
    configuration, such as setting the linker options. When this is enabled 
    (the default), a distinct configuration will be used to build the tools, 
    preventing undesired rebuilds. However, certain libraries will then need to 
    be compiled twice, once for each configuration, which may cause some builds 
    to be slower. As a rule of thumb, this option is likely to benefit users 
    that make frequent changes in configuration (e.g. opt/dbg).  Please read 
    the user manual for the full explanation.
      Tags: loses_incremental_state, bazel_internal_configuration, 
      loading_and_analysis
  --[no]experimental_filter_library_jar_with_program_jar (a boolean; default: "false")
    Filter the ProGuard ProgramJar to remove any classes also present in the 
    LibraryJar.
      Tags: action_command_lines
  --[no]experimental_inmemory_dotd_files (a boolean; default: "false")
    If enabled, C++ .d files will be passed through in memory directly from the 
    remote build nodes instead of being written to disk.
      Tags: loading_and_analysis, execution, affects_outputs, experimental
  --[no]experimental_inmemory_jdeps_files (a boolean; default: "false")
    If enabled, the dependency (.jdeps) files generated from Java compilations 
    will be passed through in memory directly from the remote build nodes 
    instead of being written to disk.
      Tags: loading_and_analysis, execution, affects_outputs, experimental
  --[no]experimental_objc_include_scanning (a boolean; default: "false")
    Whether to perform include scanning for objective C/C++.
      Tags: loading_and_analysis, execution, changes_inputs
  --[no]experimental_parse_headers_skipped_if_corresponding_srcs_found (a boolean; default: "false")
    If enabled, the parse_headers feature does not create a separate header 
    compile action if a source with the same basename is found in the same 
    target.
      Tags: loading_and_analysis, affects_outputs
  --[no]experimental_retain_test_configuration_across_testonly (a boolean; default: "false")
    When enabled, --trim_test_configuration will not trim the test 
    configuration for rules marked testonly=1. This is meant to reduce action 
    conflict issues when non-test rules depend on cc_test rules. No effect if --
    trim_test_configuration is false.
      Tags: loading_and_analysis, loses_incremental_state
  --[no]experimental_starlark_cc_import (a boolean; default: "false")
    If enabled, the Starlark version of cc_import can be used.
      Tags: loading_and_analysis, experimental
  --[no]incompatible_do_not_split_linking_cmdline (a boolean; default: "true")
    When true, Bazel no longer modifies command line flags used for linking, 
    and also doesn't selectively decide which flags go to the param file and 
    which don't.  See https://github.com/bazelbuild/bazel/issues/7670 for 
    details.
      Tags: loading_and_analysis, incompatible_change
  --[no]incremental_dexing (a boolean; default: "true")
    Does most of the work for dexing separately for each Jar file.
      Tags: affects_outputs, loading_and_analysis, loses_incremental_state
  --[no]keep_state_after_build (a boolean; default: "true")
    If false, Blaze will discard the inmemory state from this build when the 
    build finishes. Subsequent builds will not have any incrementality with 
    respect to this one.
      Tags: loses_incremental_state
  --[no]objc_use_dotd_pruning (a boolean; default: "true")
    If set, .d files emitted by clang will be used to prune the set of inputs 
    passed into objc compiles.
      Tags: changes_inputs, loading_and_analysis
  --[no]process_headers_in_dependencies (a boolean; default: "false")
    When building a target //a:a, process headers in all targets that //a:a 
    depends on (if header processing is enabled for the toolchain).
      Tags: execution
  --[no]track_incremental_state (a boolean; default: "true")
    If false, Blaze will not persist data that allows for invalidation and re-
    evaluation on incremental builds in order to save memory on this build. 
    Subsequent builds will not have any incrementality with respect to this 
    one. Usually you will want to specify --batch when setting this to false.
      Tags: loses_incremental_state
  --[no]trim_test_configuration (a boolean; default: "true")
    When enabled, test-related options will be cleared below the top level of 
    the build. When this flag is active, tests cannot be built as dependencies 
    of non-test rules, but changes to test-related options will not cause non-
    test rules to be re-analyzed.
      Tags: loading_and_analysis, loses_incremental_state
  --[no]use_singlejar_apkbuilder (a boolean; default: "true")
    This option is a deprecated. It is now a no-op and will be removed soon.
      Tags: loading_and_analysis

Options that affect the verbosity, format or location of logging:
  --[no]announce (a boolean; default: "false")
    Deprecated. No-op.
      Tags: affects_outputs
  --[no]announce_rc (a boolean; default: "false")
    Whether to announce rc options.
      Tags: affects_outputs
  --[no]attempt_to_print_relative_paths (a boolean; default: "false")
    When printing the location part of messages, attempt to use a path relative 
    to the workspace directory or one of the directories specified by --
    package_path.
      Tags: terminal_output
  --bes_backend (a string; default: "")
    Specifies the build event service (BES) backend endpoint in the form 
    [SCHEME://]HOST[:PORT]. The default is to disable BES uploads. Supported 
    schemes are grpc and grpcs (grpc with TLS enabled). If no scheme is 
    provided, Bazel assumes grpcs.
      Tags: affects_outputs
  --bes_header (a 'name=value' assignment; may be used multiple times)
    Specify a header in NAME=VALUE form that will be included in BES requests. 
    Multiple headers can be passed by specifying the flag multiple times. 
    Multiple values for the same name will be converted to a comma-separated 
    list.
      Tags: affects_outputs
  --bes_instance_name (a string; default: see description)
    Specifies the instance name under which the BES will persist uploaded BEP. 
    Defaults to null.
      Tags: affects_outputs
  --bes_keywords (comma-separated list of options; may be used multiple times)
    Specifies a list of notification keywords to be added the default set of 
    keywords published to BES ("command_name=<command_name> ", 
    "protocol_name=BEP"). Defaults to none.
      Tags: affects_outputs
  --[no]bes_lifecycle_events (a boolean; default: "true")
    Specifies whether to publish BES lifecycle events. (defaults to 'true').
      Tags: affects_outputs
  --bes_outerr_buffer_size (an integer; default: "10240")
    Specifies the maximal size of stdout or stderr to be buffered in BEP, 
    before it is reported as a progress event. Individual writes are still 
    reported in a single event, even if larger than the specified value up to --
    bes_outerr_chunk_size.
      Tags: affects_outputs
  --bes_outerr_chunk_size (an integer; default: "1048576")
    Specifies the maximal size of stdout or stderr to be sent to BEP in a 
    single message.
      Tags: affects_outputs
  --bes_proxy (a string; default: see description)
    Connect to the Build Event Service through a proxy. Currently this flag can 
    only be used to configure a Unix domain socket (unix:/path/to/socket).
  --bes_results_url (a string; default: "")
    Specifies the base URL where a user can view the information streamed to 
    the BES backend. Bazel will output the URL appended by the invocation id to 
    the terminal.
      Tags: terminal_output
  --bes_timeout (An immutable length of time.; default: "0s")
    Specifies how long bazel should wait for the BES/BEP upload to complete 
    after the build and tests have finished. A valid timeout is a natural 
    number followed by a unit: Days (d), hours (h), minutes (m), seconds (s), 
    and milliseconds (ms). The default value is '0' which means that there is 
    no timeout.
      Tags: affects_outputs
  --build_event_binary_file (a string; default: "")
    If non-empty, write a varint delimited binary representation of 
    representation of the build event protocol to that file. This option 
    implies --bes_upload_mode=wait_for_upload_complete.
      Using this option will also add: --
      bes_upload_mode=wait_for_upload_complete 
      Tags: affects_outputs
  --[no]build_event_binary_file_path_conversion (a boolean; default: "true")
    Convert paths in the binary file representation of the build event protocol 
    to more globally valid URIs whenever possible; if disabled, the file:// uri 
    scheme will always be used
      Tags: affects_outputs
  --build_event_json_file (a string; default: "")
    If non-empty, write a JSON serialisation of the build event protocol to 
    that file.
      Tags: affects_outputs
  --[no]build_event_json_file_path_conversion (a boolean; default: "true")
    Convert paths in the json file representation of the build event protocol 
    to more globally valid URIs whenever possible; if disabled, the file:// uri 
    scheme will always be used
      Tags: affects_outputs
  --build_event_max_named_set_of_file_entries (an integer; default: "-1")
    The maximum number of entries for a single named_set_of_files event; values 
    smaller than 2 are ignored and no event splitting is performed. This is 
    intended for limiting the maximum event size in the build event protocol, 
    although it does not directly control event size. The total event size is a 
    function of the structure of the set as well as the file and uri lengths, 
    which may in turn depend on the hash function.
      Tags: affects_outputs
  --[no]build_event_publish_all_actions (a boolean; default: "false")
    Whether all actions should be published.
      Tags: affects_outputs
  --build_event_text_file (a string; default: "")
    If non-empty, write a textual representation of the build event protocol to 
    that file
      Tags: affects_outputs
  --[no]build_event_text_file_path_conversion (a boolean; default: "true")
    Convert paths in the text file representation of the build event protocol 
    to more globally valid URIs whenever possible; if disabled, the file:// uri 
    scheme will always be used
      Tags: affects_outputs
  --[no]experimental_announce_profile_path (a boolean; default: "false")
    If enabled, adds the JSON profile path to the log.
      Tags: affects_outputs, bazel_monitoring
  --[no]experimental_bep_target_summary (a boolean; default: "false")
    Whether to publish TargetSummary events.
  --[no]experimental_build_event_expand_filesets (a boolean; default: "false")
    If true, expand Filesets in the BEP when presenting output files.
      Tags: affects_outputs
  --[no]experimental_build_event_fully_resolve_fileset_symlinks (a boolean; default: "false")
    If true, fully resolve relative Fileset symlinks in the BEP when presenting 
    output files. Requires --experimental_build_event_expand_filesets.
      Tags: affects_outputs
  --experimental_build_event_upload_strategy (a string; default: see description)
    Selects how to upload artifacts referenced in the build event protocol.
      Tags: affects_outputs
  --[no]experimental_materialize_param_files_directly (a boolean; default: "false")
    If materializing param files, do so with direct writes to disk.
      Tags: execution
  --experimental_profile_additional_tasks (phase, action, action_check, action_lock, action_release, action_update, action_complete, info, create_package, remote_execution, local_execution, scanner, local_parse, upload_time, process_time, remote_queue, remote_setup, fetch, vfs_stat, vfs_dir, vfs_readlink, vfs_md5, vfs_xattr, vfs_delete, vfs_open, vfs_read, vfs_write, vfs_glob, vfs_vmfs_stat, vfs_vmfs_dir, vfs_vmfs_read, wait, thread_name, thread_sort_index, skyframe_eval, skyfunction, critical_path, critical_path_component, handle_gc_notification, action_counts, local_cpu_usage, system_cpu_usage, local_memory_usage, system_memory_usage, starlark_parser, starlark_user_fn, starlark_builtin_fn, starlark_user_compiled_fn, starlark_repository_fn, action_fs_staging, remote_cache_check, remote_download, remote_network, filesystem_traversal, worker_execution, worker_setup, worker_borrow, worker_working, worker_copying_outputs or unknown; may be used multiple times)
    Specifies additional profile tasks to be included in the profile.
      Tags: affects_outputs, bazel_monitoring
  --[no]experimental_profile_include_primary_output (a boolean; default: "false")
    Includes the extra "out" attribute in action events that contains the exec 
    path to the action's primary output.
      Tags: affects_outputs, bazel_monitoring
  --[no]experimental_profile_include_target_label (a boolean; default: "false")
    Includes target label in action events' JSON profile data.
      Tags: affects_outputs, bazel_monitoring
  --[no]experimental_record_metrics_for_all_mnemonics (a boolean; default: "false")
    By default the number of action types is limited to the 20 mnemonics with 
    the largest number of executed actions. Setting this option will write 
    statistics for all mnemonics.
  --experimental_repository_resolved_file (a string; default: "")
    If non-empty, write a Starlark value with the resolved information of all 
    Starlark repository rules that were executed.
      Tags: affects_outputs
  --[no]experimental_stream_log_file_uploads (a boolean; default: "false")
    Stream log file uploads directly to the remote storage rather than writing 
    them to disk.
      Tags: affects_outputs
  --experimental_workspace_rules_log_file (a path; default: see description)
    Log certain Workspace Rules events into this file as delimited 
    WorkspaceEvent protos.
  --explain (a path; default: see description)
    Causes the build system to explain each executed step of the build. The 
    explanation is written to the specified log file.
      Tags: affects_outputs
  --[no]generate_json_trace_profile (a tri-state (auto, yes, no); default: "auto")
    If enabled, Bazel profiles the build and writes a JSON-format profile into 
    a file in the output base. View profile by loading into chrome://tracing. 
    By default Bazel writes the profile for all build-like commands and query.
      Tags: affects_outputs, bazel_monitoring
  --[no]heap_dump_on_oom (a boolean; default: "false")
    Whether to manually output a heap dump if an OOM is thrown (including OOMs 
    due to --experimental_oom_more_eagerly_threshold). The dump will be written 
    to <output_base>/<invocation_id>.heapdump.hprof. This option effectively 
    replaces -XX:+HeapDumpOnOutOfMemoryError, which has no effect because OOMs 
    are caught and redirected to Runtime#halt.
      Tags: bazel_monitoring
  --[no]legacy_important_outputs (a boolean; default: "true")
    Use this to suppress generation of the legacy important_outputs field in 
    the TargetComplete event.
      Tags: affects_outputs
  --logging (0 <= an integer <= 6; default: "3")
    The logging level.
      Tags: affects_outputs
  --[no]materialize_param_files (a boolean; default: "false")
    Writes intermediate parameter files to output tree even when using remote 
    action execution. Useful when debugging actions. This is implied by --
    subcommands and --verbose_failures.
      Tags: execution
  --max_config_changes_to_show (an integer; default: "3")
    When discarding the analysis cache due to a change in the build options, 
    displays up to the given number of changed option names. If the number 
    given is -1, all changed options will be displayed.
      Tags: terminal_output
  --max_test_output_bytes (an integer; default: "-1")
    Specifies maximum per-test-log size that can be emitted when --test_summary 
    is 'errors' or 'all'. Useful for avoiding overwhelming the output with 
    excessively noisy test output. The test header is included in the log size. 
    Negative values imply no limit. Output is all or nothing.
      Tags: test_runner, terminal_output, execution
  --memory_profile_stable_heap_parameters (two integers, separated by a comma; default: "1,0")
    Tune memory profile's computation of stable heap at end of build. Should be 
    two integers separated by a comma. First parameter is the number of GCs to 
    perform. Second parameter is the number of seconds to wait between GCs.
      Tags: bazel_monitoring
  --output_filter (a valid Java regular expression; default: see description)
    Only shows warnings for rules with a name matching the provided regular 
    expression.
      Tags: affects_outputs
  --profile (a path; default: see description)
    If set, profile Bazel and write data to the specified file. Use bazel 
    analyze-profile to analyze the profile.
      Tags: affects_outputs, bazel_monitoring
  --progress_report_interval (an integer in 0-3600 range; default: "0")
    The number of seconds to wait between two reports on still running jobs. 
    The default value 0 means to use the default 10:30:60 incremental algorithm.
      Tags: affects_outputs
  --remote_print_execution_messages (failure, success or all; default: "failure")
    Choose when to print remote execution messages. Valid values are `failure`, 
    to print only on failures, `success` to print only on successes and `all` 
    to print always.
      Tags: terminal_output
  --show_result (an integer; default: "1")
    Show the results of the build.  For each target, state whether or not it 
    was brought up-to-date, and if so, a list of output files that were built.  
    The printed files are convenient strings for copy+pasting to the shell, to 
    execute them.
    This option requires an integer argument, which is the threshold number of 
    targets above which result information is not printed. Thus zero causes 
    suppression of the message and MAX_INT causes printing of the result to 
    occur always.  The default is one.
      Tags: affects_outputs
  --[no]slim_profile (a boolean; default: "true")
    Slims down the size of the JSON profile by merging events if the profile 
    gets  too large.
      Tags: affects_outputs, bazel_monitoring
  --starlark_cpu_profile (a string; default: "")
    Writes into the specified file a pprof profile of CPU usage by all Starlark 
    threads.
      Tags: bazel_monitoring
  --[no]subcommands [-s] (true, pretty_print or false; default: "false")
    Display the subcommands executed during a build.
      Tags: terminal_output
  --test_output (summary, errors, all or streamed; default: "summary")
    Specifies desired output mode. Valid values are 'summary' to output only 
    test status summary, 'errors' to also print test logs for failed tests, 
    'all' to print logs for all tests and 'streamed' to output logs for all 
    tests in real time (this will force tests to be executed locally one at a 
    time regardless of --test_strategy value).
      Tags: test_runner, terminal_output, execution
  --test_summary (short, terse, detailed, none or testcase; default: "short")
    Specifies the desired format ot the test summary. Valid values are 'short' 
    to print information only about tests executed, 'terse', to print 
    information only about unsuccessful tests that were run, 'detailed' to 
    print detailed information about failed test cases, and 'none' to omit the 
    summary.
      Tags: terminal_output
  --tool_tag (a string; default: "")
    A tool name to attribute this Bazel invocation to.
      Tags: affects_outputs, bazel_monitoring
  --toolchain_resolution_debug (a comma-separated list of regex expressions with prefix '-' specifying excluded paths; default: "-.*")
    Print debug information during toolchain resolution. The flag takes a 
    regex, which is checked against toolchain types and specific targets to see 
    which to debug. Multiple regexes may be  separated by commas, and then each 
    regex is checked separately. Note: The output of this flag is very complex 
    and will likely only be useful to experts in toolchain resolution.
      Tags: terminal_output
  --ui_event_filters (Convert list of comma separated event kind to list of filters; may be used multiple times)
    Specifies which events to show in the UI. It is possible to add or remove 
    events to the default ones using leading +/-, or override the default set 
    completely with direct assignment. The set of supported event kinds include 
    INFO, DEBUG, ERROR and more.
      Tags: terminal_output
  --[no]verbose_explanations (a boolean; default: "false")
    Increases the verbosity of the explanations issued if --explain is enabled. 
    Has no effect if --explain is not enabled.
      Tags: affects_outputs
  --[no]verbose_failures (a boolean; default: "false")
    If a command fails, print out the full command line.
      Tags: terminal_output

Options specifying or altering a generic input to a Bazel command that does not fall into other categories.:
  --experimental_resolved_file_instead_of_workspace (a string; default: "")
    If non-empty read the specified resolved file instead of the WORKSPACE file
      Tags: changes_inputs
  --flag_alias (a 'name=value' flag alias; may be used multiple times)
    Sets a shorthand name for a Starlark flag. It takes a single key-value pair 
    in the form "<key>=<value>" as an argument.
      Tags: changes_inputs
  --[no]incompatible_default_to_explicit_init_py (a boolean; default: "false")
    This flag changes the default behavior so that __init__.py files are no 
    longer automatically created in the runfiles of Python targets. Precisely, 
    when a py_binary or py_test target has legacy_create_init set to "auto" 
    (the default), it is treated as false if and only if this flag is set. See 
    https://github.com/bazelbuild/bazel/issues/10076.
      Tags: affects_outputs, incompatible_change
  --[no]incompatible_py2_outputs_are_suffixed (a boolean; default: "true")
    If true, targets built in the Python 2 configuration will appear under an 
    output root that includes the suffix '-py2', while targets built for Python 
    3 will appear in a root with no Python-related suffix. This means that the 
    `bazel-bin` convenience symlink will point to Python 3 targets rather than 
    Python 2. If you enable this option it is also recommended to enable `--
    incompatible_py3_is_default`.
      Tags: affects_outputs, incompatible_change
  --[no]incompatible_py3_is_default (a boolean; default: "true")
    If true, `py_binary` and `py_test` targets that do not set their 
    `python_version` (or `default_python_version`) attribute will default to 
    PY3 rather than to PY2. If you set this flag it is also recommended to set 
    `--incompatible_py2_outputs_are_suffixed`.
      Tags: loading_and_analysis, affects_outputs, incompatible_change
  --[no]incompatible_use_python_toolchains (a boolean; default: "true")
    If set to true, executable native Python rules will use the Python runtime 
    specified by the Python toolchain, rather than the runtime given by legacy 
    flags like --python_top.
      Tags: loading_and_analysis, incompatible_change
  --python_version (PY2 or PY3; default: see description)
    The Python major version mode, either `PY2` or `PY3`. Note that this is 
    overridden by `py_binary` and `py_test` targets (even if they don't 
    explicitly specify a version) so there is usually not much reason to supply 
    this flag.
      Tags: loading_and_analysis, affects_outputs
  --target_pattern_file (a string; default: "")
    If set, build will read patterns from the file named here, rather than on 
    the command line. It is an error to specify a file here as well as command-
    line patterns.
      Tags: changes_inputs

Remote caching and execution options:
  --experimental_downloader_config (a string; default: see description)
    Specify a file to configure the remote downloader with. This file consists 
    of lines, each of which starts with a directive (`allow`, `block` or 
    `rewrite`) followed by either a host name (for `allow` and `block`) or two 
    patterns, one to match against, and one to use as a substitute URL, with 
    back-references starting from `$1`. It is possible for multiple `rewrite` 
    directives for the same URL to be give, and in this case multiple URLs will 
    be returned.
  --[no]experimental_guard_against_concurrent_changes (a boolean; default: "false")
    Turn this off to disable checking the ctime of input files of an action 
    before uploading it to a remote cache. There may be cases where the Linux 
    kernel delays writing of files, which could cause false positives.
  --[no]experimental_remote_cache_async (a boolean; default: "false")
    If true, remote cache I/O will happen in the background instead of taking 
    place as the part of a spawn.
  --[no]experimental_remote_cache_compression (a boolean; default: "false")
    If enabled, compress/decompress cache blobs with zstd.
  --experimental_remote_capture_corrupted_outputs (a path; default: see description)
    A path to a directory where the corrupted outputs will be captured to.
  --experimental_remote_downloader (a string; default: see description)
    A Remote Asset API endpoint URI, to be used as a remote download proxy. The 
    supported schemas are grpc, grpcs (grpc with TLS enabled) and unix (local 
    UNIX sockets). If no schema is provided Bazel will default to grpcs. See: 
    https://github.com/bazelbuild/remote-
    apis/blob/master/build/bazel/remote/asset/v1/remote_asset.proto
  --[no]experimental_remote_execution_keepalive (a boolean; default: "false")
    Whether to use keepalive for remote execution calls.
  --experimental_remote_grpc_log (a path; default: see description)
    If specified, a path to a file to log gRPC call related details. This log 
    consists of a sequence of serialized com.google.devtools.build.lib.remote.
    logging.RemoteExecutionLog.LogEntry protobufs with each message prefixed by 
    a varint denoting the size of the following serialized protobuf message, as 
    performed by the method LogEntry.writeDelimitedTo(OutputStream).
  --[no]experimental_remote_merkle_tree_cache (a boolean; default: "false")
    If set to true, Merkle tree calculations will be memoized to improve the 
    remote cache hit checking speed. The memory foot print of the cache is 
    controlled by --experimental_remote_merkle_tree_cache_size.
  --experimental_remote_merkle_tree_cache_size (a long integer; default: "1000")
    The number of Merkle trees to memoize to improve the remote cache hit 
    checking speed. Even though the cache is automatically pruned according to 
    Java's handling of soft references, out-of-memory errors can occur if set 
    too high. If set to 0  the cache size is unlimited. Optimal value varies 
    depending on project's size. Default to 1000.
  --[no]incompatible_remote_build_event_upload_respect_no_cache (a boolean; default: "false")
    If set to true, outputs referenced by BEP are not uploaded to remote cache 
    if the generating action cannot be cached remotely.
  --[no]incompatible_remote_output_paths_relative_to_input_root (a boolean; default: "false")
    If set to true, output paths are relative to input root instead of working 
    directory.
      Tags: incompatible_change
  --[no]incompatible_remote_results_ignore_disk (a boolean; default: "false")
    If set to true, --noremote_upload_local_results and --
    noremote_accept_cached will not apply to the disk cache. If a combined 
    cache is used:
        --noremote_upload_local_results will cause results to be written to the 
    disk cache, but not uploaded to the remote cache.
        --noremote_accept_cached will result in Bazel checking for results in the 
    disk cache, but not in the remote cache.
        no-remote-exec actions can hit the disk cache.
    See #8216 for details.
      Tags: incompatible_change
  --[no]remote_accept_cached (a boolean; default: "true")
    Whether to accept remotely cached action results.
  --remote_bytestream_uri_prefix (a string; default: see description)
    The hostname and instance name to be used in bytestream:// URIs that are 
    written into build event streams. This option can be set when builds are 
    performed using a proxy, which causes the values of --remote_executor and --
    remote_instance_name to no longer correspond to the canonical name of the 
    remote execution service. When not set, it will default to "${hostname}
    /${instance_name}".
  --remote_cache (a string; default: see description)
    A URI of a caching endpoint. The supported schemas are http, https, grpc, 
    grpcs (grpc with TLS enabled) and unix (local UNIX sockets). If no schema 
    is provided Bazel will default to grpcs. Specify grpc://, http:// or unix: 
    schema to disable TLS. See https://docs.bazel.build/versions/main/remote-
    caching.html
  --remote_cache_header (a 'name=value' assignment; may be used multiple times)
    Specify a header that will be included in cache requests: --
    remote_cache_header=Name=Value. Multiple headers can be passed by 
    specifying the flag multiple times. Multiple values for the same name will 
    be converted to a comma-separated list.
  --remote_default_exec_properties (a 'name=value' assignment; may be used multiple times)
    Set the default exec properties to be used as the remote execution platform 
    if an execution platform does not already set exec_properties.
      Tags: affects_outputs
  --remote_default_platform_properties (a string; default: "")
    Set the default platform properties to be set for the remote execution API, 
    if the execution platform does not already set remote_execution_properties. 
    This value will also be used if the host platform is selected as the 
    execution platform for remote execution.
  --remote_downloader_header (a 'name=value' assignment; may be used multiple times)
    Specify a header that will be included in remote downloader requests: --
    remote_downloader_header=Name=Value. Multiple headers can be passed by 
    specifying the flag multiple times. Multiple values for the same name will 
    be converted to a comma-separated list.
  --remote_exec_header (a 'name=value' assignment; may be used multiple times)
    Specify a header that will be included in execution requests: --
    remote_exec_header=Name=Value. Multiple headers can be passed by specifying 
    the flag multiple times. Multiple values for the same name will be 
    converted to a comma-separated list.
  --remote_execution_priority (an integer; default: "0")
    The relative priority of actions to be executed remotely. The semantics of 
    the particular priority values are server-dependent.
  --remote_executor (a string; default: see description)
    HOST or HOST:PORT of a remote execution endpoint. The supported schemas are 
    grpc, grpcs (grpc with TLS enabled) and unix (local UNIX sockets). If no 
    schema is provided Bazel will default to grpcs. Specify grpc:// or unix: 
    schema to disable TLS.
  --remote_header (a 'name=value' assignment; may be used multiple times)
    Specify a header that will be included in requests: --
    remote_header=Name=Value. Multiple headers can be passed by specifying the 
    flag multiple times. Multiple values for the same name will be converted to 
    a comma-separated list.
  --remote_instance_name (a string; default: "")
    Value to pass as instance_name in the remote execution API.
  --[no]remote_local_fallback (a boolean; default: "false")
    Whether to fall back to standalone local execution strategy if remote 
    execution fails.
  --remote_local_fallback_strategy (a string; default: "local")
    No-op, deprecated. See https://github.com/bazelbuild/bazel/issues/7480 for 
    details.
  --remote_max_connections (an integer; default: "100")
    Limit the max number of concurrent connections to remote cache/executor. By 
    default the value is 100. Setting this to 0 means no limitation.
    For HTTP remote cache, one TCP connection could handle one request at one 
    time, so Bazel could make up to --remote_max_connections concurrent 
    requests.
    For gRPC remote cache/executor, one gRPC channel could usually handle 100+ 
    concurrent requests, so Bazel could make around `--remote_max_connections * 
    100` concurrent requests.
      Tags: host_machine_resource_optimizations
  --remote_proxy (a string; default: see description)
    Connect to the remote cache through a proxy. Currently this flag can only 
    be used to configure a Unix domain socket (unix:/path/to/socket).
  --remote_result_cache_priority (an integer; default: "0")
    The relative priority of remote actions to be stored in remote cache. The 
    semantics of the particular priority values are server-dependent.
  --remote_retries (an integer; default: "5")
    The maximum number of attempts to retry a transient error. If set to 0, 
    retries are disabled.
  --remote_timeout (An immutable length of time.; default: "60s")
    The maximum amount of time to wait for remote execution and cache calls. 
    For the REST cache, this is both the connect and the read timeout. 
    Following units can be used: Days (d), hours (h), minutes (m), seconds (s), 
    and milliseconds (ms). If the unit is omitted, the value is interpreted as 
    seconds.
  --[no]remote_upload_local_results (a boolean; default: "true")
    Whether to upload locally executed action results to the remote cache.
  --[no]remote_verify_downloads (a boolean; default: "true")
    If set to true, Bazel will compute the hash sum of all remote downloads 
    and  discard the remotely cached values if they don't match the expected 
    value.

Miscellaneous options, not otherwise categorized.:
  --all_incompatible_changes
    No-op, being removed. See https://github.com/bazelbuild/bazel/issues/13892
      Tags: no_op, incompatible_change
  --auto_output_filter (none, all, packages or subpackages; default: "none")
    If --output_filter is not specified, then the value for this option is used 
    create a filter automatically. Allowed values are 'none' (filter nothing / 
    show everything), 'all' (filter everything / show nothing), 'packages' 
    (include output from rules in packages mentioned on the Blaze command 
    line), and 'subpackages' (like 'packages', but also include subpackages). 
    For the 'packages' and 'subpackages' values //java/foo and //javatests/foo 
    are treated as one package)'.
  --[no]build_manual_tests (a boolean; default: "false")
    Forces test targets tagged 'manual' to be built. 'manual' tests are 
    excluded from processing. This option forces them to be built (but not 
    executed).
  --build_metadata (a 'name=value' assignment; may be used multiple times)
    Custom key-value string pairs to supply in a build event.
      Tags: terminal_output
  --build_tag_filters (comma-separated list of options; default: "")
    Specifies a comma-separated list of tags. Each tag can be optionally 
    preceded with '-' to specify excluded tags. Only those targets will be 
    built that contain at least one included tag and do not contain any 
    excluded tags. This option does not affect the set of tests executed with 
    the 'test' command; those are be governed by the test filtering options, 
    for example '--test_tag_filters'
  --[no]build_tests_only (a boolean; default: "false")
    If specified, only *_test and test_suite rules will be built and other 
    targets specified on the command line will be ignored. By default 
    everything that was requested will be built.
  --[no]cache_test_results [-t] (a tri-state (auto, yes, no); default: "auto")
    If set to 'auto', Bazel reruns a test if and only if: (1) Bazel detects 
    changes in the test or its dependencies, (2) the test is marked as 
    external, (3) multiple test runs were requested with --runs_per_test, or(4) 
    the test previously failed. If set to 'yes', Bazel caches all test results 
    except for tests marked as external. If set to 'no', Bazel does not cache 
    any test results.
  --color (yes, no or auto; default: "auto")
    Use terminal controls to colorize output.
  --combined_report (none or lcov; default: "none")
    Specifies desired cumulative coverage report type. At this point only LCOV 
    is supported.
  --[no]compile_one_dependency (a boolean; default: "false")
    Compile a single dependency of the argument files. This is useful for 
    syntax checking source files in IDEs, for example, by rebuilding a single 
    target that depends on the source file to detect errors as early as 
    possible in the edit/build/test cycle. This argument affects the way all 
    non-flag arguments are interpreted; instead of being targets to build they 
    are source filenames.  For each source filename an arbitrary target that 
    depends on it will be built.
  --config (a string; may be used multiple times)
    Selects additional config sections from the rc files; for every <command>, 
    it also pulls in the options from <command>:<config> if such a section 
    exists; if this section doesn't exist in any .rc file, Blaze fails with an 
    error. The config sections and flag combinations they are equivalent to are 
    located in the tools/*.blazerc config files.
  --curses (yes, no or auto; default: "auto")
    Use terminal cursor controls to minimize scrolling output.
  --deleted_packages (comma-separated list of package names; default: "")
    A comma-separated list of names of packages which the build system will 
    consider non-existent, even if they are visible somewhere on the package 
    path.
    Use this option when deleting a subpackage 'x/y' of an existing package 
    'x'.  For example, after deleting x/y/BUILD in your client, the build 
    system may complain if it encounters a label '//x:y/z' if that is still 
    provided by another package_path entry.  Specifying --deleted_packages x/y 
    avoids this problem.
  --[no]discard_analysis_cache (a boolean; default: "false")
    Discard the analysis cache immediately after the analysis phase completes. 
    Reduces memory usage by ~10%, but makes further incremental builds slower.
  --disk_cache (a path; default: see description)
    A path to a directory where Bazel can read and write actions and action 
    outputs. If the directory does not exist, it will be created.
  --embed_label (a one-line string; default: "")
    Embed source control revision or release label in binary
  --[no]enable_platform_specific_config (a boolean; default: "false")
    If true, Bazel picks up host-OS-specific config lines from bazelrc files. 
    For example, if the host OS is Linux and you run bazel build, Bazel picks 
    up lines starting with build:linux. Supported OS identifiers are linux, 
    macos, windows, freebsd, and openbsd. Enabling this flag is equivalent to 
    using --config=linux on Linux, --config=windows on Windows, etc.
  --execution_log_binary_file (a path; default: see description)
    Log the executed spawns into this file as delimited Spawn protos.
  --execution_log_json_file (a path; default: see description)
    Log the executed spawns into this file as json representation of the 
    delimited Spawn protos.
  --[no]expand_test_suites (a boolean; default: "true")
    Expand test_suite targets into their constituent tests before analysis. 
    When this flag is turned on (the default), negative target patterns will 
    apply to the tests belonging to the test suite, otherwise they will not. 
    Turning off this flag is useful when top-level aspects are applied at 
    command line: then they can analyze test_suite targets.
      Tags: loading_and_analysis
  --[no]experimental_cancel_concurrent_tests (a boolean; default: "false")
    If true, then Blaze will cancel concurrently running tests on the first 
    successful run. This is only useful in combination with --
    runs_per_test_detects_flakes.
      Tags: affects_outputs, loading_and_analysis
  --experimental_credential_helper (An (unresolved) path to a credential helper for a scope.; may be used multiple times)
    Configures Credential Helpers to use for retrieving credentials for the 
    provided scope (domain).
    
    Credentials from Credential Helpers take precedence over credentials from 
    <code>--google_default_credentials</code>, `--google_credentials`, or 
    <code>.netrc</code>.
    
    See https://github.com/bazelbuild/proposals/blob/main/designs/2022-06-07-
    bazel-credential-helpers.md for details.
  --experimental_credential_helper_cache_duration (An immutable length of time.; default: "30m")
    Configures the duration for which credentials from Credential Helpers are 
    cached.
  --experimental_credential_helper_timeout (An immutable length of time.; default: "5s")
    Configures the timeout for the Credential Helper.
    
    Credential Helpers failing to respond within this timeout will fail the 
    invocation.
  --experimental_execution_log_file (a path; default: see description)
    Log the executed spawns into this file as delimited Spawn protos.
  --experimental_extra_action_filter (a comma-separated list of regex expressions with prefix '-' specifying excluded paths; default: "")
    Deprecated in favor of aspects. Filters set of targets to schedule 
    extra_actions for.
  --[no]experimental_extra_action_top_level_only (a boolean; default: "false")
    Deprecated in favor of aspects. Only schedules extra_actions for top level 
    targets.
  --[no]experimental_fetch_all_coverage_outputs (a boolean; default: "false")
    If true, then Bazel fetches the entire coverage data directory for each 
    test during a coverage run.
      Tags: affects_outputs, loading_and_analysis
  --[no]experimental_generate_llvm_lcov (a boolean; default: "false")
    If true, coverage for clang will generate an LCOV report.
      Tags: affects_outputs, loading_and_analysis
  --[no]experimental_j2objc_header_map (a boolean; default: "true")
    Whether to generate J2ObjC header map in parallel of J2ObjC transpilation.
  --[no]experimental_j2objc_shorter_header_path (a boolean; default: "false")
    Whether to generate with shorter header path (uses "_ios" instead of 
    "_j2objc").
      Tags: affects_outputs
  --experimental_java_classpath (off, javabuilder or bazel; default: "javabuilder")
    Enables reduced classpaths for Java compilations.
  --[no]experimental_limit_android_lint_to_android_constrained_java (a boolean; default: "false")
    Limit --experimental_run_android_lint_on_java_rules to Android-compatible 
    libraries.
      Tags: affects_outputs
  --experimental_local_execution_delay (an integer; default: "1000")
    How many milliseconds should local execution be delayed, if remote 
    execution was faster during a build at least once?
  --[no]experimental_local_memory_estimate (a boolean; default: "false")
    Estimate the actual memory available online. By default, Blaze assumes most 
    actions use a fixed amount of memory, and counts that against the total 
    available system memory, regardless of how much memory is actually 
    available.  This option enables online estimation of how much memory is 
    available at any given time, and thus does not require accurate estimation 
    of how much memory a given action will take.
  --experimental_persistent_javac
    Enable the experimental persistent Java compiler.
      Expands to: --strategy=Javac=worker --strategy=JavaIjar=local --
      strategy=JavaDeployJar=local --strategy=JavaSourceJar=local --
      strategy=Turbine=local 
  --[no]experimental_persistent_test_runner (a boolean; default: "false")
    Allows running java_test targets locally within a persistent worker. To 
    enable the persistent test runner one must run bazel test with the flags:--
    test_strategy=local --strategy=TestRunner=worker  --
    experimental_persistent_test_runner
  --[no]experimental_run_android_lint_on_java_rules (a boolean; default: "false")
    Whether to validate java_* sources.
      Tags: affects_outputs
  --experimental_spawn_scheduler
    Enable dynamic execution by running actions locally and remotely in 
    parallel. Bazel spawns each action locally and remotely and picks the one 
    that completes first. If an action supports workers, the local action will 
    be run in the persistent worker mode. To enable dynamic execution for an 
    individual action mnemonic, use the `--internal_spawn_scheduler` and `--
    strategy=<mnemonic>=dynamic` flags instead.
      Expands to: --internal_spawn_scheduler --spawn_strategy=dynamic 
  --[no]experimental_windows_watchfs (a boolean; default: "false")
    If true, experimental Windows support for --watchfs is enabled. Otherwise --
    watchfsis a non-op on Windows. Make sure to also enable --watchfs.
  --[no]experimental_worker_cancellation (a boolean; default: "false")
    If enabled, Bazel may send cancellation requests to workers that support 
    them.
      Tags: execution
  --experimental_worker_max_multiplex_instances ([name=]value, where value is an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; may be used multiple times)
    How many WorkRequests a multiplex worker process may receive in parallel if 
    you use the 'worker' strategy with --experimental_worker_multiplex. May be 
    specified as [name=value] to give a different value per worker mnemonic. 
    Takes an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), 
    optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.
    5". 'auto' calculates a reasonable default based on machine capacity. 
    "=value" sets a default for unspecified mnemonics.
      Tags: host_machine_resource_optimizations
  --[no]experimental_worker_multiplex (a boolean; default: "true")
    If enabled, workers that support the experimental multiplexing feature will 
    use that feature.
  --[no]explicit_java_test_deps (a boolean; default: "false")
    Explicitly specify a dependency to JUnit or Hamcrest in a java_test instead 
    of  accidentally obtaining from the TestRunner's deps. Only works for bazel 
    right now.
  --google_auth_scopes (comma-separated list of options; default: "https://www.googleapis.com/auth/cloud-platform")
    A comma-separated list of Google Cloud authentication scopes.
  --google_credentials (a string; default: see description)
    Specifies the file to get authentication credentials from. See https:
    //cloud.google.com/docs/authentication for details.
  --[no]google_default_credentials (a boolean; default: "false")
    Whether to use 'Google Application Default Credentials' for authentication. 
    See https://cloud.google.com/docs/authentication for details. Disabled by 
    default.
  --grpc_keepalive_time (An immutable length of time.; default: see description)
    Configures keep-alive pings for outgoing gRPC connections. If this is set, 
    then Bazel sends pings after this much time of no read operations on the 
    connection, but only if there is at least one pending gRPC call. Times are 
    treated as second granularity; it is an error to set a value less than one 
    second. By default, keep-alive pings are disabled. You should coordinate 
    with the service owner before enabling this setting.
  --grpc_keepalive_timeout (An immutable length of time.; default: "20s")
    Configures a keep-alive timeout for outgoing gRPC connections. If keep-
    alive pings are enabled with --grpc_keepalive_time, then Bazel times out a 
    connection if it does not receive a ping reply after this much time. Times 
    are treated as second granularity; it is an error to set a value less than 
    one second. If keep-alive pings are disabled, then this setting is ignored.
  --high_priority_workers (a string; may be used multiple times)
    Mnemonics of workers to run with high priority. When high priority workers 
    are running all other workers are throttled.
  --host_java_launcher (a build target label; default: see description)
    The Java launcher used by tools that are executed during a build.
  --host_javacopt (a string; may be used multiple times)
    Additional options to pass to javac when building tools that are executed 
    during a build.
  --host_jvmopt (a string; may be used multiple times)
    Additional options to pass to the Java VM when building tools that are 
    executed during  the build. These options will get added to the VM startup 
    options of each  java_binary target.
  --[no]ignore_unsupported_sandboxing (a boolean; default: "false")
    Do not print a warning when sandboxed execution is not supported on this 
    system.
  --[no]incompatible_dont_use_javasourceinfoprovider (a boolean; default: "false")
    No-op
      Tags: incompatible_change
  --[no]incompatible_exclusive_test_sandboxed (a boolean; default: "false")
    If true, exclusive tests will run with sandboxed strategy. Add 'local' tag 
    to force an exclusive test run locally
      Tags: incompatible_change
  --[no]incompatible_strict_action_env (a boolean; default: "false")
    If true, Bazel uses an environment with a static value for PATH and does 
    not inherit LD_LIBRARY_PATH or TMPDIR. Use --action_env=ENV_VARIABLE if you 
    want to inherit specific environment variables from the client, but note 
    that doing so can prevent cross-user caching if a shared cache is used.
      Tags: loading_and_analysis, incompatible_change
  --j2objc_translation_flags (comma-separated list of options; may be used multiple times)
    Additional options to pass to the J2ObjC tool.
  --java_debug
    Causes the Java virtual machine of a java test to wait for a connection 
    from a JDWP-compliant debugger (such as jdb) before starting the test. 
    Implies -test_output=streamed.
      Expands to: --test_arg=--wrapper_script_flag=--debug --
      test_output=streamed --test_strategy=exclusive --test_timeout=9999 --
      nocache_test_results 
  --[no]java_deps (a boolean; default: "true")
    Generate dependency information (for now, compile-time classpath) per Java 
    target.
  --[no]java_header_compilation (a boolean; default: "true")
    Compile ijars directly from source.
  --java_language_version (a string; default: "8")
    The Java language version
  --java_launcher (a build target label; default: see description)
    The Java launcher to use when building Java binaries.  If this flag is set 
    to the empty string, the JDK launcher is used. The "launcher" attribute 
    overrides this flag. 
  --java_runtime_version (a string; default: "local_jdk")
    The Java runtime version
  --javacopt (a string; may be used multiple times)
    Additional options to pass to javac.
  --jvmopt (a string; may be used multiple times)
    Additional options to pass to the Java VM. These options will get added to 
    the VM startup options of each java_binary target.
  --legacy_main_dex_list_generator (a build target label; default: see description)
    Specifies a binary to use to generate the list of classes that must be in 
    the main dex when compiling legacy multidex.
  --local_cpu_resources (an integer, or "HOST_CPUS", optionally followed by [-|*]<float>.; default: "HOST_CPUS")
    Explicitly set the number of local CPU threads available to Bazel. Takes an 
    integer, or "HOST_CPUS", optionally followed by [-|*]<float> (eg. 
    HOST_CPUS*.5 to use half the available CPU cores).By default, 
    ("HOST_CPUS"), Bazel will query system configuration to estimate number of 
    CPU cores available for the locally executed build actions. Note: This is a 
    no-op if --local_resources is set.
  --local_ram_resources (an integer, or "HOST_RAM", optionally followed by [-|*]<float>.; default: "HOST_RAM*.67")
    Explicitly set the amount of local host RAM (in MB) available to Bazel. 
    Takes an integer, or "HOST_RAM", optionally followed by [-|*]<float> (eg. 
    HOST_RAM*.5 to use half the available RAM).By default, ("HOST_RAM*.67"), 
    Bazel will query system configuration to estimate amount of RAM available 
    for the locally executed build actions and will use 67% of available RAM. 
    Note: This is a no-op if --local_resources is set.
  --local_termination_grace_seconds (an integer; default: "15")
    Time to wait between terminating a local process due to timeout and 
    forcefully shutting it down.
  --override_repository (an equals-separated mapping of repository name to path; may be used multiple times)
    Overrides a repository with a local directory.
  --package_path (colon-separated list of options; default: "%workspace%")
    A colon-separated list of where to look for packages. Elements beginning 
    with '%workspace%' are relative to the enclosing workspace. If omitted or 
    empty, the default is the output of 'bazel info default-package-path'.
  --plugin (a build target label; may be used multiple times)
    Plugins to use in the build. Currently works with java_plugin.
  --[no]progress_in_terminal_title (a boolean; default: "false")
    Show the command progress in the terminal title. Useful to see what bazel 
    is doing when having multiple terminal tabs.
  --proguard_top (a build target label; default: see description)
    Specifies which version of ProGuard to use for code removal when building a 
    Java binary.
  --proto_compiler (a build target label; default: "@com_google_protobuf//:protoc")
    The label of the proto-compiler.
      Tags: affects_outputs, loading_and_analysis
  --proto_toolchain_for_cc (a build target label; default: "@com_google_protobuf//:cc_toolchain")
    Label of proto_lang_toolchain() which describes how to compile C++ protos
      Tags: affects_outputs, loading_and_analysis
  --proto_toolchain_for_j2objc (a build target label; default: "@bazel_tools//tools/j2objc:j2objc_proto_toolchain")
    Label of proto_lang_toolchain() which describes how to compile j2objc protos
      Tags: affects_outputs, loading_and_analysis
  --proto_toolchain_for_java (a build target label; default: "@com_google_protobuf//:java_toolchain")
    Label of proto_lang_toolchain() which describes how to compile Java protos
      Tags: affects_outputs, loading_and_analysis
  --proto_toolchain_for_javalite (a build target label; default: "@com_google_protobuf//:javalite_toolchain")
    Label of proto_lang_toolchain() which describes how to compile JavaLite 
    protos
      Tags: affects_outputs, loading_and_analysis
  --protocopt (a string; may be used multiple times)
    Additional options to pass to the protobuf compiler.
      Tags: affects_outputs
  --[no]runs_per_test_detects_flakes (a boolean; default: "false")
    If true, any shard in which at least one run/attempt passes and at least 
    one run/attempt fails gets a FLAKY status.
  --sandbox_add_mount_pair (a single path or a 'source:target' pair; may be used multiple times)
    Add additional path pair to mount in sandbox.
  --sandbox_base (a string; default: "")
    Lets the sandbox create its sandbox directories underneath this path. 
    Specify a path on tmpfs (like /run/shm) to possibly improve performance a 
    lot when your build / tests have many input files. Note: You need enough 
    RAM and free space on the tmpfs to hold output and intermediate files 
    generated by running actions.
  --sandbox_block_path (a string; may be used multiple times)
    For sandboxed actions, disallow access to this path.
  --[no]sandbox_debug (a boolean; default: "false")
    Enables debugging features for the sandboxing feature. This includes two 
    things: first, the sandbox root contents are left untouched after a build 
    (and if sandboxfs is in use, the file system is left mounted); and second, 
    prints extra debugging information on execution. This can help developers 
    of Bazel or Starlark rules with debugging failures due to missing input 
    files, etc.
  --[no]sandbox_default_allow_network (a boolean; default: "true")
    Allow network access by default for actions; this may not work with all 
    sandboxing implementations.
  --[no]sandbox_fake_hostname (a boolean; default: "false")
    Change the current hostname to 'localhost' for sandboxed actions.
  --[no]sandbox_fake_username (a boolean; default: "false")
    Change the current username to 'nobody' for sandboxed actions.
  --sandbox_tmpfs_path (an absolute path; may be used multiple times)
    For sandboxed actions, mount an empty, writable directory at this absolute 
    path (if supported by the sandboxing implementation, ignored otherwise).
  --sandbox_writable_path (a string; may be used multiple times)
    For sandboxed actions, make an existing directory writable in the sandbox 
    (if supported by the sandboxing implementation, ignored otherwise).
  --shell_executable (a path; default: see description)
    Absolute path to the shell executable for Bazel to use. If this is unset, 
    but the BAZEL_SH environment variable is set on the first Bazel invocation 
    (that starts up a Bazel server), Bazel uses that. If neither is set, Bazel 
    uses a hard-coded default path depending on the operating system it runs on 
    (Windows: c:/tools/msys64/usr/bin/bash.exe, FreeBSD: /usr/local/bin/bash, 
    all others: /bin/bash). Note that using a shell that is not compatible with 
    bash may lead to build failures or runtime failures of the generated 
    binaries.
      Tags: loading_and_analysis
  --[no]show_loading_progress (a boolean; default: "true")
    If enabled, causes Bazel to print "Loading package:" messages.
  --[no]show_progress (a boolean; default: "true")
    Display progress messages during a build.
  --show_progress_rate_limit (a double; default: "0.2")
    Minimum number of seconds between progress messages in the output.
  --[no]show_task_finish (a boolean; default: "false")
    Display progress messages when tasks complete, not just when they start.
  --[no]show_timestamps (a boolean; default: "false")
    Include timestamps in messages
  --test_arg (a string; may be used multiple times)
    Specifies additional options and arguments that should be passed to the 
    test executable. Can be used multiple times to specify several arguments. 
    If multiple tests are executed, each of them will receive identical 
    arguments. Used only by the 'bazel test' command.
  --test_filter (a string; default: see description)
    Specifies a filter to forward to the test framework.  Used to limit the 
    tests run. Note that this does not affect which targets are built.
  --test_lang_filters (comma-separated list of options; default: "")
    Specifies a comma-separated list of test languages. Each language can be 
    optionally preceded with '-' to specify excluded languages. Only those test 
    targets will be found that are written in the specified languages. The name 
    used for each language should be the same as the language prefix in the 
    *_test rule, e.g. one of 'cc', 'java', 'py', etc. This option affects --
    build_tests_only behavior and the test command.
  --test_result_expiration (an integer; default: "-1")
    This option is deprecated and has no effect.
  --[no]test_runner_fail_fast (a boolean; default: "false")
    Forwards fail fast option to the test runner. The test runner should stop 
    execution upon first failure.
  --test_sharding_strategy (explicit or disabled; default: "explicit")
    Specify strategy for test sharding: 'explicit' to only use sharding if the 
    'shard_count' BUILD attribute is present. 'disabled' to never use test 
    sharding.
  --test_size_filters (comma-separated list of values: small, medium, large or enormous; default: "")
    Specifies a comma-separated list of test sizes. Each size can be optionally 
    preceded with '-' to specify excluded sizes. Only those test targets will 
    be found that contain at least one included size and do not contain any 
    excluded sizes. This option affects --build_tests_only behavior and the 
    test command.
  --test_tag_filters (comma-separated list of options; default: "")
    Specifies a comma-separated list of test tags. Each tag can be optionally 
    preceded with '-' to specify excluded tags. Only those test targets will be 
    found that contain at least one included tag and do not contain any 
    excluded tags. This option affects --build_tests_only behavior and the test 
    command.
  --test_timeout_filters (comma-separated list of values: short, moderate, long or eternal; default: "")
    Specifies a comma-separated list of test timeouts. Each timeout can be 
    optionally preceded with '-' to specify excluded timeouts. Only those test 
    targets will be found that contain at least one included timeout and do not 
    contain any excluded timeouts. This option affects --build_tests_only 
    behavior and the test command.
  --tls_certificate (a string; default: see description)
    Specify a path to a TLS certificate that is trusted to sign server 
    certificates.
  --tls_client_certificate (a string; default: see description)
    Specify the TLS client certificate to use; you also need to provide a 
    client key to enable client authentication.
  --tls_client_key (a string; default: see description)
    Specify the TLS client key to use; you also need to provide a client 
    certificate to enable client authentication.
  --tool_java_language_version (a string; default: "8")
    The Java language version used to execute the tools that are needed during 
    a build
  --tool_java_runtime_version (a string; default: "remotejdk_11")
    The Java runtime version used to execute tools during the build
  --ui_actions_shown (an integer; default: "8")
    Number of concurrent actions shown in the detailed progress bar; each 
    action is shown on a separate line. The progress bar always shows at least 
    one one, all numbers less than 1 are mapped to 1.
      Tags: terminal_output
  --[no]use_ijars (a boolean; default: "true")
    If enabled, this option causes Java compilation to use interface jars. This 
    will result in faster incremental compilation, but error messages can be 
    different.
  --[no]watchfs (a boolean; default: "false")
    On Linux/macOS: If true, bazel tries to use the operating system's 
    file watch service for local changes instead of scanning every file for a 
    change. On Windows: this flag currently is a non-op but can be enabled in 
    conjunction with --experimental_windows_watchfs. On any OS: The behavior is 
    undefined if your workspace is on a network file system, and files are 
    edited on a remote machine.
  --worker_extra_flag (a 'name=value' assignment; may be used multiple times)
    Extra command-flags that will be passed to worker processes in addition to 
    --persistent_worker, keyed by mnemonic (e.g. --worker_extra_flag=Javac=--
    debug.
  --worker_max_instances ([name=]value, where value is an integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5"; may be used multiple times)
    How many instances of a worker process (like the persistent Java compiler) 
    may be launched if you use the 'worker' strategy. May be specified as 
    [name=value] to give a different value per worker mnemonic. Takes an 
    integer, or a keyword ("auto", "HOST_CPUS", "HOST_RAM"), optionally 
    followed by an operation ([-|*]<float>) eg. "auto", "HOST_CPUS*.5". 'auto' 
    calculates a reasonable default based on machine capacity. "=value" sets a 
    default for unspecified mnemonics.
      Tags: host_machine_resource_optimizations
  --[no]worker_quit_after_build (a boolean; default: "false")
    If enabled, all workers quit after a build is done.
  --[no]worker_sandboxing (a boolean; default: "false")
    If enabled, workers will be executed in a sandboxed environment.
  --[no]worker_verbose (a boolean; default: "false")
    If enabled, prints verbose messages when workers are started, shutdown, ...
  --workspace_status_command (a path; default: "")
    A command invoked at the beginning of the build to provide status 
    information about the workspace in the form of key/value pairs.  See the 
    User's Manual for the full specification. Also see 
    tools/buildstamp/get_workspace_status for an example.
  • 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
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 652
  • 653
  • 654
  • 655
  • 656
  • 657
  • 658
  • 659
  • 660
  • 661
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • 669
  • 670
  • 671
  • 672
  • 673
  • 674
  • 675
  • 676
  • 677
  • 678
  • 679
  • 680
  • 681
  • 682
  • 683
  • 684
  • 685
  • 686
  • 687
  • 688
  • 689
  • 690
  • 691
  • 692
  • 693
  • 694
  • 695
  • 696
  • 697
  • 698
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • 748
  • 749
  • 750
  • 751
  • 752
  • 753
  • 754
  • 755
  • 756
  • 757
  • 758
  • 759
  • 760
  • 761
  • 762
  • 763
  • 764
  • 765
  • 766
  • 767
  • 768
  • 769
  • 770
  • 771
  • 772
  • 773
  • 774
  • 775
  • 776
  • 777
  • 778
  • 779
  • 780
  • 781
  • 782
  • 783
  • 784
  • 785
  • 786
  • 787
  • 788
  • 789
  • 790
  • 791
  • 792
  • 793
  • 794
  • 795
  • 796
  • 797
  • 798
  • 799
  • 800
  • 801
  • 802
  • 803
  • 804
  • 805
  • 806
  • 807
  • 808
  • 809
  • 810
  • 811
  • 812
  • 813
  • 814
  • 815
  • 816
  • 817
  • 818
  • 819
  • 820
  • 821
  • 822
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 829
  • 830
  • 831
  • 832
  • 833
  • 834
  • 835
  • 836
  • 837
  • 838
  • 839
  • 840
  • 841
  • 842
  • 843
  • 844
  • 845
  • 846
  • 847
  • 848
  • 849
  • 850
  • 851
  • 852
  • 853
  • 854
  • 855
  • 856
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 873
  • 874
  • 875
  • 876
  • 877
  • 878
  • 879
  • 880
  • 881
  • 882
  • 883
  • 884
  • 885
  • 886
  • 887
  • 888
  • 889
  • 890
  • 891
  • 892
  • 893
  • 894
  • 895
  • 896
  • 897
  • 898
  • 899
  • 900
  • 901
  • 902
  • 903
  • 904
  • 905
  • 906
  • 907
  • 908
  • 909
  • 910
  • 911
  • 912
  • 913
  • 914
  • 915
  • 916
  • 917
  • 918
  • 919
  • 920
  • 921
  • 922
  • 923
  • 924
  • 925
  • 926
  • 927
  • 928
  • 929
  • 930
  • 931
  • 932
  • 933
  • 934
  • 935
  • 936
  • 937
  • 938
  • 939
  • 940
  • 941
  • 942
  • 943
  • 944
  • 945
  • 946
  • 947
  • 948
  • 949
  • 950
  • 951
  • 952
  • 953
  • 954
  • 955
  • 956
  • 957
  • 958
  • 959
  • 960
  • 961
  • 962
  • 963
  • 964
  • 965
  • 966
  • 967
  • 968
  • 969
  • 970
  • 971
  • 972
  • 973
  • 974
  • 975
  • 976
  • 977
  • 978
  • 979
  • 980
  • 981
  • 982
  • 983
  • 984
  • 985
  • 986
  • 987
  • 988
  • 989
  • 990
  • 991
  • 992
  • 993
  • 994
  • 995
  • 996
  • 997
  • 998
  • 999
  • 1000
  • 1001
  • 1002
  • 1003
  • 1004
  • 1005
  • 1006
  • 1007
  • 1008
  • 1009
  • 1010
  • 1011
  • 1012
  • 1013
  • 1014
  • 1015
  • 1016
  • 1017
  • 1018
  • 1019
  • 1020
  • 1021
  • 1022
  • 1023
  • 1024
  • 1025
  • 1026
  • 1027
  • 1028
  • 1029
  • 1030
  • 1031
  • 1032
  • 1033
  • 1034
  • 1035
  • 1036
  • 1037
  • 1038
  • 1039
  • 1040
  • 1041
  • 1042
  • 1043
  • 1044
  • 1045
  • 1046
  • 1047
  • 1048
  • 1049
  • 1050
  • 1051
  • 1052
  • 1053
  • 1054
  • 1055
  • 1056
  • 1057
  • 1058
  • 1059
  • 1060
  • 1061
  • 1062
  • 1063
  • 1064
  • 1065
  • 1066
  • 1067
  • 1068
  • 1069
  • 1070
  • 1071
  • 1072
  • 1073
  • 1074
  • 1075
  • 1076
  • 1077
  • 1078
  • 1079
  • 1080
  • 1081
  • 1082
  • 1083
  • 1084
  • 1085
  • 1086
  • 1087
  • 1088
  • 1089
  • 1090
  • 1091
  • 1092
  • 1093
  • 1094
  • 1095
  • 1096
  • 1097
  • 1098
  • 1099
  • 1100
  • 1101
  • 1102
  • 1103
  • 1104
  • 1105
  • 1106
  • 1107
  • 1108
  • 1109
  • 1110
  • 1111
  • 1112
  • 1113
  • 1114
  • 1115
  • 1116
  • 1117
  • 1118
  • 1119
  • 1120
  • 1121
  • 1122
  • 1123
  • 1124
  • 1125
  • 1126
  • 1127
  • 1128
  • 1129
  • 1130
  • 1131
  • 1132
  • 1133
  • 1134
  • 1135
  • 1136
  • 1137
  • 1138
  • 1139
  • 1140
  • 1141
  • 1142
  • 1143
  • 1144
  • 1145
  • 1146
  • 1147
  • 1148
  • 1149
  • 1150
  • 1151
  • 1152
  • 1153
  • 1154
  • 1155
  • 1156
  • 1157
  • 1158
  • 1159
  • 1160
  • 1161
  • 1162
  • 1163
  • 1164
  • 1165
  • 1166
  • 1167
  • 1168
  • 1169
  • 1170
  • 1171
  • 1172
  • 1173
  • 1174
  • 1175
  • 1176
  • 1177
  • 1178
  • 1179
  • 1180
  • 1181
  • 1182
  • 1183
  • 1184
  • 1185
  • 1186
  • 1187
  • 1188
  • 1189
  • 1190
  • 1191
  • 1192
  • 1193
  • 1194
  • 1195
  • 1196
  • 1197
  • 1198
  • 1199
  • 1200
  • 1201
  • 1202
  • 1203
  • 1204
  • 1205
  • 1206
  • 1207
  • 1208
  • 1209
  • 1210
  • 1211
  • 1212
  • 1213
  • 1214
  • 1215
  • 1216
  • 1217
  • 1218
  • 1219
  • 1220
  • 1221
  • 1222
  • 1223
  • 1224
  • 1225
  • 1226
  • 1227
  • 1228
  • 1229
  • 1230
  • 1231
  • 1232
  • 1233
  • 1234
  • 1235
  • 1236
  • 1237
  • 1238
  • 1239
  • 1240
  • 1241
  • 1242
  • 1243
  • 1244
  • 1245
  • 1246
  • 1247
  • 1248
  • 1249
  • 1250
  • 1251
  • 1252
  • 1253
  • 1254
  • 1255
  • 1256
  • 1257
  • 1258
  • 1259
  • 1260
  • 1261
  • 1262
  • 1263
  • 1264
  • 1265
  • 1266
  • 1267
  • 1268
  • 1269
  • 1270
  • 1271
  • 1272
  • 1273
  • 1274
  • 1275
  • 1276
  • 1277
  • 1278
  • 1279
  • 1280
  • 1281
  • 1282
  • 1283
  • 1284
  • 1285
  • 1286
  • 1287
  • 1288
  • 1289
  • 1290
  • 1291
  • 1292
  • 1293
  • 1294
  • 1295
  • 1296
  • 1297
  • 1298
  • 1299
  • 1300
  • 1301
  • 1302
  • 1303
  • 1304
  • 1305
  • 1306
  • 1307
  • 1308
  • 1309
  • 1310
  • 1311
  • 1312
  • 1313
  • 1314
  • 1315
  • 1316
  • 1317
  • 1318
  • 1319
  • 1320
  • 1321
  • 1322
  • 1323
  • 1324
  • 1325
  • 1326
  • 1327
  • 1328
  • 1329
  • 1330
  • 1331
  • 1332
  • 1333
  • 1334
  • 1335
  • 1336
  • 1337
  • 1338
  • 1339
  • 1340
  • 1341
  • 1342
  • 1343
  • 1344
  • 1345
  • 1346
  • 1347
  • 1348
  • 1349
  • 1350
  • 1351
  • 1352
  • 1353
  • 1354
  • 1355
  • 1356
  • 1357
  • 1358
  • 1359
  • 1360
  • 1361
  • 1362
  • 1363
  • 1364
  • 1365
  • 1366
  • 1367
  • 1368
  • 1369
  • 1370
  • 1371
  • 1372
  • 1373
  • 1374
  • 1375
  • 1376
  • 1377
  • 1378
  • 1379
  • 1380
  • 1381
  • 1382
  • 1383
  • 1384
  • 1385
  • 1386
  • 1387
  • 1388
  • 1389
  • 1390
  • 1391
  • 1392
  • 1393
  • 1394
  • 1395
  • 1396
  • 1397
  • 1398
  • 1399
  • 1400
  • 1401
  • 1402
  • 1403
  • 1404
  • 1405
  • 1406
  • 1407
  • 1408
  • 1409
  • 1410
  • 1411
  • 1412
  • 1413
  • 1414
  • 1415
  • 1416
  • 1417
  • 1418
  • 1419
  • 1420
  • 1421
  • 1422
  • 1423
  • 1424
  • 1425
  • 1426
  • 1427
  • 1428
  • 1429
  • 1430
  • 1431
  • 1432
  • 1433
  • 1434
  • 1435
  • 1436
  • 1437
  • 1438
  • 1439
  • 1440
  • 1441
  • 1442
  • 1443
  • 1444
  • 1445
  • 1446
  • 1447
  • 1448
  • 1449
  • 1450
  • 1451
  • 1452
  • 1453
  • 1454
  • 1455
  • 1456
  • 1457
  • 1458
  • 1459
  • 1460
  • 1461
  • 1462
  • 1463
  • 1464
  • 1465
  • 1466
  • 1467
  • 1468
  • 1469
  • 1470
  • 1471
  • 1472
  • 1473
  • 1474
  • 1475
  • 1476
  • 1477
  • 1478
  • 1479
  • 1480
  • 1481
  • 1482
  • 1483
  • 1484
  • 1485
  • 1486
  • 1487
  • 1488
  • 1489
  • 1490
  • 1491
  • 1492
  • 1493
  • 1494
  • 1495
  • 1496
  • 1497
  • 1498
  • 1499
  • 1500
  • 1501
  • 1502
  • 1503
  • 1504
  • 1505
  • 1506
  • 1507
  • 1508
  • 1509
  • 1510
  • 1511
  • 1512
  • 1513
  • 1514
  • 1515
  • 1516
  • 1517
  • 1518
  • 1519
  • 1520
  • 1521
  • 1522
  • 1523
  • 1524
  • 1525
  • 1526
  • 1527
  • 1528
  • 1529
  • 1530
  • 1531
  • 1532
  • 1533
  • 1534
  • 1535
  • 1536
  • 1537
  • 1538
  • 1539
  • 1540
  • 1541
  • 1542
  • 1543
  • 1544
  • 1545
  • 1546
  • 1547
  • 1548
  • 1549
  • 1550
  • 1551
  • 1552
  • 1553
  • 1554
  • 1555
  • 1556
  • 1557
  • 1558
  • 1559
  • 1560
  • 1561
  • 1562
  • 1563
  • 1564
  • 1565
  • 1566
  • 1567
  • 1568
  • 1569
  • 1570
  • 1571
  • 1572
  • 1573
  • 1574
  • 1575
  • 1576
  • 1577
  • 1578
  • 1579
  • 1580
  • 1581
  • 1582
  • 1583
  • 1584
  • 1585
  • 1586
  • 1587
  • 1588
  • 1589
  • 1590
  • 1591
  • 1592
  • 1593
  • 1594
  • 1595
  • 1596
  • 1597
  • 1598
  • 1599
  • 1600
  • 1601
  • 1602
  • 1603
  • 1604
  • 1605
  • 1606
  • 1607
  • 1608
  • 1609
  • 1610
  • 1611
  • 1612
  • 1613
  • 1614
  • 1615
  • 1616
  • 1617
  • 1618
  • 1619
  • 1620
  • 1621
  • 1622
  • 1623
  • 1624
  • 1625
  • 1626
  • 1627
  • 1628
  • 1629
  • 1630
  • 1631
  • 1632
  • 1633
  • 1634
  • 1635
  • 1636
  • 1637
  • 1638
  • 1639
  • 1640
  • 1641
  • 1642
  • 1643
  • 1644
  • 1645
  • 1646
  • 1647
  • 1648
  • 1649
  • 1650
  • 1651
  • 1652
  • 1653
  • 1654
  • 1655
  • 1656
  • 1657
  • 1658
  • 1659
  • 1660
  • 1661
  • 1662
  • 1663
  • 1664
  • 1665
  • 1666
  • 1667
  • 1668
  • 1669
  • 1670
  • 1671
  • 1672
  • 1673
  • 1674
  • 1675
  • 1676
  • 1677
  • 1678
  • 1679
  • 1680
  • 1681
  • 1682
  • 1683
  • 1684
  • 1685
  • 1686
  • 1687
  • 1688
  • 1689
  • 1690
  • 1691
  • 1692
  • 1693
  • 1694
  • 1695
  • 1696
  • 1697
  • 1698
  • 1699
  • 1700
  • 1701
  • 1702
  • 1703
  • 1704
  • 1705
  • 1706
  • 1707
  • 1708
  • 1709
  • 1710
  • 1711
  • 1712
  • 1713
  • 1714
  • 1715
  • 1716
  • 1717
  • 1718
  • 1719
  • 1720
  • 1721
  • 1722
  • 1723
  • 1724
  • 1725
  • 1726
  • 1727
  • 1728
  • 1729
  • 1730
  • 1731
  • 1732
  • 1733
  • 1734
  • 1735
  • 1736
  • 1737
  • 1738
  • 1739
  • 1740
  • 1741
  • 1742
  • 1743
  • 1744
  • 1745
  • 1746
  • 1747
  • 1748
  • 1749
  • 1750
  • 1751
  • 1752
  • 1753
  • 1754
  • 1755
  • 1756
  • 1757
  • 1758
  • 1759
  • 1760
  • 1761
  • 1762
  • 1763
  • 1764
  • 1765
  • 1766
  • 1767
  • 1768
  • 1769
  • 1770
  • 1771
  • 1772
  • 1773
  • 1774
  • 1775
  • 1776
  • 1777
  • 1778
  • 1779
  • 1780
  • 1781
  • 1782
  • 1783
  • 1784
  • 1785
  • 1786
  • 1787
  • 1788
  • 1789
  • 1790
  • 1791
  • 1792
  • 1793
  • 1794
  • 1795
  • 1796
  • 1797
  • 1798
  • 1799
  • 1800
  • 1801
  • 1802
  • 1803
  • 1804
  • 1805
  • 1806
  • 1807
  • 1808
  • 1809
  • 1810
  • 1811
  • 1812
  • 1813
  • 1814
  • 1815
  • 1816
  • 1817
  • 1818
  • 1819
  • 1820
  • 1821
  • 1822
  • 1823
  • 1824
  • 1825
  • 1826
  • 1827
  • 1828
  • 1829
  • 1830
  • 1831
  • 1832
  • 1833
  • 1834
  • 1835
  • 1836
  • 1837
  • 1838
  • 1839
  • 1840
  • 1841
  • 1842
  • 1843
  • 1844
  • 1845
  • 1846
  • 1847
  • 1848
  • 1849
  • 1850
  • 1851
  • 1852
  • 1853
  • 1854
  • 1855
  • 1856
  • 1857
  • 1858
  • 1859
  • 1860
  • 1861
  • 1862
  • 1863
  • 1864
  • 1865
  • 1866
  • 1867
  • 1868
  • 1869
  • 1870
  • 1871
  • 1872
  • 1873
  • 1874
  • 1875
  • 1876
  • 1877
  • 1878
  • 1879
  • 1880
  • 1881
  • 1882
  • 1883
  • 1884
  • 1885
  • 1886
  • 1887
  • 1888
  • 1889
  • 1890
  • 1891
  • 1892
  • 1893
  • 1894
  • 1895
  • 1896
  • 1897
  • 1898
  • 1899
  • 1900
  • 1901
  • 1902
  • 1903
  • 1904
  • 1905
  • 1906
  • 1907
  • 1908
  • 1909
  • 1910
  • 1911
  • 1912
  • 1913
  • 1914
  • 1915
  • 1916
  • 1917
  • 1918
  • 1919
  • 1920
  • 1921
  • 1922
  • 1923
  • 1924
  • 1925
  • 1926
  • 1927
  • 1928
  • 1929
  • 1930
  • 1931
  • 1932
  • 1933
  • 1934
  • 1935
  • 1936
  • 1937
  • 1938
  • 1939
  • 1940
  • 1941
  • 1942
  • 1943
  • 1944
  • 1945
  • 1946
  • 1947
  • 1948
  • 1949
  • 1950
  • 1951
  • 1952
  • 1953
  • 1954
  • 1955
  • 1956
  • 1957
  • 1958
  • 1959
  • 1960
  • 1961
  • 1962
  • 1963
  • 1964
  • 1965
  • 1966
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • 1974
  • 1975
  • 1976
  • 1977
  • 1978
  • 1979
  • 1980
  • 1981
  • 1982
  • 1983
  • 1984
  • 1985
  • 1986
  • 1987
  • 1988
  • 1989
  • 1990
  • 1991
  • 1992
  • 1993
  • 1994
  • 1995
  • 1996
  • 1997
  • 1998
  • 1999
  • 2000
  • 2001
  • 2002
  • 2003
  • 2004
  • 2005
  • 2006
  • 2007
  • 2008
  • 2009
  • 2010
  • 2011
  • 2012
  • 2013
  • 2014
  • 2015
  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024
  • 2025
  • 2026
  • 2027
  • 2028
  • 2029
  • 2030
  • 2031
  • 2032
  • 2033
  • 2034
  • 2035
  • 2036
  • 2037
  • 2038
  • 2039
  • 2040
  • 2041
  • 2042
  • 2043
  • 2044
  • 2045
  • 2046
  • 2047
  • 2048
  • 2049
  • 2050
  • 2051
  • 2052
  • 2053
  • 2054
  • 2055
  • 2056
  • 2057
  • 2058
  • 2059
  • 2060
  • 2061
  • 2062
  • 2063
  • 2064
  • 2065
  • 2066
  • 2067
  • 2068
  • 2069
  • 2070
  • 2071
  • 2072
  • 2073
  • 2074
  • 2075
  • 2076
  • 2077
  • 2078
  • 2079
  • 2080
  • 2081
  • 2082
  • 2083
  • 2084
  • 2085
  • 2086
  • 2087
  • 2088
  • 2089
  • 2090
  • 2091
  • 2092
  • 2093
  • 2094
  • 2095
  • 2096
  • 2097
  • 2098
  • 2099
  • 2100
  • 2101
  • 2102
  • 2103
  • 2104
  • 2105
  • 2106
  • 2107
  • 2108
  • 2109
  • 2110
  • 2111
  • 2112
  • 2113
  • 2114
  • 2115
  • 2116
  • 2117
  • 2118
  • 2119
  • 2120
  • 2121
  • 2122
  • 2123
  • 2124
  • 2125
  • 2126
  • 2127
  • 2128
  • 2129
  • 2130
  • 2131
  • 2132
  • 2133
  • 2134
  • 2135
  • 2136
  • 2137
  • 2138
  • 2139
  • 2140
  • 2141
  • 2142
  • 2143
  • 2144
  • 2145
  • 2146
  • 2147
  • 2148
  • 2149
  • 2150
  • 2151
  • 2152
  • 2153
  • 2154
  • 2155
  • 2156
  • 2157
  • 2158
  • 2159
  • 2160
  • 2161
  • 2162
  • 2163
  • 2164
  • 2165
  • 2166
  • 2167
  • 2168
  • 2169
  • 2170
  • 2171
  • 2172
  • 2173
  • 2174
  • 2175
  • 2176
  • 2177
  • 2178
  • 2179
  • 2180
  • 2181
  • 2182
  • 2183
  • 2184
  • 2185
  • 2186
  • 2187
  • 2188
  • 2189
  • 2190
  • 2191
  • 2192
  • 2193
  • 2194
  • 2195
  • 2196
  • 2197
  • 2198
  • 2199
  • 2200
  • 2201
  • 2202
  • 2203
  • 2204
  • 2205
  • 2206
  • 2207
  • 2208
  • 2209
  • 2210
  • 2211
  • 2212
  • 2213
  • 2214
  • 2215
  • 2216
  • 2217
  • 2218
  • 2219
  • 2220
  • 2221
  • 2222
  • 2223
  • 2224
  • 2225
  • 2226
  • 2227
  • 2228
  • 2229
  • 2230
  • 2231
  • 2232
  • 2233
  • 2234
  • 2235
  • 2236
  • 2237
  • 2238
  • 2239
  • 2240
  • 2241
  • 2242
  • 2243
  • 2244
  • 2245
  • 2246
  • 2247
  • 2248
  • 2249
  • 2250
  • 2251
  • 2252
  • 2253
  • 2254
  • 2255
  • 2256
  • 2257
  • 2258
  • 2259
  • 2260
  • 2261
  • 2262
  • 2263
  • 2264
  • 2265
  • 2266
  • 2267
  • 2268
  • 2269
  • 2270
  • 2271
  • 2272
  • 2273
  • 2274
  • 2275
  • 2276
  • 2277
  • 2278
  • 2279
  • 2280
  • 2281
  • 2282
  • 2283
  • 2284
  • 2285
  • 2286
  • 2287
  • 2288
  • 2289
  • 2290
  • 2291
  • 2292
  • 2293
  • 2294
  • 2295
  • 2296
  • 2297
  • 2298
  • 2299
  • 2300
  • 2301
  • 2302
  • 2303
  • 2304
  • 2305
  • 2306
  • 2307
  • 2308
  • 2309
  • 2310
  • 2311
  • 2312
  • 2313
  • 2314
  • 2315
  • 2316
  • 2317
  • 2318
  • 2319
  • 2320
  • 2321
  • 2322
  • 2323
  • 2324
  • 2325
  • 2326
  • 2327
  • 2328
  • 2329
  • 2330
  • 2331
  • 2332
  • 2333
  • 2334
  • 2335
  • 2336
  • 2337
  • 2338
  • 2339
  • 2340
  • 2341
  • 2342
  • 2343
  • 2344
  • 2345
  • 2346
  • 2347
  • 2348
  • 2349
  • 2350
  • 2351
  • 2352
  • 2353
  • 2354
  • 2355
  • 2356
  • 2357
  • 2358
  • 2359
  • 2360
  • 2361
  • 2362
  • 2363
  • 2364
  • 2365
  • 2366
  • 2367
  • 2368
  • 2369
  • 2370
  • 2371
  • 2372
  • 2373
  • 2374
  • 2375
  • 2376
  • 2377
  • 2378
  • 2379
  • 2380
  • 2381
  • 2382
  • 2383
  • 2384
  • 2385
  • 2386
  • 2387
  • 2388
  • 2389
  • 2390
  • 2391
  • 2392
  • 2393
  • 2394
  • 2395
  • 2396
  • 2397
  • 2398
  • 2399
  • 2400
  • 2401
  • 2402
  • 2403
  • 2404
  • 2405
  • 2406
  • 2407
  • 2408
  • 2409
  • 2410
  • 2411
  • 2412
  • 2413
  • 2414
  • 2415
  • 2416
  • 2417
  • 2418
  • 2419
  • 2420
  • 2421
  • 2422
  • 2423
  • 2424
  • 2425
  • 2426
  • 2427
  • 2428
  • 2429
  • 2430
  • 2431
  • 2432
  • 2433
  • 2434
  • 2435
  • 2436
  • 2437
  • 2438
  • 2439
  • 2440
  • 2441
  • 2442
  • 2443
  • 2444
  • 2445
  • 2446
  • 2447
  • 2448
  • 2449
  • 2450
  • 2451
  • 2452
  • 2453
  • 2454
  • 2455
  • 2456
  • 2457
  • 2458
  • 2459
  • 2460
  • 2461
  • 2462
  • 2463
  • 2464
  • 2465
 |--检查_direct_依赖项(关闭、警告或错误;默认值:“警告”)|
检查根模块中是否声明的直接`bazel_dep`依赖项
是您在已解析的依赖关系图中得到的相同版本。有效的
值是`关闭`禁用检查,`警告`打印一个警告时
检测到不匹配或`错误`,以将其升级为解决失败。
标签:加载和分析
| |--距离(一条路径,可多次使用)|
在访问网络之前,需要搜索档案的其他地方
下载它们。
标签:bazel_indal_配置
| |--[没有]experimental_enable_bzlmod(一个布尔值;默认值:“false”)|
如果为true,Bazel将尝试从Bzlmod系统加载外部存储库
在查看工作区文件之前。
标签:加载和分析
| |--[没有]experimental_repository_cache_hardlinks(一个布尔值;默认值:“false”)|
如果设置,存储库缓存将硬按缓存命中链接文件,
而不是复制。这旨在节省磁盘空间。
标签:bazel_indal_配置
| |--[no]experimental_repository_cache_urls_as_default_canonical_id(一个布尔值;默认值:“false”)|
如果为true,则使用来自存储库下载的url的字符串作为
如果未指定canonical_id。这将导致url发生变化
在重新下载中,即使缓存包含具有相同散列的下载。
这可以用于验证URL更改是否不会导致损坏
被缓存隐藏的存储库。
标签:加载和分析,实验性的
| |--[no]experimental_repository_disable_download(一个布尔值;默认值:“false”)|
如果已设置,则不允许下载外部存储库。
标签:实验性
(一个整数;默认值:“0”)|
尝试重试下载错误的最大次数。如果设置为0,
重试已禁用。
标签:实验性
—实验超时(双重;默认:“1.0”)|
根据这个因素来扩展星雀存储库规则中的所有超时时间。在这个
这样,就可以使外部存储库在速度较慢的机器上工作
比规则作者所期望的要多,而不更改源代码
标签:bazel_内部配置,实验性的
| |--http_timeout_scaling(双倍;默认:“1.0”)|
按给定的因素调整与http下载相关的所有超时时间
标签:bazel_indal_配置
| |--[没有]ignore_dev_dependency(一个布尔值;默认值:“false”)|
如果为true,Bazel忽略`bazel_dep``uss_扩展`声明为
根模块的模块参数中的`dev_dependency`。请注意,这些
在模块中总是忽略开发依赖项。如果不是
根模块,而不管此标志的值如何。
标签:加载和分析
| |--注册表(一个字符串,可以多次使用)|
指定要用于定位Bazel模块依赖项的注册表。这个
顺序很重要:模块将首先在早期的注册表中查找,
只有当他们丢失的时候
早些时候。
标签:更改输入
| |--resurtury_cache(路径;默认值:请参见说明)|
,指定了在的过程中获得的下载值的缓存位置
获取外部存储库。作为参数时的空字符串请求
要禁用的缓存。
标签:bazel_indal_配置

控制构建执行的选项:
| |--[]check_up_to_date(一个布尔值;默认值:“false”)|
不要执行构建,只要检查它是否是最新的。如果所有目标
是最新的,构建将成功完成。如果需要采取任何步骤
执行了一个错误,生成失败。
标签:执行
| |--[no]experimental_delay_virtual_input_materialization(一个布尔值;默认值:“false”)|
如果设置为true,则只在的内部创建虚拟输入(如参数文件)|
沙箱,不在执行根目录中,它修复了在使用
动态调度程序。此标志纯粹是为了支持滚动此错误修复
出局
标签:执行
| |--实验_docker_image(一个字符串;默认值:“”)|
指定一个应该使用的Docker映像名称(例如:“ubuntu:最新的”)|
在使用码头工人策略和该操作时,执行一个沙箱操作
它本身还没有一个容器图像属性
平台描述中的远程执行属性。这个的价值
标志是逐字传递到“码头工人运行”,所以它支持相同的语法和
机制作为Docker本身。
标签:执行
| |--[没有]实验_docker_特权(一个布尔值;默认值:“false”)|
如果启用,Bazel将把-特权标志传递给“码头工人运行”时
正在运行操作。这可能是您的构建所必需的,但它也可能是
导致赫尔美性降低。
标签:执行
| |--[no]experimental_docker_use_customized_images(一个布尔值;默认值:“true”)|
如果启用,则将当前用户的uid和gid注入Docker
使用之前的图像。如果您的构建/测试依赖于
在容器内具有名称和主目录的用户。这是由
默认值,但您可以禁用它,以防自动图像自定义
特性在你的情况下不起作用,或者你知道你不需要它。
标签:执行
| |--[没有]实验文档详细化(布尔值;默认值:“false”)|
如果启用,Bazel将打印更多关于Docker沙箱的详细消息
策略
标签:执行
| |--[没有]实验启用文档沙箱(布尔值;默认值:“false”)|
启用基于Docker的沙箱。如果Docker不是,则此选项无效
安装
标签:执行
| |--[没有]experimental_inprocess_symlink_creation(一个布尔值;默认值:“false”)|
是否要直接调用文件系统来创建符号链接树
标签:加载和分析,执行,实验性的
| |--experimental_oom_more_eagerly_threshold(一个整数;默认值:“100”)|
如果此标志设置为小于100,Bazel将在2之后OOM
完整的GC,超过这个百分比的(旧代)|堆仍然是
已占用的
标签:主机_机器__资源优化
| |--[no]实验可删除源清单(布尔值;默认值:“false”)|
是否使源清单操作可删除
标签:加载和分析,执行,实验性的
| |--[no]实验重用沙箱目录(布尔值;默认值:“false”)|
如果设置为true,则沙箱非工作人员执行所使用的目录可能是
重复使用,以避免不必要的设置成本。
标签:执行
| |--experimental_sandbox_async_tree_delete_idle_threads(一个整数,或一个关键字(“auto”、“HOST_CPUS”、“HOST_RAM”)|,可选后跟着一个操作([-|*]<float>|。如“auto”、“HOST_CPUS*.5”;默认值:“0”)|
如果为0,则在操作完成后立即删除沙箱树
完成要延迟的操作)。如果大于零,则执行
在大小为1的异步线程池上删除这样的三个
构建正在运行,并增长到此标志指定的大小
服务器处于空闲状态。
标签:执行
| |--[no]experimental_sandboxfs_map_symlink_targets(一个布尔值;默认值:“false”)|
如果为真,则将指定为动作输入的符号链接的目标映射到
沙箱。这个特性的存在纯粹是为了解决有问题的规则
不要自己这样做,一旦所有这些规则都被删除了,就应该被删除
固定的
| |--experimental_sandboxfs_path(一个字符串;默认值:“沙箱”)|| |--experimental_use_sandboxfs为时,要使用的沙箱二进制文件的路径
真正的如果是裸名称,则使用在路径中找到的该名称的第一个二进制文件。
| |--[no]experimental_split_coverage_postprocessing(一个布尔值;默认值:“false”)|
如果为真,那么Bazel将在一个新的测试中运行覆盖后处理
大量产
标签:执行
| |--[没有]experimental_split_xml_generation(一个布尔值;默认值:“true”)|
如果设置了此标志,并且测试操作没有生成test.xml文件,
然后,Bazel使用一个单独的操作来生成一个虚拟的测试.xml文件
包含测试日志。否则,Bazel将生成一个test.xml作为的一部分
测试动作。
标签:执行
| |--[没有]experimental_strict_fileset_output(一个布尔值;默认值:“false”)|
如果启用了此选项,文件集将把所有输出对象视为
常规文件。它们不会遍历目录或对之敏感
符号链接。
标签:执行
| |--experimental_ui_max_stdouterr_bytes((-1)|-1073741819范围内的整数;默认值:“1048576”)|
将被打印到
安慰-1表示没有限制。
标签:执行
| |--[没有]实验使用密封的沙箱(一个布尔值;默认值:“false”)|
如果设置为true,请不要装载根目录,请只装载提供的内容
sandbox_add_mount_pair。输入文件将被硬链接到沙箱中
而不是从沙箱中连接到的符号。如果找到了操作输入文件
在一个与沙箱不同的文件系统上,那么输入文件将是
复制而不是。
标签:执行
| |--[]experimental_use_sandboxfs(三状态(自动,是,不是)|;默认值:“false”)|
使用沙箱来创建操作的执行根目录,而不是
构建符号链接树。如果是“是”,则是由| |--提供的二进制文件
experimental_sandboxfs_path必须是有效的,并对应于一个受支持的experimental_sandboxfs_path
沙箱的版本。如果是“自动”,则二进制文件可能丢失或不丢失
兼容的
| |--[没有]实验使用窗口沙箱(三种状态(自动,是,否)|;默认值:“false”)|
使用Windows沙箱来运行操作。如果是“是”,则是由| |--提供的二进制文件
实验窗口的路径必须是有效的,并对应于a
支持版本的表箱。如果是“自动”,则二进制文件可能丢失或不丢失
兼容的
(一个字符串;默认值:“BazelSandbox.exe”)|
路径到窗口沙箱二进制文件使用时,| |--
实验的,使用的,窗口的,沙箱是正确的。如果是裸名称,则使用第一个
在路径中找到的该名称的二进制文件。
| |--genrule_strategy(以逗号分隔的选项列表;默认值:“”)|
指定如何执行生成规则。这一标志将被逐步淘汰。相反,使用
| |--spawn_stlity=<>来控制所有操作或| |--
策略=基因规则=<>仅控制基因规则。
标签:执行
| |--[no]不兼容的遗留本地回退(布尔值;默认值:“true”)|
如果设置为true,则启用遗留隐式回调
当地的战略。此标志最终将默认为false,然后变成
一个不可行的。使用策略、衍生策略或动态局部策略
相反,配置回退。
标签:执行,不兼容的更改
| |--[no]不兼容的远程符号链接(一个布尔值;默认值:“true”)|
如果设置为true,Bazel将表示动作输出中的符号链接
远程缓存/执行协议。当前的行为是为
远程缓存/执行器遵循符号链接并将它们表示为文件。看
#6631的细节。
标签:执行,不兼容的更改
| |--作业[-j](一个整数,或一个关键字(“auto”,“HOST_CPUS”,“HOST_RAM”)|,可选后跟着一个操作([-|*]<float>|。如“auto”,“HOST_CPUS*。5”;默认值:“auto”)|
要运行的并发作业数。取一个整数,或取一个关键字
(“auto”、“HOST_CPUS”、“HOST_RAM”)|,可选地跟随一个操作([-
|*]<浮动>)例如。“自动”,“HOST_CPUS*.5”。值必须在1到5000之间。
值大于2500可能会导致内存问题。“自动”计算出一个合理的
默认值是基于主机资源的。
标签:主机,机器,资源优化,执行
| |--[no]保持前进[-k](一个布尔值;默认值:“false”)|
错误后尽可能继续。当失败的目标出现时
而那些依赖于它的,是不能被分析的,其他的先决条件
这些目标可以是。
标签:渴望退出
| |--加载_phase_线程(一个整数,或一个关键字(“auto”,“HOST_CPUS”,“HOST_RAM”)|,可选地跟着一个操作([-|*]<float>|。“auto”,“HOST_CPUS*。5”;默认:“auto”)|
要用于加载/分析阶段的并行线程数。采取一个
整数,或一个关键字(“auto”,“HOST_CPUS”,“HOST_RAM”)|,可选
然后是一个操作([-|*]<float>|,例如。“自动”,“HOST_CPUS*.5”。汽车
根据主机资源设置一个合理的默认值。必须至少为1。
标签:bazel_indal_配置
| |--修改_执行__info(regex=[+-]键,regex=[+-]键,…;默认值:“”)|
根据操作从操作的执行信息中添加或删除键
帮助记忆的词句仅适用于支持执行信息的操作。许多
常见的操作支持执行信息,例如Genrule,Cpp编译,Javac,
StarlarkAction, TestRunner.当指定多个值时,顺序很重要
因为许多正则表达式可能适用于同一助记符。

语法:“regex=[+-]键,regex=[+-]键,……”。

示例:
'.*=+x,.*=-y,.*=+z“添加“x”和“z”,并删除“y”从
所有操作的执行信息。
“Genrule=+要求-x”添加“要求-x”到所有的执行信息
基因规则的行动。
'(?!Genrule).*=-要求-x从执行信息中“删除”要求-x”
对于所有非基因规则动作。

标签:执行,影响输出,加载和分析
| |--持久性的资源处理器
通过使用工人来启用持久的Android资源处理器。
扩展到:| |--internal_persistent_busybox_tools| |--
strategy=AaptPackage=worker | |--strategy=AndroidResourceParser=worker | |--
strategy=AndroidResourceValidator=worker | |--
strategy=AndroidResourceCompiler=worker | |--strategy=RClassGenerator=worker
| |--strategy=AndroidResourceLink=worker | |--strategy=AndroidAapt2=worker | |--
strategy=AndroidAssetMerger=worker | |--
strategy=AndroidResourceMerger=worker | |--
strategy=AndroidCompiledResourceMerger=worker | |--
strategy=ManifestMerger=worker | |--strategy=AndroidManifestMerger=worker | |--
strategy=Aapt2Optimize=worker | |--strategy=AARGenerator=worker
标签:主机,机器,资源优化,执行
| |--[no]远程允许符号上传(一个布尔值;默认值:“true”)|
如果为真,则将动作符号链接输出上传到远程缓存。如果这个选项
未启用,输出符号链接的可访问操作将会失败。
标签:执行
| |--spawn_statian(以逗号分隔的选项列表;默认值:“”)|
指定默认情况下如何执行生成操作。接受逗号
从最高优先级到最低的策略列表。对于每个
action Bazel选择具有最高优先级的策略
的行动。默认值是“远程,工作人员,沙箱,本地”。请参见https:
//<ϟ1>-strategy.html的细节。
标签:执行
| |--策略(“[name=]值1[..,valueN]”分配;可多次使用)|
指定如何分发其他生成操作的编译。接受a
逗号分隔的从最高到最低的策略列表。为了
每个行动都选择最高优先级的策略
执行操作。默认值是“远程,工作人员,沙箱,本地”。
此标志覆盖| |--spawn_statet(| |--
genrule_strategy,如果与记忆基因规则一起使用)。请看到“<ϟ2>”
build/2019/06/19/list-strategy.html的细节。
标签:执行
| |--stytet_regexp(‘<regex滤波器>=[,值]’赋值;可以多次使用)|
覆盖应该使用哪个生成策略来执行哪个生成操作
有与某个regex_过滤器相匹配的描述。参见-per_file_copt
细节onregex_filter匹配。与相匹配的第一个regex_过滤器
使用描述。此选项将覆盖用于指定的其他标志
策略例如:| |--stit_regexp=//foo。*\.cc,-//foo/bar=本地意味着
如果操作的描述与//foo相匹配,则使用本地策略运行操作。*.cc,但是
不是吧。例如:| |--stytut_regexp=‘编译。*/bar=local | |--
=编译=沙箱将运行“编译//foo/bar/baz”与
“本地”战略,但扭转命令将运行它
“沙盒”。
标签:执行

配置用于操作执行的工具链的选项:
| |--android_编译器(一个字符串;默认值:请参见说明)|
安卓目标编译器。
标签:影响输出,加载和分析,失去增量状态
| |--android_crosstool_top(构建目标标签;默认:“//外部:机器人/十字”)|
用于安卓构建的C-++编译器的位置。
标签:影响输出,更改输入,加载和分析,
损失增量状态
| |--android_grte_top(一个标签;默认值:请参见说明)|
安卓的目标是grte_top。
标签:更改输入,加载和分析,失去增量状态
| |--机器人清单合并(遗留的、机器人或强制的机器人;默认值:“android”)|
选择要用于android_二进制规则的清单合并。要帮助的标志
从传统合并过渡到安卓明显合并的过程。
标签:影响输出,加载和分析,失去增量状态
| |--android_平台(构建目标标签;默认值:“”)
设置android_二进制目标使用的平台。如果多个平台
,那么二进制是一个胖的apk,它包含本地
针对每个指定的目标平台的二进制文件。
标签:更改输入,加载和分析,失去增量状态
| |--android_sdk(构建目标标签;默认值:“@bazel_tools//tools/机器人:sdk”)|
指定用于构建Android应用程序的AndroidSDK/平台。
标签:更改输入,加载和分析,失去增量状态
| |--apple_编译器(一个字符串;默认值:请参见说明)|
苹果的目标编译器。可用于选择工具链的变体(e。
g. xcode-beta)。
标签:影响输出,加载和分析,失去增量状态
| |--apple_crosstool_top(一个构建目标标签;默认值:“@bazel_tools//tools/cpp:工具链”)|
在苹果和Objc规则中使用的十字架包的标签和
他们的依赖关系。
标签:失去增量状态,改变输入
| |--apple_grte_top(构建目标标签;默认值:请参见说明)|
苹果的目标是grte_top。
标签:更改输入,加载和分析,失去增量状态
| |--cc_output_directory_tag(一个字符串;默认值:“”)|
指定要添加到配置目录中的后缀。
标签:影响输出
| |--编译器(一个字符串;默认值:请参见说明)|
用于编译目标的C-++编译器。
标签:加载和分析,执行
| |--覆盖率_loput_生成器(构建目标标签;默认值:“@bazel_tools//tools/测试:lcov_merger”)|
用于后处理原始覆盖报告的二进制文件的位置。
当前必须是包含二进制文件的文件组。
默认设置为“//tools/测试:lcov_merger”。
标签:更改输入、影响输出、加载和分析
| |--覆盖率报告生成器(生成目标标签;默认值:“测试:覆盖率报告生成器”)|
用于生成覆盖率报告的二进制文件的位置。这必须
当前是包含一个单个文件的文件组,即二进制文件。默认值
测试:覆盖率报告生成器。
标签:更改输入、影响输出、加载和分析
| |--覆盖支持(构建目标标签;默认值:“@bazel工具//工具/测试:覆盖支持”)|
在每个测试的输入上所需的支持文件的位置
收集代码覆盖范围的操作。默认值为“工具/测试”:
覆盖_支持”。
标签:更改输入、影响输出、加载和分析
| |--crosstool_top(一个构建目标标签;默认值:“@bazel_tools//tools/cpp:工具链”)|
用于编译C++代码的交叉包的标签。
标签:加载和分析,更改输入,影响输出
| |--cumim_malloc(生成目标标签;默认值:请参见说明)|
指定一个自定义的malloc实现。此设置覆盖malloc
构建规则中的属性。
标签:更改输入,影响输出
| |--experimental_add_exec_constraints_to_targets(一个“<RegexFilter>=<label1>[<label2>...]”分配;可以多次使用)|
逗号分隔的正则表达式列表,每个可选前缀为-
(负表达式)|,将(=|分配给一个以逗号分隔的约束列表
价值目标。如果一个目标不匹配任何负表达式,并且至少匹配了一个
正表达式,它的工具链解析将被执行,就好像它有了一样
将约束值声明为执行约束。示例://演示
测试=@平台//cpus:x86_64将在//演示下向任何目标添加“x86_64”
除了那些名字中包含“测试”的人。
标签:加载和分析
| |--[没有]experimental_enable_objc_cc_deps(一个布尔值;默认值:“true”)|
允许objc_*规则依赖于cc_library,并导致任何objc
对于任何值,使用-cpu设置为“ios_<| |--ios_cpu>”构建依赖关系
在| |--ios_multi_cpu。
标签:加载和分析,不兼容的更改
| |--[no]experimental_include_xcode_execution_requirements(一个布尔值;默认值:“false”)|
如果设置,则为每个添加“rex-xcode:{版本}”执行要求
Xcode操作。如果xcode版本有一个连字符的标签,也添加一个
“要求”执行要求。
标签:失去增量状态,加载和分析,执行
| |--[没有]实验偏好相互xcode(布尔值;默认:“true”)|
如果为true,请使用本地和都可用的最新Xcode
遥远地如果是false,或者如果没有相互可用的版本,请使用
通过Xcode-选择来选择的本地Xcode版本。
标记:los_增量状态
| |--额外执行平台(以逗号分隔的选项列表,可以多次使用)|
可作为执行操作的执行平台的平台。
平台可以由精确的目标指定,也可以作为目标模式指定。这些
平台将在那些在工作区文件中声明的平台之前被考虑
寄存器执行平台()|。
标签:执行
| |--extra_toolchains(以逗号分隔的选项列表;可多次使用)|
在进行工具链解析时要考虑的工具链规则。
工具链可以由精确的目标指定,也可以作为目标模式指定。这些
在工作区文件中声明的工具链之前,将考虑工具链
由register_toolchains()|。
标签:影响输出、更改输入、加载和分析
| |--grte_top(一个标签;默认值:请参见说明)|
对已签入的libc库的标签。的默认值
交叉工具链,你几乎不需要覆盖它。
标签:动作命令行,影响输出
| |--host_编译器(一个字符串;默认值:请参见说明)|
要用于主机编译的C-++编译器。如果是| |--,则它被忽略
未设置host_crosstool_top。
标签:加载和分析,执行
| |--host_crosstool_top(构建目标标签;默认值:请参见说明)|
默认情况下,-| |--crosstool_top和| |--编译器选项也用于
主机配置。如果提供了此标志,则Bazel将使用默认值
libc和编译器。
标签:加载和分析,更改输入,影响输出
| |--host_grte_top(一个标签;默认值:请参见说明)|
如果指定,此设置将覆盖libc顶级目录(| |--
grte_top)的主机配置。
标签:动作命令行,影响输出
| |--host_平台(构建目标标签;默认值:“”)
描述主机系统的平台规则的标签。
标签:影响输出、更改输入、加载和分析
| |--[no]incompatible_disable_expand_if_all_available_in_flag_set(一个布尔值;默认值:“true”)|
如果为真,Bazel将不允许指定扩展_if_all_可用
flag_sets(有关迁移,请参见https://github.com/bazelbuild/bazel/issues/7008
操作指南
标签:加载和分析,不兼容的更改
| |--[no]incompatible_disable_runtimes_filegroups(一个布尔值;默认值:“false”)|
已弃用,不可操作。
标签:动作命令行,加载和分析,不用,
不兼容的变化
| |--[没有]incompatible_dont_emit_static_libgcc(一个布尔值;默认值:“true”)|
已弃用,不可操作。
标签:动作命令行,加载和分析,不用,
不兼容的变化
| |--[no]incompatible_dont_enable_host_nonhost_crosstool_features(一个布尔值;默认值:“true”)|
如果为true,Bazel将不会在c++中启用“主机”和“非主机”功能
工具链(有关更多信息,请参见https://github.com/bazelbuild/bazel/issues/7407
消息
标签:加载和分析,不兼容的更改
| |--[no]incompatible_enable_android_toolchain_resolution(一个布尔值;默认值:“false”)|
使用工具链解析为安卓规则选择Android SDK
(百灵鸟和当地人)|
标签:加载和分析,不兼容的更改
| |--[no]incompatible_linkopts_in_user_link_flags(一个布尔值;默认值:“true”)|
已弃用,不可操作。
标签:动作命令行,加载和分析,不用,
不兼容的变化
| |--[no]incompatible_make_thinlto_command_lines_standalone(一个布尔值;默认值:“true”)|
如果为true,Bazel将不会为lto重用C++链接操作命令行
索引命令行(请参见https://github.com/bazelbuild/bazel/issues/6791
更多信息)。
标签:加载和分析,不兼容的更改
| |--[no]incompatible_remove_cpu_and_compiler_attributes_from_cc_toolchain(一个布尔值;默认值:“true”)|
如果这是真的,Bazel就会抱怨,当cc_toolchain.cpu和cc_toolchain。
编译器属性已设置(参见https://github。
发行版/7075版的迁移说明)。
标签:加载和分析,不兼容的更改
| |--[no]incompatible_remove_legacy_whole_archive(一个布尔值;默认值:“true”)|
如果为真,Bazel将不会链接库依赖项作为整个存档
默认值(请参见https://github.com/bazelbuild/bazel/issues/7362中的迁移
操作指南
标签:加载和分析,不兼容的更改
| |--[no]incompatible_require_ctx_in_configure_features(一个布尔值;默认值:“true”)|
如果为真,Bazel将需要‘ctx’参数到cc_common。
配置特性(参见https://github.com/bazelbuild/bazel/issues/7793为
更多信息)|。
标签:加载和分析,不兼容的更改
| |--[没有]接口_share_对象(一个布尔值;默认值:“true”)|
如果由工具链支持,则使用接口共享对象。所有ELF
工具链当前支持此设置。
标签:加载和分析,影响输出,影响输出
| |--ios_sdk_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
指定要用于构建iOS应用程序的iOS SDK的版本。如果
未指定,使用‘xcode_verson’的默认iOS SDK版本。
标记:los_增量状态
| |--macos_sdk_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
指定要用于构建macOS应用程序的macOS SDK的版本。
如果未指定,则使用‘xcode_version’的默认macOS SDK版本。
标记:los_增量状态
| |--minimum_os_version(一个字符串;默认值:请参见说明)|
您的编译目标是的最小操作系统版本。
标签:加载和分析,影响输出
| |--平台映射(一个相对路径;默认值:“”)|
映射文件的位置,描述如果没有时使用的平台
设置或在平台已存在时要设置的标志。必须是
相对于主工作区根目录。默认设置为“平台映射”(a
文件直接在工作区根目录下)。
标签:影响输出、更改输入、加载和分析
| |--平台(构建目标标签;默认值:“”)|
描述以下对象的目标平台的平台规则的标签
当前命令。
标签:影响输出、更改输入、加载和分析
| |--python2_path(一个字符串;默认值:请参见说明)|
已弃用,无操作。被`| |--incompatible_use_python_toolchains`禁用。
标签: no_op,不赞成
| |--python3_path(一个字符串;默认值:请参见说明)|
已弃用,无操作。被`| |--incompatible_use_python_toolchains`禁用。
标签: no_op,不赞成
| |--python_path(一个字符串;默认值:请参见说明)|
用于运行Python目标的Python解释器的绝对路径
在目标平台上。已弃用;由| |--禁用
incompatible_use_python_toolchains .
标签:加载和分析,影响输出
| |--Python_top(构建目标标签;默认值:请参阅说明)|
表示被调用到的Python解释器的py_runtime的标签
在目标平台上运行Python目标。已弃用;由| |--禁用
incompatible_use_python_toolchains .
标签:加载和分析,影响输出
| |--目标平台后退功能(构建目标标签;默认值:“@bazel_tools//平台:目标平台”)|
如果没有目标平台是这样,则应该使用的平台规则的标签
设置和没有平台映射与当前的标志集相匹配。
标签:影响输出、更改输入、加载和分析
| |--tvos_sdk_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
指定要用于构建tvOS应用程序的tvOS SDK的版本。如果
未指定,使用‘xcode_verson’的默认tvOS SDK版本。
标记:los_增量状态
| |--watchos_sdk_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
指定要用于构建watchOS的watchOS SDK的版本
申请如果未指定,则使用默认的watchOS SDK版本从
“xcode_版本”。
标记:los_增量状态
| |--xcode_version(字符串;默认值:请参见说明)|
如果指定了它,请使用给定版本的Xcode来进行相关的构建操作。
如果未指定,则使用Xcode的执行器默认版本。
标记:los_增量状态
| |--xcode_vorsion_config(一个构建目标标签;默认值:“@local_config_xcode//:host_xcodes”)|
用于选择Xcode的xcode_config规则的标签
构建配置中的版本。
标签:失去增量状态、加载和分析

用来控制该命令的输出的选项:
| |--[没有]apple_enable_auto_dsym_dbg(一个布尔值;默认值:“false”)|
是否强制启用为dbg生成调试符号(.dSYM)|文件
修建
标签:影响输出,动作,命令行
| |--[没有]apple_generate_dsym(一个布尔值;默认值:“false”)|
是否要生成调试符号(.dSYM)|文件。
标签:影响输出,动作,命令行
| |--[no]构建(一个布尔值;默认值:“true”)|
执行构建;这是通常的行为。指定nobuild原因
在执行构建操作之前停止的构建,返回零iff
软件包加载和分析阶段已成功完成;此模式
对测试这些阶段很有用。
标签:执行,影响输出
| |--[没有]build_runfile_links(一个布尔值;默认值:“true”)|
如果为真,则为所有目标构建运行文件符号链接林。如果为false,写
只有在可能的情况下才会出现。
标签:影响输出
| |--[没有]build_runfile_manifests(一个布尔值;默认值:“true”)|
如果为真,则为所有目标写入运行文件。如果为false,请忽略它们。
当为false时,本地测试将无法运行。
标签:影响输出
| |--[没有]build_test_dwp(一个布尔值;默认值:“false”)|
如果启用,当构建C时,++测试静态和与裂变的.dwp
测试二进制文件也将自动构建。
标签:加载和分析,影响输出
| |--cc_proto_library_header_suffixes(以逗号分隔的选项列表;默认值:“.pb.h”)|
设置cc_proto_library创建的头文件的前缀。
标签:影响输出、加载和分析
| |--cc_proto_library_source_suffixes(以逗号分隔的选项列表;默认值:“.pb.cc”)|
设置cc_proto_library所创建的源文件的前缀。
标签:影响输出、加载和分析
| |--[no]experimental_proto_descriptor_sets_include_source_info(一个布尔值;默认值:“false”)|
在原始库中为替代的Java api版本运行额外的操作。
标签:影响输出,加载和分析,实验性的
| |--[没有]实验原动作(布尔;默认值:“false”)|
在原始库中为替代的Java api版本运行额外的操作。
标签:影响输出,加载和分析,实验性的
| |--[no]实验_run_验证(一个布尔值;默认值:“true”)|
使用—运行验证。
标签:执行,影响输出
| |--[no]实验保存特性状态(布尔值;默认值:“false”)|
将启用和请求的状态保存为输出
汇编物
标签:影响_输出的,实验性的
| |--[no]实验使用验证方面(一个布尔值;默认值:“false”)|
是否使用方面(运行验证操作,用于与测试并行)|。
标签:执行,影响输出
| |--裂变(一组编译模式;默认值:“否”)|
指定哪些编译模式使用裂变的C++编译和
链接可以是{“快速构建”,“dbg”,“opt”}或
特殊值“是”以启用所有模式,“否”禁用所有模式。
标签:加载和分析,操作命令行,影响输出
| |--[没有]legacy_external_runfiles(一个布尔值;默认值:“true”)|
如果为真,则在下为外部存储库构建运行文件符号链接林。
运行文件/wsname/外部/repo(除了.runfiles/repo)。
标签:影响输出
| |--[没有]objc_generate_linkmap(一个布尔值;默认值:“false”)|
指定是否生成链接映射文件。
标签:影响输出
| |--poput_groups(以逗号分隔的选项列表;可以多次使用)|
以逗号分隔的输出组名称的列表,每个名称都可选择
以一个+或a-为前缀。以+为前缀的组将被添加到默认集中
输出组,而前缀的组从默认值中删除
放置如果至少有一个组没有带前缀,则使用默认的输出集
组是省略的。例如,| |--popt_groups=+foo,+条构建联合
的默认设置,foo,和条,而-输出_groups=foo,条覆盖
默认设置为只构建foo和条。
标签:执行,影响输出
| |--[没有]run_验证(一个布尔值;默认值:“true”)|
是否要作为构建的一部分来运行验证操作。
标签:执行,影响输出
| |--[没有]save_temps(一个布尔值;默认值:“false”)|
如果已设置,则将保存来自gcc的临时输出。这些包括.s文件
(汇编程序代码)|、.i文件(预处理C)|和.ii文件(预处理
C++).
标签:影响输出

允许用户配置预期输出的选项,影响其值,而不是其存在:
| |--action_env(具有可选值部分的“name=值”赋值;可多次使用)|
指定可用于具有目标的操作的环境变量集
构造变量可以通过名称来指定,在这种情况下,变量为
值将从调用环境中获取,或通过名称=值获取
对,它设置独立于调用环境的值。这个
选项可以多次使用;对于为同一变量提供的选项,
最新的胜利,不同变量的选项会累积。
标签:action_命令行
| |--android_cpu(一个字符串;默认值:“armeabi-v7a”)|
安卓目标CPU。
标签:影响输出,加载和分析,失去增量状态
| |--[没有]android_databinding_use_androidx(一个布尔值;默认值:“false”)|
生成与androidx兼容的数据绑定文件。这只用于
databinding v2.
标签:影响输出,加载和分析,失去增量状态,
根据实验的
| |--[没有]android_databinding_use_v3_4_args(一个布尔值;默认值:“false”)|
使用android数据绑定v2和3.4.0参数
标签:影响输出,加载和分析,失去增量状态,
根据实验的
| |--android_fdinic_模式(关闭、默认或完全;默认:“关闭”)|
确定安卓规则的++是否动态链接
当cc_binary没有显式地创建共享库时。违约
意味着巴泽会选择是否动态链接。“完全”意味着所有的东西
库将被动态地链接起来。“off”意味着所有的库都会这样做
主要以静态模式进行链接。
标签:影响输出、加载和分析
| |--清单合并顺序(字母顺序、字母顺序配置或依赖项;默认:“字母顺序”)|
设置传递给清单合并的清单的顺序
一双按字母顺序表示的清单按相对于的路径排序
execroot.ALPHABETICAL_BY_CONFIGURATION表示清单是按路径排序
相对于输出目录中的配置目录。
依赖关系意味着清单将会对每个库的清单进行排序
在其依赖关系的显现之前。
标签:动作_命令_行,执行
| |--[没有]安卓资源缩小(一个布尔值;默认值:“false”)|
为使用ProGuard的android_二进制APKs启用资源缩减。
标签:影响输出、加载和分析
| |--apple_bitcode(“模式”或“平台=模式”,其中“模式”是没有,嵌入式标记或嵌入式,“平台”是ios、手表、tvos、macos或催化剂;可以多次使用)|
指定针对设备的编译步骤的Apple位码模式
建筑学值的形式是“[平台=]模式”,其中的平台
(必须是“ios”、“macos”、“tvos”或“Ϡ”)|是可选的。如果
提供的,位码模式具体适用于该平台;如果
省略了,它适用于所有的平台。该模式必须是“无”,
“嵌入式标记”,或“嵌入式”。这个选项可以提供多个选项
乘以
标记:los_增量状态
| |--方面(以逗号分隔的选项列表,可多次使用)|
以逗号分隔的要应用于顶级目标的方面列表。在
列表中,如果方面<代码>一些方面</代码>指定所需的方面
提供程序通过<代码>要求_方面_提供程序</code><代码>一些方面的</code>将在所提到的每个方面之后运行
在它之前的方面列表中,谁的广告供应商满足
<代码>一些方面</code>需要方面提供程序。此外,
<代码>some_方面</code>将在指定所有需要的方面之后运行
通过<代码,>需要</code>属性。<代码>的一些_方面的</代码>将会有
访问这些方面的提供者的价值。<bzl-文件标签>%
<pocer_name>,例如‘//tools: my_def.bzl%my_aspect’,其中
“my_fogor”是来自文件tools/my_def.bzl的顶级值
| |--[]build_python_zip(三状态(自动,是,否)|;默认值:“自动”)|
构建Piython可执行压缩文件;在Windows上打开,在其他平台上关闭
标签:影响输出
| |--catalyst_cpus(以逗号分隔的选项列表;可多次使用)|
以逗号分隔的要构建苹果催化剂的架构列表
一双
标签:失去增量状态、加载和分析
| |--[no]收集_code_覆盖范围(一个布尔值;默认值:“false”)|
如果指定,Bazel将仪表代码(使用离线仪表
),并将在测试期间收集覆盖范围信息。只有
匹配的目标将受到影响。通常这
选项不应该直接指定-“bazel覆盖”命令应该
被用来代替。
标签:影响输出
(快速构建、dbg或opt;默认值:“快速构建”)|
指定二进制的模式。值:“快速构建”、“dbg”、
选择
标签:影响输出,动作,命令行
| |--连接器(字符串,可多次使用)|
在编译C源文件时传递给gcc的附加选项。
标签:动作命令行,影响输出
| |--copt(一个字符串;可多次使用)|
要传递给gcc的其他选项。
标签:动作命令行,影响输出
| |--cpu(一个字符串;默认值:“”)
目标CPU。
标签:更改输入,影响输出
| |--cs_fdo_absolute_path(一个字符串;默认值:请参见说明)|
使用CSFDO配置文件信息来优化编译。指定绝对值
包含配置文件文件、原始文件或索引的zip文件的路径名称
LLVM配置文件。
标签:影响输出
| |--cs_fdo_instrument(一个字符串;默认值:请参见说明)|
使用对上下文敏感的FDO检测工具生成二进制文件。和
Clang/LLVM编译器,它也接受原始目录下的目录名
配置文件文件将在运行时被转储。
使用此选项还将添加:| |--copt=-Wno-error
标签:影响输出
| |--cs_fdo_profile(构建目标标签;默认值:请参见说明)|
表示要使用的上下文敏感配置文件的cs_fdo_profile
优化。
标签:影响输出
| |--cxxopt(一个字符串;可多次使用)|
在编译C++源文件时传递给gcc的附加选项。
标签:动作命令行,影响输出
| |--定义(“name=值”赋值;可以多次使用)|
每个| |--定义选项都为构建变量指定一个赋值。
标签:更改输入,影响输出
| |--动态模式(关闭、默认或完全模式;默认值:“默认”)|
确定C-++二进制文件是否将被动态链接。违约
这意味着Bazel将选择是否动态链接。“完全”意味着所有的东西
库将被动态地链接起来。“off”意味着所有的库都会这样做
主要以静态模式进行链接。
标签:加载和分析,影响输出
| |--[没有]enable_fdo_profile_absolute_path(一个布尔值;默认值:“true”)|
如果设置,使用fdo_absolute_profile_path将引起一个错误。
标签:影响输出
| |--[]enable_runfiles(三状态(自动,是,否)|;默认值:“自动”)|
启用运行文件符号链接树;默认情况下,它在Windows上关闭,在其他窗口上关闭
平台
标签:影响输出
(构建目标标签;可以多次使用)|
不赞成赞成的方面。使用action_侦听器附加
对现有构建操作的额外操作。
标签:执行,实验
| |--[no]experimental_android_compress_java_resources(一个布尔值;默认值:“false”)|
压缩apk中的Java资源
标签:影响输出,加载和分析,实验性的
| |--[没有]experimental_android_databinding_v2(一个布尔值;默认值:“false”)|
使用机器人数据库v2
标签:影响输出,加载和分析,失去增量状态,
根据实验的
| |--[没有实验资源收缩(布尔;默认:“false”)|
为使用ProGuard的android_二进制APKs启用资源缩减。
标签:影响输出、加载和分析
| |--[no]experimental_android_rewrite_dexes_with_rex(一个布尔值;默认值:“false”)|
使用rex工具重写dex文件
标签:影响输出,加载和分析,失去增量状态,
根据实验的
| |--[没有]实验方便的符号链接(正常、干净、忽略或仅为日志;默认:“正常”)|
此标志控制方便符号链接(显示的符号链接
在构建后的工作区中)将被管理。可能值:
正常(默认)|:将创建各种方便的符号链接或
已删除,由构建决定。
干净:所有的符号链接都将被无条件地删除。
忽略:符号链接将被单独保留。
log_only:生成日志消息,就好像传递了“正常”一样,但是没有传递
实际上执行任何文件系统操作(对工具很有用)|。
请注意,只有其名称是由| |--的当前值生成的符号链接
Symlink_前缀可能会受到影响;如果前缀发生更改,则任何已存在的
符号链接将被单独保留。
标签:影响输出
| |--[no]experimental_convenience_symlinks_bep_event(一个布尔值;默认值:“false”)|
此标志控制我们是否将发布构建
标识到构建事件协议的事件方便符号链接。如果值
是真的,构建事件协议将有一个条目
识别出的方便符号链接,列出了所有的方便符号链接
在您的工作区中创建。如果是假的,则标识了方便的符号链接
构建事件协议中的条目将为空。
标签:影响输出
| |--experimental_multi_cpu(以逗号分隔的选项列表;可多次使用)|
此标志允许指定多个目标cpu。如果指定了这个值,则为
| |--cpu选项被忽略。
标签:影响_输出的,实验性的
| |--experimental_objc_fastbuild_options(以逗号分隔的选项列表;默认值:“-O0,-DDEBUG=1”)|
使用这些字符串作为objc快速构建编译器选项。
标签:action_命令行
| |--[没有]experimental_omitfp(一个布尔值;默认值:“false”)|
如果为true,则使用libunwind进行堆栈展开,并使用-忽略-帧-进行编译
指针和快速同步展开表。
标签:动作命令行,影响输出,实验性的
| |--[没有]experimental_platform_in_output_dir(一个布尔值;默认值:“false”)|
如果为真,则在输出目录名称中使用目标平台
的CPU。
标签:影响_输出的,实验性的
| |--[没有]experimental_use_llvm_covmap(一个布尔值;默认值:“false”)|
如果指定,Bazel将生成llvm-cov覆盖地图信息
当启用celth_code_覆盖时,比gcov多。
标签:改变输入,影响输出,加载和分析,实验性的
| |--fat_apk_cpu(以逗号分隔的选项列表;默认值:“armeabi-v7a”)|
设置此选项将启用脂肪apk,它包含所有文件的本地二进制文件
指定的目标架构,例如,| |--fat_apk_cpu=x86,armeabi-v7a。如果
指定此标志,然后忽略| |--android_cpu的依赖项
android_二元规则。
标签:影响输出,加载和分析,失去增量状态
| |--[没有]fat_apk_hwasan(一个布尔值;默认值:“false”)|
是否要创建HWASAN分割。
标签:影响输出,加载和分析,失去增量状态
| |--fdo_instrument(一个字符串;默认值:请参见说明)|
使用FDO检测工具生成二进制文件。与Clang/LLVM编译器,它
也接受原始配置文件文件所在的目录名称
在运行时倾倒。
使用此选项还将添加:| |--copt=-Wno-error
标签:影响输出
| |--fdo_optimize(一个字符串;默认值:请参见说明)|
使用FDO配置文件信息来优化编译。指定的名称
包含.gcda文件树的zip文件,或包含一个
自动配置文件。例如,此标志还接受指定为标签的文件
//foo/bar:文件.afdo。这样的标签必须引用输入文件;您可能需要
向相应的包中添加一个eupote_files指令来使
Bazel可见的文件。它还接受一个原始的或一个有索引的LLVM配置文件
文件此标志将被fdo_profile规则所取代。
标签:影响输出
| |--fdo_prefetch_hints(构建目标标签;默认值:请参见说明)|
使用缓存预取提示。
标签:影响输出
| |--fdo_profile(构建目标标签;默认值:请参见说明)|
表示要用于优化的配置文件的fdo_profile。
标签:影响输出
| |--特征(一个字符串;可以多次使用)|
默认情况下,所有的软件包都将启用或禁用给定的功能。
在指定-<特性时,>将全局禁用该特性。负面特征
总是覆盖正的。此标志用于启用推出
默认功能会发生更改,但没有使用Bazel版本。
标签:更改输入,影响输出
| |--[没有]force_pic(一个布尔值;默认值:“false”)|
如果启用,所有的C++编译都将产生与位置无关的代码(“-
fPIC”),链接更喜欢PIC预构建的库,而不是非PIC库,和
链接会产生与位置无关的可执行文件(“-pie”)|。
标签:加载和分析,影响输出
| |--host_action_env(具有可选值部分的“name=值”赋值;可多次使用)|
指定可用于具有主机的操作的环境变量集
或执行配置。变量可以通过名称来指定
在哪种情况下,该值将来自调用环境,或由
名称=值对,它设置独立于调用的值
环境此选项可以多次使用;对于为
相同的变量,最新的胜利,不同变量的选项
积累
标签:action_命令行
| |--host_编译模式(快速构建、dbg或opt;默认值:“opt”)|
指定在构建期间使用的工具的内置模式。对价值的看法
“快速构建”、“dbg”、“opt”。
标签:影响输出,动作,命令行
| |--host_conlyopt(一个字符串;可多次使用)|
在为主机编译C源文件时传递给gcc的附加选项
工具
标签:动作命令行,影响输出
| |--host_copt(一个字符串;可以多次使用)|
要为主机工具传递给gcc的其他选项。
标签:动作命令行,影响输出
| |--host_cpu(一个字符串;默认值:“”)|
主机CPU。
标签:更改输入,影响输出
| |--host_cxxopt(一个字符串;可多次使用)|
要为主机工具传递给gcc的其他选项。
标签:动作命令行,影响输出
| |--host_force_python(PY2或PY3;默认值:请参见说明)|
覆盖主机配置的Python版本。可以是“PY2”或
“py3”。
标签:加载和分析,影响输出
| |--host_linkopt(一个字符串;可多次使用)|
在链接主机工具时传递给gcc的其他选项。
标签:动作命令行,影响输出
| |--host_macos_minimum_os(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
针对主机目标的最小兼容的macOS版本。如果未指明,则使用
' macos_sdk_version '.
标记:los_增量状态
| |--host_swiftcopt(一个字符串;可多次使用)|
为主机工具传递给swiftc的其他选项。
标签:动作命令行,影响输出
| |--[没有]incompatible_avoid_conflict_dlls(一个布尔值;默认值:“true”)|
如果启用,则由cc_library生成的所有C++动态链接库(dll)|
在窗口上将被重新命名为name_{hash}.dll,其中哈希被计算
基于存储库名称和DLL的程序包路径。此选项为
有用的是,当你有一个包,它依赖于多个cc_library与
相同的名称(如:酒吧1:利用率和酒吧2:利用率)|。
标签:加载和分析,影响输出,不兼容的更改
| |--[没有]incompatible_merge_genfiles_directory(一个布尔值;默认值:“true”)|
如果为true,则基因文件目录将折叠到bin目录中。
标签:影响的输出,不兼容的更改
| |--[no]incompatible_use_platforms_repo_for_constraints(一个布尔值;默认值:“false”)|
如果为真,则会删除@bazel_tools中的约束设置。
标签:影响的输出,不兼容的更改
| |--[没有]tiuld_test_目标(布尔值;默认值:“false”)|
启用覆盖后,指定是否考虑仪器检测测试
规程当设置时,-仪表_过滤器所包含的测试规则为
装有导航仪器的否则,测试规则总是被排除在覆盖范围之外
使用仪器
标签:影响输出
-endenan_filper(以逗号分隔的正则表达式列表,指定已排除的路径;默认:-/数据[/:],-/test/java[/:]“)|
当启用覆盖时,只有包含指定名称的规则
基于regex的过滤器将被检测出来。以“-”为前缀的规则为
被排除在外。注意,只有非测试规则被检测,除非| |--
已启用仪器测试目标。
标签:影响输出
| |--ios_cpu(一个字符串;默认值:“x86_64”)|
指定为iOS编译的目标CPU。
标签: no_op,不赞成
| |--ios_minimum_os(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
针对目标模拟器和设备的最小兼容iOS版本。如果
未指定,使用“ios_sdk_version”。
标记:los_增量状态
| |--ios_multi_cpus(以逗号分隔的选项列表;可多次使用)|
使用逗号构建ios_application的体系结构分隔列表。这个
结果是一个包含所有指定架构的通用二进制结构。
标签:失去增量状态、加载和分析
| |--[没有]遗留的整个档案(一个布尔值;默认值:“true”)|
弃用,被不兼容的删除遗留存档取代(参见
https://github.com/bazelbuild/bazel/issues/7362的细节)。当打开时,使用
| |--为具有链接共享=1和的cc_binary规则的完整存档
链接静态=1或“-静态”。这是为了实现向后兼容性
只有一个更好的选择是在需要的地方始终链接=1。
标签:动作命令行,影响输出,已弃用
| |--链接选项(一个字符串,可多次使用)|
要在链接时传递给gcc的附加选项。
标签:动作命令行,影响输出
—(字符串,可多次使用)|
要传递给LTO后端步骤的附加选项(| |--下
features=thin_lto).
标签:动作命令行,影响输出
| |--ltoindexopt(一个字符串;可以多次使用)|
要传递给LTO索引步骤的其他选项(| |--下
features=thin_lto).
标签:动作命令行,影响输出
| |--macos_cpus(以逗号分隔的选项列表;可多次使用)|
以逗号分隔的构建Apple macOS的架构列表
一双
标签:失去增量状态、加载和分析
| |--macos_minimum_os(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
针对目标的最低兼容macOS版本。如果未指明,则使用
' macos_sdk_version '.
标记:los_增量状态
| |--[没有]objc_debug_with_GLIBCXX(一个布尔值;默认值:“false”)|
如果设置,编译模式设置为“dbg”,定义GLIBCXX_DEBUG,
GLIBCXX_DEBUG_PEDANTIC和GLIBCPP_CONCEPT_CHECKS。
标签:action_命令行
| |--[没有]objc_enable_binary_stripping(一个布尔值;默认值:“false”)|
是否在链接的二进制文件上执行符号和死代码删除。
如果这个标志和| |--,将执行二进制条纹
已指定了编译_mode=opt。
标签:action_命令行
(一个字符串;可多次使用)|
要传递给目标C编译的其他选项。
标签:action_命令行
| |--per_file_copt(逗号分隔的正则表达式表达式列表“-”,指定排除路径,后面跟@和逗号分隔的选项列表;可以多次使用)|
在编译某些文件时,可以有选择地传递给gcc的其他选项。
此选项可以传递多次。语法: regex_filter@option_1
option_2,...,option_n .其中regex_filper代表包含和的列表
排除正则表达式模式(另请参见| |--检测过滤器)|。
从option_1到option_n表示任意的命令行选项。如果一个选项
包含一个逗号,它必须用反斜杠进行引号。选项可以包含
@.只有第一个@用于拆分字符串。例如: | |--
per_file_copt=//foo/。*\.cc,-//foo/bar\.cc@-O0添加了-O0命令行
选择到//foo/中所有cc文件的gcc命令行,除了bar.cc。
标签:动作命令行,影响输出
| |--per_file_ltobackendopt(逗号分隔的正则表达式前缀-的列表,指定排除的路径,后面跟@和逗号分隔的选项列表;可以多次使用)|
有选择地传递给LTO后端的其他选项(| |--下
特性=thin_lto)在编译某些后端对象时。此选项可以
多次通过。语法:regex_fiiler@option_1,option_2,...,
option_n .其中regex_fipler代表包含和排除的列表
正则表达式模式。option_1到option_n代表任意的
命令行选项。如果一个选项包含一个逗号,则必须引用它
用反斜杠。选项可以包含@。只有第一个@被用于拆分
字符串。例如:| |--per_file_ltobackendopt=//foo/。*\.o,-//foo/bar\.o@-O0
将-O0命令行选项添加到所有O的LTO后端命令行中
文件中,bar.o除外。
标签:动作命令行,影响输出
| |--Plade_sefix(字符串;默认:参见说明)|
指定要添加到配置目录中的后缀。
标签:失去增量状态、影响输出、加载和分析
| |--Prewon_优化(生成目标标签;默认值:参见说明)|
螺旋桨代码布局优化的布局文件。
标签:动作命令行,影响输出
| |--propeller_optimize_absolute_cc_profile(一个字符串;默认值:请参见说明)|
针对螺旋桨优化构建的cc_profile文件的绝对路径名称。
标签:影响输出
| |--propeller_optimize_absolute_ld_profile(一个字符串;默认值:请参见说明)|
针对螺旋桨优化构建的ld_profile文件的绝对路径名称。
标签:影响输出
| |--远程下载最小值
不将任何远程构建输出下载到本地计算机。此标志
是三个标志的快捷方式:| |--experimental_inmemory_jdeps_files,| |--
experimental_inmemory_dotd_files和| |--远程下载输出=的最小值。
扩展到:| |--nobuild_runfile_links| |--experimental_inmemory_jdeps_files| |--
experimental_inmemory_dotd_files| |--远程_下载_输出=的最小值
标签:影响输出
| |--远程下载输出(全部、最小值或顶层;默认值:“全部”)|
如果设置为“最小”,则不会将任何远程构建输出下载到本地
机器,除了本地操作所要求的那些。如果设置为“倒角”
行为类似于“最小”,除了它也下载顶级的输出
请将目标设置到本地机器上。这两种选择都可以显著减少构建
时间,如果网络带宽是一个瓶颈。
标签:影响输出
| |--远程下载符号链接模板(一个字符串;默认值:“”)|
与其将远程构建输出下载到本地机器,不如创建
符号链接。的符号链接的目标可以在
模板字符串的形式。此模板字符串可能包含{哈希}和
扩展到对象的哈希值和以字节为单位的大小,
各自地例如,这些符号链接可能指向一个FUSE文件
按需从CAS加载对象的系统。
标签:影响输出
| |-- remote_download_toplevel
仅将顶级目标的远程输出下载到本地计算机。
这个标志是三个标志的快捷方式: | |--
experimental_inmemory_jdeps_files,| |--experimental_inmemory_dotd_files和| |--
远程下载输出=到。
扩展到:| |--experimental_inmemory_jdeps_files| |--
experimental_inmemory_dotd_files| |--远程下载输出=到
标签:影响输出
| |--repo_env(具有可选值部分的“name=值”赋值;可多次使用)|
指定仅可用于的其他环境变量
存储库规则。请注意,存储库规则可以看到完整的环境
无论如何,但是通过这种方式,配置信息可以被传递给
通过选项而不使操作图无效。
标签:action_命令行
| |--run_under(命令前面的前缀;默认值:请参见说明)|
在“测试”和“run”命令的可执行文件之前插入的前缀。
如果值是“foo-bar”,并且执行命令行是“test_dixban-
,那么最后的命令行是“foo-bartest_二进制-baz”。这就可以
也是一个可执行目标的标签。一些例子是:“valgrind”
“斯特雷斯”,“斯特雷斯-c”,“瓦尔格兰| |--安静| |--数字呼叫者=20”,“//包:
目标“//包:目标选项”。
标签:action_命令行
| |--[没有]share_native_deps(一个布尔值;默认值:“true”)|
如果为真,则包含相同功能的本机库将变为
在不同的目标之间共享
标签:加载和分析,影响输出
| |--[no]戳(一个布尔值;默认值:“false”)|
邮票二进制文件的日期、用户名、主机名、工作区信息、
等
标签:影响输出
剥离(总是、有时或从不;默认值:“有时”)|
指定是否删除二进制文件和共享库(使用“-Wl”,| |--
条带调试”)。默认值“有时”意味着剥离iff | |--
编译模式=快速构建。
标签:影响输出
| |--条纹(一个字符串,可多次使用)|
在生成“<name>.stripped”时传递给剥离的其他选项
双重的
标签:动作命令行,影响输出
(字符串;可多次使用)|
要传递给Swift编译的其他选项。
标签:action_命令行
| |--symlink_前缀(一个字符串;默认值:请参见说明)|
加在任何方便符号链接前面的前缀
在构建之后创建。如果省略,则默认值为的名称
构建工具,后跟一个连字符。如果传递了“/”,则没有符号链接
已创建,且不发出任何警告。警告:功能中的特殊功能
‘/’很快就会被弃用;使用| |--实验性方便的符号链接=忽略
替代
标签:影响输出
| |--tvos_cpus(以逗号分隔的选项列表;可多次使用)|
以逗号分隔的构建苹果tvOS的架构列表
一双
标签:失去增量状态、加载和分析
| |--tvos_minimum_os(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
针对目标模拟器和设备的最小兼容tvOS版本。如果
未指定,使用“tvos_sdk_version”。
标记:los_增量状态
| |--watchos_cpus(以逗号分隔的选项列表;可多次使用)|
以逗号分隔的构建苹果watchOS的架构列表
一双
标签:失去增量状态、加载和分析
| |--watchos_minimum_os(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
针对目标模拟器和设备的最小兼容watchOS版本。如果
未指定,使用“watchos_sdk_version”。
标记:los_增量状态
| |--xbinary_fdo(构建目标标签;默认值:请参见说明)|
使用XbinaryFDO配置文件信息来优化编译。指定
默认交叉二进制配置文件的名称。当该选项与
| |--fdo_instrument/| |--fdo_optimize/| |--fdo_profile,这些选项将总是如此
盛行,就好像xbinary_fdo从未被指定一样。
标签:影响输出

影响Bazel严格执行有效构建输入的程度的选项(规则定义、标志组合等)|。:
| |--auto_cpu_environment_group(构建目标标签;默认值:“”)
声明要用于自动映射cpu值的环境组
目标环境值。
标签:更改输入,加载和分析,实验性的
| |--[no]check_许可证(一个布尔值;默认值:“false”)|
检查由依赖的软件包所施加的许可限制是否没有
与正在建设的目标的分配模式相冲突。默认情况下,
不检查许可证。
标签:构建_file_语义
| |--[no]check_可见性(一个布尔值;默认值:“true”)|
如果禁用,可见性错误将降级为警告。
标签:构建_file_语义
| |--[没有]desugar_for_android(一个布尔值;默认值:“true”)|
是否在索引之前删除Java 8字节码。
标签:影响输出,加载和分析,失去增量状态
| |--[no]强制约束(一个布尔值;默认值:“true”)|
检查每个目标是否兼容的环境并报告错误
如果任何目标有不支持相同环境的依赖关系
标签:构建_file_语义
| |--[no]experimental_allow_android_library_deps_without_srcs(一个布尔值;默认值:“false”)|
帮助从允许过渡到不允许无srcs的标志
带有deps的android_库规则。仓库需要清理干净才能滚动
默认情况下是这样的。
标签:渴望退出,加载和分析
| |--[没有]experimental_check_desugar_deps(一个布尔值;默认值:“true”)|
是否在安卓二进制级别再次检查正确的删除。
标签:渴望退出,加载和分析,实验性的
| |--[没有]experimental_desugar_java8_libs(一个布尔值;默认值:“false”)|
是否在遗留设备的应用程序中包含受支持的Java 8库。
标签:影响输出,加载和分析,失去增量状态,
根据实验的
| |--experimental_import_deps_checking(关闭、警告或错误;默认值:“OFF”)|
启用后,请检查aar_import的依赖项是否完成。
这种强制可能会破坏构建,或者可能导致警告。
标签:加载和分析
| |--[no]experimental_java_proto_add_allowed_public_imports(一个布尔值;默认值:“false”)|
如果为true,则将允许pavra_导入到java编译操作。
标签:影响输出,加载和分析,实验性的
| |--实验存储库的文件(一个字符串;默认值:“”)|
如果为非空,则指定一个包含已解析值的文件
应该验证存储库目录中的哈希值
标签:影响_输出的,实验性的
| |--experimental_strict_java_deps(关闭、警告、错误、严格或默认值;默认值:“默认值”)|
如果为true,则检查Java目标是否显式声明所有直接使用
目标作为依赖关系。
标签:构建文件的语义,渴望退出
| |--实验验证规则(一个字符串;可以多次使用)|
如果与输出目录的哈希值对应的存储库规则的列表
如果由| |--指定文件,应进行验证
实验存储文件。
标签:影响_输出的,实验性的
| |--[no]incompatible_disable_native_android_rules(一个布尔值;默认值:“false”)|
如果启用,则将禁用本机Android规则的直接使用。请
使用来自https://github的星云雀安卓规则。
com/火箭构建/规则android
标签:渴望退出,不兼容的改变
| |--[no]incompatible_disable_native_apple_binary_rule(一个布尔值;默认值:“false”)|
如果启用,将禁用直接使用本机appape_二进制规则。
请使用https://github.com/bazelbuild/rules_apple提供的星雀规则
替代
标签:渴望退出,不兼容的改变
| |--[no]incompatible_force_strict_header_check_from_starlark(一个布尔值;默认值:“true”)|
如果启用,请在Starlark API中设置严格的头检查
标签:加载和分析,更改输入,不兼容的更改
| |--[no]incompatible_validate_top_level_header_inclusions(一个布尔值;默认值:“true”)|
如果为true,Bazel还将验证顶级目录头包含
(有关更多信息,请参见https://github.com/bazelbuild/bazel/issues/10047)|。
标签:加载和分析,不兼容的更改
| |--[没有]strict_filesets(一个布尔值;默认值:“false”)|
如果启用了此选项,则跨越程序包边界的文件集将为
报告为错误。它不能在正常工作时
check_fileset_dependencies_recursively已被禁用。
标签:构建文件的语义,渴望退出
| |--strict_proto_deps(关闭、警告、错误、严格或默认;默认值:“错误”)|
除非OFF,否则检查原始库目标是否显式地声明了all
直接使用目标作为依赖关系。
标签:构建文件的语义,渴望退出,不兼容的更改
| |--[no]严格的系统包括(一个布尔值;默认值:“false”)|
如果为真,通过系统找到的头包括路径(-半系统)|也是
需要申报。
标签:加载和分析,渴望退出
| |--目标环境(构建目标标签;可以多次使用)|
声明此构建的目标环境。必须是一个标签引用到一个
“环境”规则。如果指定,则所有顶级目标都必须兼容
与此环境。
标签:更改输入

影响构建的签名输出的选项:
| |--apk_signing_method(v1、v2、v1_v2或v4;默认值:“v1_v2”)|
用于签名apk的实现
标签:动作,命令行,影响输出,加载和分析
| |--[没有]设备_debug_权利(一个布尔值;默认值:“true”)|
如果设置,并且编译模式不是“opt”,objc应用程序将包括调试
签名时的权利。
标签:更改输入
| |--ios_signing_cert_name(一个字符串;默认值:请参见说明)|
用于iOS签名的证书名称。如果没有设置,将会回落到
配置文件。可能是证书的键链标识首选项
或(子字符串)|的证书的公共名称,根据共同设计的手册页
(签名身份)|。
标签:action_命令行

此选项会影响Starlark语言的语义,或可访问的构建文件、.bzl文件或工作空间文件的构建API。:
| |--[没有]实验动作资源集(一个布尔值;默认值:“true”)|
如果设置为true,则ctx.actions.run()|和ctx.actions.run_shell()|接受a
seruce_set参数。否则,它将默认为
250 MB的内存和1个cpu。
标签:执行,build_file_语义,实验性的
| |--[没有]实验_允许_tags_传播(一个布尔值;默认值:“false”)|
如果设置为true,标记将从目标传播到操作‘
执行要求;否则,将不会传播标记。参见https:
//github.com/bazelbuild/bazel/issues/8830的细节。
标签:build_file_语义,实验性的
| |--[没有]实验分析_test_call(一个布尔值;默认值:“真”)|
如果设置为true,则snaray_test本机调用可用。
标签:加载和分析,构建文件的语义,实验性的
| |--[没有]experimental_cc_shared_library(一个布尔值;默认值:“false”)|
如果设置为true,则需要的规则属性和Starlark API方法
规则cc_shared_library将会可用
标签:构建文件的语义,加载和分析,实验性的
| |--[no]实验禁用外部包(布尔值;默认值:“false”)|
如果设置为true,则自动生成的//外部程序包将不可用
再Bazel仍然将无法解析文件“外部/构建”,但是
全球进入外部/从未命名的包将工作。
标签:加载和分析,失去增量状态,实验状态
| |--[no]experimental_enable_android_migration_apis(一个布尔值;默认值:“false”)|
如果设置为true,则启用支持安卓星雀所需的api
迁移
标签:构建_file_语义
| |--[没有]experimental_google_legacy_api(一个布尔值;默认值:“false”)|
如果设置为真,就暴露了一些星雀建造的实验片段
有关谷歌遗留代码的API。
标签:加载和分析,实验性的
| |--[没有]实验性的_ninja_动作(一个布尔值;默认值:“balse”)|
如果设置为true,则启用忍者执行功能。
标签:bazel_内部配置,实验性的
| |--[没有]experimental_platforms_api(一个布尔值;默认值:“false”)|
如果设置为true,则使许多与平台相关的Starlarkapi有用
用于调试。
标签:加载和分析,实验性的
| |--[没有]实验_repo_remote_exec(布尔值;默认值:“false”)|
如果设置为true,resturt_rule将获得一些远程执行功能。
标签:构建文件的语义,加载和分析,实验性的
| |--[没有]实验兄弟存储库布局(布尔值;默认值:“false”)|
如果设置为true,则非主存储库将作为到主存储库的符号链接种植
在执行根目录中的存储库。也就是说,所有的存储库都是直接的
$输出_base/执行_root目录的子项。这有它的一面
释放$输出_base/执行_root/__主__/外部的效果
真正的顶级“外部”目录。
标签:动作命令行,系统内部配置,
加载和分析,失去增量状态,实验状态
| |--[no]incompatible_always_check_depset_elements(一个布尔值;默认值:“true”)|
在所有构造函数中,检查添加到离移集的元素的有效性。
元素必须是不可变的,但历史上是依赖集(直接=…)|
构造函数忘记检查。在依赖集中使用元组而不是列表
成分详情请参见https://github.com/bazelbuild/bazel/issues/10313。
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_config_setting_private_default_visibility(一个布尔值;默认值:“false”)|
如果是incompatible_enforce_config_setting_visibility=false,,那么这是一个noop。
否则,如果这个标志是假的,任何没有显式的配置设置
可见性属性是公共的。如果此标志为真,
config_设置遵循与所有其他规则相同的可见性逻辑。看
https://github.com/bazelbuild/bazel/issues/12933.
标签:加载和分析,不兼容的更改
| |--[no]incompatible_depset_for_libraries_to_link_getter(一个布尔值;默认值:“true”)|
当为true时,Bazel不再从link_上下文返回列表。
但返回一个依赖集。
标签:加载和分析,不兼容的更改
| |--[没有]incompatible_disable_depset_items(一个布尔值;默认值:“true”)|
如果设置为true,则禁用移集构造函数的“items”参数。
使用“传递”和“直接”参数来代替。
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_disable_target_provider_fields(一个布尔值;默认值:“false”)|
如果设置为true,则禁用访问“目标”对象上的提供程序的能力
通过字段语法。请改用提供程序密钥语法。例如,而不是
使用`ctx.attr.dep.my_info`从规则内部访问`my_info`
实现函数,使用`ctx.attr.dep[MyInfo]`。看到https://github。
详情见第9014版。
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_disable_third_party_license_checking(一个布尔值;默认值:“true”)|
如果为真,则禁用所有许可证检查逻辑
标签:build_file_语义,不兼容的更改
| |--[没有]不兼容_abpy_glob(布尔值;默认:“false”)|
如果设置为true,则`允许_eapby`参数
是假的。
标签:build_file_语义,不兼容的更改
| |--[没有]incompatible_disallow_legacy_javainfo(一个布尔值;默认值:“true”)|
已弃用。无操作。
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_disallow_legacy_py_provider(一个布尔值;默认值:“true”)|
如果设置为true,本机Python规则既不会产生也不会使用
遗留的“py”提供程序。使用PyInfo代替。在这个旗帜下,通过
对Python目标的遗留提供程序将是一个错误。
标签:加载和分析,不兼容的更改
| |--[no]incompatible_disallow_struct_provider_syntax(一个布尔值;默认值:“false”)|
如果设置为true,则规则实现函数可能不返回结构体。他们
而是必须返回一个提供程序实例的列表。
标签:build_file_语义,不兼容的更改
| |--[没有]不兼容_abale导出提供程序(布尔;默认值:“false”)|
此标志将启用导出提供程序和JavaInfo.transitive_exports调用。
标签:构建_file_语义,加载和分析,不兼容的更改
| |--[no]incompatible_enforce_config_setting_visibility(一个布尔值;默认值:“false”)|
如果为true,请强制执行config_设置可见性限制。如果是假的,每一个
配置设置对每个目标都是可见的。看到https://github。
com/bazelbuild/bazel/issues/12932.
标签:加载和分析,不兼容的更改
| |--[no]incompatible_existing_rules_immutable_view(一个布尔值;默认值:“false”)|
如果设置为true,则返回native.existing_rule和native.existing_rules
轻量级不可变视图对象,而不是可变的项。
标签:构建_file_语义,加载和分析,不兼容的更改
| |--[没有]不兼容的_java_comon_参数(布尔值;默认值:“true”)|
如果设置为true,ouput_jar和host_javabase参数
编译中的pack_source和host_javabase都将被删除。
标签:build_file_语义,不兼容的更改
| |--[没有]incompatible_linkopts_to_linklibs(一个布尔值;默认值:“true”)|
如果设置为true,则默认工具链中的默认链接选项将被传递为
链接库,而不是链接选项到cc_toolchain_config
标签:动作_命令行,不兼容的更改
| |--[没有]incompatible_new_actions_api(一个布尔值;默认值:“true”)|
如果设置为true,则要创建操作的API仅在`ctx上可用。
操作`,而不是`ctx`。
标签:build_file_语义,不兼容的更改
| |--[没有]incompatible_no_attr_license(一个布尔值;默认值:“true”)|
如果设置为true,则禁用功能`attr.许可`。
标签:build_file_语义,不兼容的更改
| |--[没有]不兼容的隐含的file导出(布尔值;默认值:“false”)|
如果设置,(使用的)|源文件是包私有的,除非导出
明白地看到https://github。
com/bazelbuild/proposals/blob/master/designs/2019-10-24-file-visibility.md
标签:build_file_语义,不兼容的更改
| |--[没有]incompatible_no_rule_outputs_param(一个布尔值;默认值:“false”)|
如果设置为true,则禁用`规则()|`星的`输出`参数
功能
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_require_linker_input_cc_api(一个布尔值;默认值:“true”)|
如果设置为true,规则创建_link_上下文将需要lenker_输入
而不是库to_link。链接_上下文的旧获取者也会这样做
被禁用,只有链接器_输入将可用。
标签:构建_file_语义,加载和分析,不兼容的更改
| |--[没有]不兼容_runl_shell_ocmand_字符串(布尔值;默认值:“真”)|
如果设置为true,则actions.run_shell的命令参数将只接受
细绳
标签:build_file_语义,不兼容的更改
| |--[没有]不兼容的_truct_没有方法(布尔值;默认值:“false”)|
禁用to_json和to_proto方法,污染
结构域名称空间。相反,使用json。编码或json.encode_indent
JSON,或proto.encode_text为文本原型。
标签:build_file_语义,不兼容的更改
| |--[no]incompatible_top_level_aspects_require_providers(一个布尔值;默认值:“false”)|
如果设置为true,顶级方面将尊重其要求的提供者和
只运行在其规则的顶级目标的广告提供者满足
需要该方面的提供者。
标签:加载和分析,不兼容的更改
| |--[no]incompatible_use_cc_configure_from_rules_cc(一个布尔值;默认值:“false”)|
当为真时,Bazel将不再允许使用@bazel_tools中的cc_configure。
详情请参见https://github.com/bazelbuild/bazel/issues/10134和
迁移说明。
标签:加载和分析,不兼容的更改
| |--[no]incompatible_visibility_private_attributes_at_definition(一个布尔值;默认值:“false”)|
如果设置为true,则将检查私有规则属性的可见性
尊重规则的定义,而不是规则的使用。
标签:build_file_语义,不兼容的更改
| |--max_computation_steps(一个长整数;默认值为“0”)|
a可以执行的星雀计算步骤的最大数目
生成文件(零表示没有限制)|。
标签:构建_file_语义
—嵌套_set_depth_limit(整数;默认值:“3500”)|
图内部的最大深度(也称为
在此之上,移集()|构造函数将失败。
标签:加载和分析

控制测试环境或测试运行器的行为的选项:
| |--[no]允许分析失败(一个布尔值;默认值:“false”)|
如果为真,则对规则目标的分析失败将导致目标的
一个包含错误的分析失败信息的实例的传播
描述,而不是导致构建失败。
标签:加载和分析,实验性的
| |--analysis_testing_deps_limit(一个整数;默认值:“800”)|
通过规则属性设置传递依赖关系的最大数目
用于分析测试的配置转换。超过这个限制
将导致一个规则错误。
标签:加载和分析
| |--[没有]break_build_on_parallel_dex2oat_failure(一个布尔值;默认值:“false”)|
如果真正的dex2燕麦行动失败将导致构建被破坏,而不是
在测试运行时执行dex2oat。
标签:加载和分析,实验性的
| |--[没有]check_test_up_to_更新(布尔值;默认为“false”)|
不要运行测试,只要检查它们是否是最新。如果所有测试结果
如果是最新的,则测试将成功完成。如果有任何测试需要
构建或执行时,报告错误,测试失败。这个
选项意味着-检查更新的行为。
使用此选项还将添加: | |--check_up_to_date
标签:执行
| |--[no]experimental_android_use_parallel_dex2oat(一个布尔值;默认值:“false”)|
同时使用dex2燕麦,以可能加快安卓测试的速度。
标签:加载和分析,主机机器,资源优化,
根据实验的
(一个正整数,字符串“默认”,或test_regex@尝试。此标志可以传递不止一次;可以多次使用)|
每个测试将被重试到指定的次数,以防发生
任何测试失败。需要多次尝试才能通过的测试是
在测试摘要中被标记为“不稳定的”。通常指定的值只是
一个整数或字符串“默认值”。如果是一个整数,则所有测试都将为
运行到N次。如果是“默认值”,那么将只有一次测试尝试
三个用于常规测试,三个用于明确标记为不稳定的测试
它们的规则(脆弱的=1属性)|。替代语法:
regex_过滤器@flaky_test_尝试。在哪里,不稳定的测试尝试如上面和
regex_filper表示包含和排除正则表达式的列表
模式(也请参见| |--run_per_test)|。例如:| |--flaky_test_尝试=//foo/。
*,-//foo/bar/.除酒吧下的测试外,所有测试都会了
三次。此选项可以传递多次。最近的
已传递的与之匹配的参数具有优先级。如果没有匹配,行为
就好像上面的“默认”。
标签:执行
| |--[没有]ios_memleaks(一个布尔值;默认值:“false”)|
启用检查ios_test目标中的内存泄漏。
标签:action_命令行
| |--ios_simulator_device(一个字符串;默认值:请参见说明)|
在模拟器中运行iOS应用程序时要模拟的设备,e。
g. 'iPhone6”。您可以通过运行“xcrunsimctl列表”来获得一个设备列表
模拟器将在机器上运行。
标签:test_runer
| |--ios_simulator_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
在运行或测试时,将在模拟器上运行的iOS版本。这是
如果在ios_test规则中指定了目标设备,则忽略ios_test规则。
标签:test_runer
| |--本地_test_jobs(一个整数或关键字(“auto”、“HOST_CPUS”、“HOST_RAM”)|,然后跟着一个操作([-|*]<float>)|。“auto”,“HOST_CPUS*。5”;默认:“auto”)|
要并发运行的本地测试作业的最大数量。取整数,或者
一个关键字(“auto”,“HOST_CPUS”,“HOST_RAM”)|,可选地后跟一个
操作([-|*]<float>)|例如。“自动”,“HOST_CPUS*.5”。0表示本地的
资源将限制并发运行的本地测试作业的数量
替代将其设置为大于| |--作业的值是无效的。
标签:执行
| |--运行_per_test(一个正整数或test_regex@运行。此标志可以传递不止一次;可以多次使用)|
指定运行每个测试的次数。如果其中任何一次这些尝试都失败了
无论由于什么原因,整个测试都被认为是失败的。通常值
指定的只是一个整数。=3将运行所有的测试
3次。替代语法:regex_过滤器@runs_per_test。其中runs_per_test
表示整数值,regex_fipper表示包含列表
并排除正则表达式模式(也请参见| |--
仪器)。示例:| |--run_per_test=//foo/.*、-//foo/bar/。*@3
除foo/bar下的测试外,在//foo/中运行所有测试三次。这个
选项可以传递多次。最近通过的论是
匹配优先。如果没有任何匹配,则测试只运行一次。
| |--test_env(具有可选值部分的“name=值”赋值;可多次使用)|
指定要注入到测试中的其他环境变量
跑步者的环境。变量可以通过名称来指定,其中
如果其值将从Bazel客户端环境中读取,或由
name=值对。此选项可以多次使用来指定多个
可变因素仅由“巴兹测试”命令使用。
标签:test_runer
| |--[没有]test_keep_前进(一个布尔值;默认值:“true”)|
当禁用时,任何不通过的测试都将导致整个构建停止。凭借
默认所有测试都会运行,即使有些测试没有通过。
标签:执行
| |--test_stlit(字符串;默认:“”)|
指定在运行测试时要使用的策略。
标签:执行
| |--test_timeout(单个整数或以逗号分隔的4个整数列表;默认值:“-1”)|
覆盖测试超时的默认测试超时值(以秒为单位)|。a,如果是a.
指定了单个正整数值,它将覆盖所有值
种类如果指定了4个以逗号分隔的整数,它们将会
覆盖短、中等、长和永恒的超时
次序在任何一种形式中,值-1都会告诉blare使用其默认值
该类别的超时。
| |--test_tmpdir(一个路径;默认值:请参见说明)|
指定要使用的“目标测试”的基本临时目录。
| |--tvos_simulator_device(一个字符串;默认值:请参见说明)|
在模拟器中运行tvOS应用程序时模拟的设备。
g. '苹果电视1080p”。您可以通过运行‘xcrun simctl来获得一个设备列表
在模拟器将在上面运行的机器上列出设备类型‘。
标签:test_runer
| |--tvos_simulator_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
在运行或测试时,要在模拟器上运行的tvOS的版本。
标签:test_runer
| |--watchos_simulator_device(一个字符串;默认值:请参见说明)|
当在中运行
模拟器,例如。“苹果手表-38毫米”。你可以通过
在机器上运行“xcrunsimctl列表设备类型”
继续前进。
标签:test_runer
| |--watchos_simulator_version(虚点版本(例如“2.3”或“3.3alpha2.4”)|;默认值:请参见描述)|
运行或测试时在模拟器上运行的watchOS版本。
标签:test_runer
| |--[没有]zip_undeclared_test_outputs(一个布尔值;默认值:“true”)|
如果为真,则未声明的测试输出将被归档在一个zip文件中。
标签:test_runer

触发生成时间优化的选项:
| |--[没有]折叠_重复_定义(一个布尔值;默认值:“false”)|
启用后,冗余| |--定义将在构建的早期被删除。这个
避免对某些类型的分析缓存的不必要丢失
等效构建。
标签:加载和分析,失去增量状态
| |--[没有]不同的_host_配置(一个布尔值;默认值:“true”)|
构建构建期间使用的所有工具
用于目标程序的那个程序。当它被禁用时,相同的
配置用于主机和目标程序。这可能导致
不需要的工具的重建,如协议编译器(然后
当你对目标做了一个小的改变时
配置,如设置链接器选项。当启用此选项时
(默认情况下)|,将使用一个不同的配置来构建工具,
防止不需要的重建。然而,某些库将需要这样做
将被编译两次,每次配置一次,这可能会导致一些构建
要慢一些。作为一个经验法则,这个选项很可能会使用户受益
在配置上频繁更改(例如opt/dbg)。请仔细阅读
并在用户手册上进行了完整的说明。
标签:失去增量状态,产品内部配置,
加载和分析
| |--[no]experimental_filter_library_jar_with_program_jar(一个布尔值;默认值:“false”)|
过滤ProGuard程序Jar,以删除中也存在的任何类
图书馆Jar。
标签:action_命令行
| |--[没有]experimental_inmemory_dotd_files(一个布尔值;默认值:“false”)|
如果启用,C++ .d文件将直接通过内存从
远程构建节点,而不是被写入磁盘。
标签:加载和分析,执行,影响输出,实验性的
| |--[没有]experimental_inmemory_jdeps_files(一个布尔值;默认值:“false”)|
如果启用,则从Java编译生成的依赖关系(.jdeps)|文件
将直接从远程构建节点在内存中传递吗
而不是被写入磁盘。
标签:加载和分析,执行,影响输出,实验性的
| |--[没有]experimental_objc_include_scanning(一个布尔值;默认值:“false”)|
是否进行包括客观C/C++扫描。
标签:加载和分析,执行,更改输入
| |--[no]experimental_parse_headers_skipped_if_corresponding_srcs_found(一个布尔值;默认值:“false”)|
如果启用,parse_heders特性不会创建单独的头
如果在相同的源中找到基名相同的源,则执行编译操作
目标
标签:加载和分析,影响输出
| |--[no]experimental_retain_test_configuration_across_testonly(一个布尔值;默认值:“false”)|
当启用时,—-trim_test_配置将不会修剪测试
标记为仅测试的=1的规则的配置。这就意味着要减少行动了
当非测试规则依赖于cc_test规则时,就会出现冲突问题。如果| |--无效
Trim_test_配置为假。
标签:加载和分析,失去增量状态
| |--[没有]experimental_starlark_cc_import(一个布尔值;默认值:“false”)|
如果启用,则可以使用星雀版本的cc_import。
标签:加载和分析,实验性的
| |--[no]incompatible_do_not_split_linking_cmdline(一个布尔值;默认值:“true”)|
当为真时,Bazel不再修改用于链接的命令行标志,
也不会有选择地决定哪些标记转到参数文件和
这不是。看到https://github.com/bazelbuild/bazel/issues/7670的信息
详述
标签:加载和分析,不兼容的更改
| |--[没有]增量_d索引(一个布尔值;默认值:“true”)|
为每个Jar文件分别执行索引的大部分工作。
标签:影响输出,加载和分析,失去增量状态
| |--[没有]保持state之后(布尔值;默认:“true”)|
如果为false,Blaze将丢弃此构建的内存状态
构建完成。后续的构建将不会有任何增量
尊重这个。
标记:los_增量状态
| |--[没有]objc_use_dotd_pruning(一个布尔值;默认值:“true”)|
如果设置,由clang发出的.d文件将被用于删除输入集
传入objc编译。
标签:更改输入、加载和分析
| |--[no]进程头依赖项(布尔值;默认值:“false”)|
在构建目标时,在所有目标中的进程头
这取决于(是否为工具链启用了标头处理)|。
标签:执行
| |--[没有]跟踪增量状态(一个布尔值;默认值:“true”)|
如果为false,Blaze将不会保留允许无效和重新的数据
对增量构建进行评估,以保存此构建上的内存。
后续的构建将不会对此有任何增量
一通常在设置为false时需要指定-batch。
标记:los_增量状态
| |--[no]trim_test_配置(一个布尔值;默认值:“true”)|
当启用时,与测试相关的选项将在的顶层以下被清除
构建。当此标志处于活动状态时,就不能将测试作为依赖项来构建
但是对测试相关选项的更改不会导致非
需要重新分析的测试规则。
标签:加载和分析,失去增量状态
| |--[没有]use_singlejar_apkbuilder(一个布尔值;默认值:“true”)|
此选项已被弃用。它现在是禁止操作的,很快将被删除。
标签:加载和分析

影响日志记录的详细度、格式或位置的选项:
| |--[no]宣布(一个布尔值;默认值:“false”)|
已弃用。无操作。
标签:影响输出
| |--[没有]announce_rc(一个布尔值;默认值:“false”)|
是否宣布rc选项。
标签:影响输出
| |--[没有]尝试打印相对路径(一个布尔值;默认值:“false”)|
在打印消息的位置部分时,请尝试使用相对的路径
到工作区目录或由| |--指定的目录之一
包路径。
标签:终端输出
| |--bes_backend(一个字符串;默认值:“”)|
在表单中指定生成事件服务(BES)|后端端点
主机的方案:端口。默认情况下是禁用BES上传。支持
方案是grpc和grpcs(启用TLS的grpc)|。如果没有方案是
前提是,Bazel假定为grpc。
标签:影响输出
| |--bes_header(“name=值”赋值;可以多次使用)|
在NAME=值表单中指定一个将包含在BES请求中的标头。
可以通过多次指定该标志来传递多个标头。
同名的多个值将转换为逗号分隔
清单
标签:影响输出
| |--bes_instance_name(一个字符串;默认值:请参见说明)|
指定BES将保存上载BEP的实例名称。
默认值为空。
标签:影响输出
| |--bes_keywords(以逗号分隔的选项列表;可多次使用)|
指定要添加的默认集的通知关键字的列表
发布到BES的关键字(“命令_name=<命令_name>”,
“roton_name=BEP”)。默认值为无。
标签:影响输出
| |--[没有]bes_lifecycle_events(一个布尔值;默认值:“true”)|
指定是否发布BES生命周期事件。(默认值为“true”)|。
标签:影响输出
| |--bes_outerr_buffer_size(一个整数;默认值:“10240”)|
指定要在BEP中缓冲的标准输出或标准器的最大大小,
在其报告为进度事件之前。个人写作仍然是
在单个事件中报告,即使大于指定的值高达| |--
bes_outerr_chunk_size .
标签:影响输出
| |--bes_outerr_chunk_size(一个整数;默认值:“1048576”)|
指定要发送到BEP的标准输出或标准输出的最大大小
单个消息。
标签:影响输出
| |--bes_proxy(一个字符串;默认值:请参见说明)|
通过代理连接到生成事件服务。目前这个标志可以
仅用于配置Unix域套接字(unix:/path/到/套接字)|| |--bes_results_url(一个字符串;默认值:“”)|
指定用户可以在其中查看流传输到的信息的基本URL
BES后端。Bazel将输出调用id附加的URL
终端。
标签:终端输出
| |--bes_timeout(一个不可改变的时间长度。;默认值:“0s”)|
指定目标用户要等待BES/BEP上传完成的时间
在构建和测试完成后。有效的超时是自然的
数字后跟一个单位:天(d)、小时(h)、分钟(m)、秒(s)、
和毫秒(毫秒)|。默认值为“0”,这意味着有
没有超时。
标签:影响输出
| |--build_event_diban_file(一个字符串;默认值:“”)|
如果非空,则写入以varint分隔的二进制表示法
对该文件的构建事件协议的表示法。此选项
暗示| |--bes_upload_mode=等待上传完成。
使用此选项还将添加: | |--
bes_upload_mode=等待_上传_完成
标签:影响输出
| |--[没有]构建事件_二进制_file_pith_转换(布尔值;默认值:“true”)|
转换构建事件协议的二进制文件表示形式中的路径
尽可能使用更全局有效的uri;如果禁用,文件://uri
方案将始终被使用
标签:影响输出
| |--build_event_json_file(一个字符串;默认值:“”)|
如果非空,则写入构建事件协议的JSON序列化
那个文件。
标签:影响输出
| |--[没有]build_event_json_file_path_conversion(一个布尔值;默认值:“true”)|
转换构建事件协议的json文件表示形式中的路径
尽可能使用更全局有效的uri;如果禁用,文件://uri
方案将始终被使用
标签:影响输出
| |--build_event_max_named_set_of_file_entries(一个整数;默认值:“-1”)
单个命名为_set_of_files的事件的最大条目数;值
小于2,并且不执行事件分割。这是
旨在用于限制构建事件协议中的最大事件大小,
尽管它并不直接控制事件的大小。事件大小为
集合的结构以及文件和uri长度,
这反过来可能取决于哈希函数。
标签:影响输出
| |--[no]构建事件发布所有动作(布尔值;默认值:“false”)|
是否应发布所有操作。
标签:影响输出
| |--build_event_text_file(一个字符串;默认值:“”)|
如果非空,则编写构建事件协议的文本表示
那个文件
标签:影响输出
| |--[没有]构建_vext_text_fite转换(布尔值;默认值:“true”)|
转换构建事件协议的文本文件表示形式中的路径
尽可能使用更全局有效的uri;如果禁用,文件://uri
方案将始终被使用
标签:影响输出
| |--[no]实验宣布文件路径(布尔值;默认值:“false”)|
如果已启用,则会将JSON配置文件路径添加到日志中。
标签:影响输出,产品监控
| |--[没有]experimental_bep_target_summary(一个布尔值;默认值:“false”)|
是否发布目标摘要事件。
| |--[no]experimental_build_event_expand_filesets(一个布尔值;默认值:“false”)|
如果为true,则在呈现输出文件时,在BEP中展开“文件集。
标签:影响输出
| |--[no]experimental_build_event_fully_resolve_fileset_symlinks(一个布尔值;默认值:“false”)|
如果为真,则在表示时完全解析BEP中的相对文件集符号链接
输出文件。需要| |--experimental_build_event_expand_filesets。
标签:影响输出
实验构建策略(字符串;默认值:请参见描述)|
选择如何上传在构建事件协议中引用的工件。
标签:影响输出
| |--[no]experimental_materialize_param_files_directly(一个布尔值;默认值:“false”)|
如果正在实现参数文件,请直接写入磁盘。
标签:执行
| |--实验配置文件附加任务(阶段、动作、动作检查、动作锁定、动作锁定、动作释放、动作更新、动作完成、信息、创建包、远程执行、本地执行、扫描仪、本地解析、上传时间、进程时间、远程队列、远程设置、获取,vfs_stat,vfs_dir,vfs_readlink,vfs_md5,vfs_xattr,vfs_delete,vfs_open,vfs_read,vfs_write,vfs_glob,vfs_vmfs_stat,vfs_vmfs_dir,vfs_vmfs_read,等待、线程名、线程名、线程索引、skyframe_eval、天空函数、关键路径、关键路径、关键路径组件、handle_gc_notification、动作计数,local_cpu_usage,system_cpu_usage,本地内存使用情况,系统内存使用情况、starlark_parser、starlark_user_fn、starlark_builtin_fn、starlark_user_compiled_fn、starlark_repository_fn、action_fs_staging、远程缓存检查、远程下载、远程网络、filesystem_traversal、工作执行、工作设置、工作借用、工作工作、工作复制输出或未知;可以多次使用)
指定要包含在该配置文件中的其他配置文件任务。
标签:影响输出,产品监控
| |--[no]experimental_profile_include_primary_output(一个布尔值;默认值:“false”)|
在包含exec的动作事件中包含额外的“out”属性
到操作的主要输出的路径。
标签:影响输出,产品监控
| |--[no]experimental_profile_include_target_label(一个布尔值;默认值:“false”)|
在操作事件的JSON配置文件数据中包含目标标签。
标签:影响输出,产品监控
| |--[no]experimental_record_metrics_for_all_mnemonics(一个布尔值;默认值:“false”)|
默认情况下,动作类型的数量被限制为20个助记符与
已执行的最多操作数。设置此选项将被写入
所有助记符的统计数据。
(一个字符串;默认值:“”)|
如果非空,用所有的解析信息写一个星雀值
执行的星存储库规则。
标签:影响输出
| |--[no]实验流日志文件上传(布尔值;默认值:“false”)|
流日志文件直接上传到远程存储,而不是写入
它们到磁盘。
标签:影响输出
| |--实验性_工作空间_rules_log_file(路径;默认值:请参见说明)|
将某些工作区规则事件按分隔符记录到此文件中
工作空间事件协议。
| |--解释(默认路径:请参见说明)|
使构建系统解释构建的每个执行步骤。这个
该说明将被写入到指定的日志文件中。
标签:影响输出
| |--[]generate_json_trace_profile(三状态(自动,是,否)|;默认值:“自动”)|
如果启用,Bazel将配置生成文件并将JSON格式配置文件写入
输出基中的一个文件。通过加载到镀铬/跟踪中来查看配置文件。
默认情况下,Bazel为所有类似构建的命令和查询写入配置文件。
标签:影响输出,产品监控
| |--[没有]heap_dump_on_oom(一个布尔值;默认值:“false”)|
如果抛出了OOM,是否手动输出堆转储(包括OOM
由于| |--| |--| |--| |---experimental_oom_more_eagerly_threshold)。转储程序将被写入
到<output_base>/<invocation_id>.heapdump.hprof。这个选项有效
替换-XX:+堆储内存错误,它没有效果,因为OOMs
被捕获并被重定向到运行时#停止。
标签:bazel_监控
| |--[没有]遗留重要输出(布尔值;默认值:“true”)|
使用它来抑制生成遗留的重要输出字段
目标完成事件。
标签:影响输出
| |--日志记录(0 <=,一个整数<= 6;默认值:“3”)|
日志记录级别。
标签:影响输出
| |--[没有]materialize_param_files(一个布尔值;默认值:“false”)|
将中间参数文件写入输出树,即使是使用远程文件
操作执行。调试操作时有用。这是由| |--所暗示的
子命令和| |--| |--| |--详细的失败。
标签:执行
| |--max_config_changes_to_show(一个整数;默认值:“3”)|
当由于生成选项中的更改而丢弃分析缓存时,
显示给定数量的更改选项名称。如果数字
如果为-1,将显示所有更改的选项。
标签:终端输出
| |--max_test_output_bytes(一个整数;默认值:“-1”)
指定-test_sumat时可以发出的最大每个测试日志大小
是“错误”或“全部”。对于避免淹没输出很有用
测试输出噪声过大。测试标头包含在日志大小中。
负值表示没有限制。输出是全部或没有全部。
标签:测试运行器,终端输出,执行
内存配置文件稳定堆堆参数(两个整数,用逗号分隔;默认值:“1,0”)|
在构建结束时,调整内存配置文件对稳定堆的计算。应该是
用逗号分隔的两个整数。第一个参数是gc的数量
执行第二个参数是在gc之间等待的秒数。
标签:bazel_监控
| |--Poput_fiper(有效Java正则表达式;默认:参见说明)|
仅显示名称与提供的规则匹配的规则的警告
表达
标签:影响输出
| |--配置文件(一个路径;默认值:请参见说明)|
如果设置,则配置Bazel并将数据写入指定的文件。使用火箭弹
分析轮廓来分析轮廓。
标签:影响输出,产品监控
| |--进度间隔(0-3600范围内的整数;默认值:“0”)|
在仍在运行的作业的两个报告之间等待的秒数。
默认值0表示要使用默认的10:30:60增量算法。
标签:影响输出
| |--远程打印执行消息(失败、成功或全部;默认值:“失败”)|
选择何时打印远程执行消息。有效值为`故障`,
只在失败时打印,`成功`只在成功时打印,`所有`
始终打印。
标签:终端输出
| |--show_rusurt(一个整数;默认值:“1”)|
显示构建的结果。对于每个目标,说明它是否存在
是最新的,如果是,则是生成的输出文件列表。
打印的文件是方便的字符串复制+粘贴到外壳,到
执行它们。
此选项需要一个整数参数,它的阈值数为
在上面不打印结果信息的目标。因此零原因
抑制信息和MAX_INT会导致打印结果到
总是发生。默认值为1。
标签:影响输出
| |--[no]slim_配置文件(一个布尔值;默认值:“true”)|
通过合并配置文件中的事件来缩小JSON配置文件的大小
变得太大。
标签:影响输出,产品监控
| |--starlark_cpu_profile(一个字符串;默认值:“”)|
在指定的文件中写入所有星雀的CPU使用情况的个人配置文件
线
标签:bazel_监控
| |--[no]子命令[-s](真、漂亮、print或palse;默认值:“false”)|
显示在构建期间执行的子命令。
标签:终端输出
| |--test_poppurt(摘要、错误、全部或流;默认:“摘要”)|
指定所需的输出模式。有效值仅为“输出”汇总
测试状态摘要,“错误”也打印失败测试的测试日志,
“所有”打印所有测试的日志,“流”输出所有测试的日志
实时测试(这将迫使测试在本地执行一个
时间,而不管| |--| |---test_策略的值如何)。
标签:测试运行器,终端输出,执行
| |--test_摘要(简短、简洁、详细、无或测试案例;默认值:“短”)|
指定测试摘要的所需格式。有效值为“短”
只打印有关已执行测试的信息,“简洁”,要打印
仅关于运行的不成功测试的信息,“详细”到
打印有关失败的测试用例的详细信息,并打印“无”以省略
摘要
标签:终端输出
| |--tool_tag(一个字符串;默认值:“”)|
将此Bazel调用属性的工具名称。
标签:影响输出,产品监控
| |--toolchain_resolution_debug(一个以逗号分隔的正则表达式表达式列表,前缀为“-”,指定已排除的路径;默认值:“-。*")
在工具链解析期间打印调试信息。国旗需要一个
正则表达式,它将根据工具链类型和特定目标进行检查
调试。多个正则表达式可以用逗号分隔,然后每个
正则表达式是单独检查的。注意:此标志的输出非常复杂
而且很可能只对工具链解析方面的专家有用。
标签:终端输出
| |--ui_event_filters(将逗号分隔的事件类型列表转换为过滤器列表;可多次使用)|
指定要在UI中显示的事件。可以添加或删除
事件使用领先的+/-转换到默认事件,或覆盖默认集
完全与直接分配。受支持的事件类型集包括
信息、调试、错误等等。
标签:终端输出
| |--[没有]详细解释(布尔值;默认值:“false”)|
如果启用| |--解释,则增加发出的解释的冗长。
如果未启用| |--解释,则不起作用。
标签:影响输出
| |--[没有]详细的失败(一个布尔值;默认值:“false”)|
如果一个命令失败,请打印出完整的命令行。
标签:终端输出

指定或更改不属于其他类别的Bazel命令的通用输入的选项。:
| |--experimental_resolved_file_instead_of_workspace(一个字符串;默认值:“”)|
如果为非空,请读取指定的解析文件,而不是工作区文件
标签:更改输入
| |--flag_alias(“name=值”标志别名;可以多次使用)|
设置一个星雀旗的速记名称。它需要一个单个键值对
以形式“<key>=<value>”作为参数。
标签:更改输入
| |--[no]incompatible_default_to_explicit_init_py(一个布尔值;默认值:“false”)|
此标志更改默认行为,使__init__.py文件没有
自动在Python目标的运行文件中自动创建。准确地说,
当一个py_binary或py_test目标的legacy_create_init设置为“auto”时
(默认情况)|,当且仅当设置此标志时,被视为false。看
https://github.com/bazelbuild/bazel/issues/10076.
标签:影响的输出,不兼容的更改
| |--[没有]incompatible_py2_outputs_are_suffixed(一个布尔值;默认值:“true”)|
如果为true,Python2配置中内置的目标将出现在一个
输出根,包括后缀‘-py2’,而为Python构建的目标
3将出现在一个没有与python相关的后缀的根目录中。这意味着
``-bin`方便符号链接将指向Python 3目标而不是
Python 2。如果您启用此选项,那么还建议启用`| |--
incompatible_py3_is_default` .
标签:影响的输出,不兼容的更改
| |--[没有]incompatible_py3_is_default(一个布尔值;默认值:“true”)|
如果为真,则`py_binary``py_test`的目标没有设置它们的
`版本`(或`默认版本`|属性将默认为
PY3而不是PY2。如果设置了此标志,还建议进行设置
` | |-- incompatible_py2_outputs_are_suffixed` .
标签:加载和分析,影响输出,不兼容的更改
| |--[没有]incompatible_use_python_toolchains(一个布尔值;默认值:“true”)|
如果设置为true,则可执行的本地Python规则将使用Python运行时
由Python工具链指定,而不是由遗留版本提供的运行时
像python_top这样的旗帜。
标签:加载和分析,不兼容的更改
| |--计算机系统版本(PY2或PY3;默认值:请参见说明)|
Python主要版本模式,`PY2``PY3`。请注意,这是
被`py_binary``py_test`的目标所覆盖(即使他们没有
显式地指定一个版本),所以通常没有太多的理由来提供
这个标志。
标签:加载和分析,影响输出
| |--torget_tatel_file(字符串;默认值:“”)|
如果设置,构建将从这里命名的文件中读取模式,而不是打开
命令行。在这里指定一个文件是一个错误的,以及命令-
线模式。
标签:更改输入

远程高速缓存和执行选项:
实验下载配置(字符串;默认值:参见说明)|
指定一个用来配置远程下载器的文件。此文件包括
每一个行都以一个指令开始(`允许````重写`),后面跟着一个主机名(对于`允许```|或或两个
模式,一个与匹配,和一个用作替代URL,与
反向引用从`$1`开始。可以对多个`重写`
提供相同URL的指令,在这种情况下,多个URL将
返回。
| |--[no]experimental_guard_against_concurrent_changes(一个布尔值;默认值:“false”)|
关闭此选项以禁用检查操作的输入文件的ctime
在将其上传到远程缓存之前。可能存在Linux
内核会延迟文件的写入,这可能会导致误报。
| |--[没有]experimental_remote_cache_async(一个布尔值;默认值:“false”)|
如果为真,远程缓存I/O将在后台发生,而不是采取
作为产卵的一部分。
| |--[没有]实验远程压缩(布尔值;默认值:“false”)|
如果启用,请使用zstd压缩/解压缩缓存斑块。
| |--experimental_remote_capture_corrupted_outputs(一个路径;默认值:请参见说明)|
指向已损坏的输出将被捕获到的目录的路径。
—实验_remote_下载器(字符串;默认:参见说明)|
一个远程资产API端点URI,将用作远程下载代理。这个
支持的模式包括grpc、grpcs(启用TLS的grpc)|和unix(本地
UNIX插槽)。如果没有提供模式,Bazel将默认为grpcs。看
https://github.com/bazelbuild/remote-
apis/blob/master/build/bazel/remote/asset/v1/remote_asset.proto
| |--[没有]experimental_remote_execution_keepalive(一个布尔值;默认值:“false”)|
是否使用保持进行远程执行调用。
| |--experimental_remote_grpc_log(一个路径;默认值:请参见说明)|
如果指定,则一个文件的路径来记录gRPC调用相关的详细信息。此日志
由一个序列化的com.google.devtools.build.lib.remote序列组成。
伐木搬运业删除执行日志。每个消息的前缀为
表示以下序列化原对象消息的大小,如
由方法LogEntry.writeDelimitedTo(输出流)|执行。
| |--[no]实验远程缓存(布尔值;默认值:“false”)|
如果设置为true,Merkle树的计算将被记忆以改进
远程高速缓存命中检查速度。高速缓存的内存足迹为
由实验远程树树大小控制。
| |--实验性的远程数据数据大小(一个长整数;默认值:“1000”)|
用来记忆以改善远程缓存命中的Merkle树的数量
检查速度。即使高速缓存是自动修剪根据
Java对软引用的处理,可能会发生内存不足错误
太高如果设置为0,则高速缓存的大小是无限的。最优值变化
取决于项目的大小。默认为1000。
| |--[no]incompatible_remote_build_event_upload_respect_no_cache(一个布尔值;默认值:“false”)|
如果设置为true,则由BEP引用的输出不会上传到远程缓存
如果无法远程缓存生成操作。
| |--[no]incompatible_remote_output_paths_relative_to_input_root(一个布尔值;默认值:“false”)|
如果设置为true,则输出路径相对于输入根,而不是工作
通讯录
标签:不兼容_更改
| |--[没有]不兼容的远程结果忽略磁盘(布尔值;默认值:“false”)|
如果设置为true,| |--noremote_upload_local_results和| |--
noremote_accept_cached将不适用于磁盘高速缓存。如果一个组合
使用缓存:
| |--noremote_upload_local_results将导致结果被写入到
磁盘缓存,但未上传到远程缓存。
| |--noremote_accept_cached将导致Bazel检查的结果在
磁盘缓存,但不在远程缓存中。
无远程执行操作可以命中磁盘缓存。
详见#8216。
标签:不兼容_更改
| |--[no]远程接受缓存(一个布尔值;默认值:“true”)|
是否接受远程缓存的操作结果。
| |--remote_bytestream_uri_prefix(一个字符串;默认值:请参见说明)|
要在字节流://uri中使用的主机名和实例名称
已被写入到构建事件流中。此选项可以在构建为时进行设置
使用代理执行,这会导致| |--远程执行器和| |--的值
的规范名称
远程执行服务。当未设置时,它将默认为“${主机名}”
/${instance_name}".
| |--remote_cache(一个字符串;默认值:请参见说明)|
一个高速缓存端点的URI。支持的模式是http、https、grpc、
Grpcs(启用了TLS的Grpc)|和unix(本地unix套接字)|。如果没有模式
所提供的Bazel将默认为grpcs。请指定grpc://、http://或unix:
要禁用TLS的模式。请看到“https://docs.bazel.build/versions/main/remote-”
caching.html
| |--远程_cache_hame=值的赋值;可以多次使用)|
指定一个将包含在高速缓存请求中的标头: | |--
远程cache_头=Name=值。可以传递多个标题
正在多次指定该标志。相同名称的多个值将会出现
被转换为以逗号分隔的列表。
| |--远程_delaule_exec_属性(“名称=值”赋值;可以多次使用)|
设置默认的exec属性,以用作远程执行平台
如果执行平台尚未设置exec_属性。
标签:影响输出
| |--远程默认的平台属性(一个字符串;默认值:“”)|
设置要为远程执行API设置的默认平台属性,
如果执行平台尚未设置远程执行属性。
如果选择主机平台,也将使用此值
用于远程执行的执行平台。
| |--远程下载头(“名称=值”分配;可以多次使用)|
指定一个将包含在远程下载器请求中的标头: | |--
远程下载器_标头=名称=值。可以传递多个标题
正在多次指定该标志。相同名称的多个值将会出现
被转换为以逗号分隔的列表。
| |--远程_exec_头(“name=值”赋值;可以多次使用)|
指定一个将包含在执行请求中的标头: | |--
远程exec_头=Name=值。可以通过指定来传递多个标头
标志多次。相同名称的多个值将是
转换为以逗号分隔的列表。
| |--远程执行优先级(一个整数;默认值:“0”)|
要远程执行的操作的相对优先级。的语义
特定的优先级值依赖于服务器。
| |--remote_Erester(字符串;默认:参见说明)|
主机或主机:远程执行端点的端口。支持的模式是
grpc、grpcs(启用TLS的Grpc)|和unix(本地unix套接字)|。“如果没有”
Bazel将默认为grpcs。指定grpc://或unix:
模式禁用TLS。
| |--远程标头(“name=值”赋值;可以多次使用)|
指定一个将包含在请求中的标头: | |--
letor_头=名称=值。可以通过指定的属性来传递多个标头
标记多次。相同名称的多个值将被转换为
逗号分隔的列表。
| |--远程_peast_name(字符串;默认:“”)|
在远程执行API中作为peant_name传递的值。
| |--[没有]远程本地回退(一个布尔值;默认值:“false”)|
如果是远程的,是否要回到独立的本地执行策略
执行失败。
| |--远程本地回调策略(一个字符串;默认值:“本地”)|
不支持,不建议使用。看到https://github.com/bazelbuild/bazel/issues/7480的信息
详述
| |--remote_max_connections(一个整数;默认值:“100”)|
限制对远程高速缓存/高速执行器的并发连接的最大数量。凭借
缺省值值为100。将此值设置为0表示没有任何限制。
对于HTTP远程缓存,一个TCP连接可以在一个请求上处理一个请求
时间,所以Bazel可以弥补| |--remote_max_connections并发
要求
对于gRPC远程缓存/执行器,一个gRPC通道通常可以处理100个+
并发请求,所以Bazel可以围绕`| |--remote_max_connections*
100`并发请求。
标签:主机_机器__资源优化
| |--remote_proxy(一个字符串;默认值:请参见说明)|
通过代理服务器连接到远程高速缓存。目前,这个标志只能做
用于配置Unix域套接字(Unix:/path/到/套接字)|。
| |--远程结果_高速缓存优先级(一个整数;默认值:“0”)|
要存储在远程高速缓存中的远程操作的相对优先级。这个
特定优先级值的语义依赖于服务器。
| |--远程重试次数(一个整数;默认值:“5”)|
重试瞬态错误的最大尝试次数。如果设置为0,
重试已禁用。
| |--远程超时时间(一个不可变的时间长度。;默认值:“60s”)|
等待远程执行和高速缓存调用的最长时间量。
对于REST高速缓存,这是连接超时和读取超时。
可使用以下单位:天(d)、小时(小时)|、分钟(m)、秒(秒)|、
和毫秒(毫秒)|。如果省略了该单位,则该值将被解释为
第二名
| |--[没有]远程上传本地结果(布尔值;默认值:“true”)|
是否将本地执行的操作结果上载到远程缓存。
| |--[没有]远程_verve_下载(布尔值;默认为“true”)|
如果设置为true,Bazel将计算所有远程下载的哈希和
如果远程缓存的值与预期的值不匹配,则丢弃它们
价值

杂项选项,没有其他分类。:
| |--所有不兼容的更改
无操作,正在被删除。请看到“https://github.com/bazelbuild/bazel/issues/13892”
标签: no_op,不兼容_更改
| |--auto_poppt_筛选器(无、全部、包或子包;默认:“无”)|
如果未指定| |--ouput_fipter,则使用此选项的值
自动创建过滤器。允许的值是“无”的
显示所有)|、“所有”(过滤所有/不显示)|、“包”
(包括在Blaze命令中提到的软件包中的规则的输出
和“子包”(像“包”,但也包括子包)|。
对于“包”和“子包”的值//java/foo和//脉波数据集/foo
被视为一个包裹)”。
| |--[no]构建_手动_测试(一个布尔值;默认值:“false”)|
要建立的标记为“手动”的强制测试目标。“手动”测试是
排除在处理之外。这个选项迫使人们构建它们(但不是
执行
| |--build_元数据(aname=值‘赋值;可以多次使用)|
要在构建事件中提供的自定义键值字符串对。
标签:终端输出
| |--build_tag_过滤器(以逗号分隔的选项列表;默认值:“”)|
指定以逗号分隔的标记列表。每个标签都可以被选择
前面带有“-”,以指定已排除的标记。只有这些目标才会实现
包含至少一个包含的标记且不包含任何标记
排除标签。此选项不影响与一起执行的测试集
“测试”命令;这些命令由测试过滤选项控制,
例如“| |--test_tag_filers”
| |--[没有]build_tests_(布尔值;默认为“false”)|
如果指定,将只构建*_test和test_suite规则
在命令行上指定的目标将被忽略。默认情况下
所要求的一切都将被建立起来。
| |--[否]缓存结果结果(三种状态(自动,是,否)|;默认值:“自动”)|
如果设置为“auto”,Bazel将在且仅当: (1) Bazel检测到时重新运行测试
测试或其依赖关系中的变化,(2)测试被标记为
外部,(3)请求使用-runs_per_test,或(4)
之前的测试失败。如果设置为“是”,Bazel将缓存所有测试结果
除了标记为外部的测试。如果设置为“no”,则Bazel将不进行缓存
任何测试结果。
| |--颜色(是、否或自动;默认值:“auto”)|
使用终端控制来为输出着色。
| |--合并_report(无或lcov;默认值:“无”)|
指定所需的累积覆盖率报告类型。此时只有LCOV
支持。
| |--[no]编译_one_依赖关系(一个布尔值;默认值:“false”)|
编译参数文件的单一依赖项。这对
语法检查ide中的源文件,例如,通过重建单个
依赖于源文件来检测错误的目标
可能在编辑/构建/测试周期中进行测试。这个论点影响了一切
非标志参数被解释;而不是成为构建它们的目标
是源文件名。对于每个源文件,请命名一个任意的目标
这取决于它是否会被建造起来。
| |--配置(一个字符串;可以多次使用)|
从rc文件中选择其他配置部分;对于每个<命令>,
它还从<命令>:>配置,如果这样的部分
存在;如果此部分不存在于任何.rc文件中,则Blaze将失败
错误配置部分和标志组合,它们是等价于的
位于tools/*.blazerc配置文件中。
| |--诅咒(是、否或自动;默认值:“自动”)|
使用终端光标控件来最小化滚动输出。
| |--已删除的_包(以逗号分隔的包名称列表;默认值:“”)
以逗号分隔的包名称列表,构建系统将
考虑不存在,即使它们在包上的某个地方可见
路线
在删除现有程序包的子包“x/y”时,请使用此选项
'x'.例如,在客户端中删除x/y/BUILD之后,build
如果系统仍然遇到标签‘//x:y/z’,系统可能会抱怨
由另一个pacap_path条目提供。指定-删除_packasx/y
避免了这个问题。
| |--[no]丢弃分析缓存(一个布尔值;默认值:“false”)|
在分析阶段完成后,立即丢弃分析缓存。
减少了10%的~内存使用,但会使进一步的增量构建变慢。
| |--disk_cache(一条路径;默认值:请参见说明)|
指向Bazel可以读写操作和操作的目录的路径
产量如果该目录不存在,则将创建该目录。
| |--embed_label(一行字符串;默认值:“”)
在二进制版本中嵌入源代码控制修订版或发布标签
| |--[no]启用平台特定的配置(一个布尔值;默认值:“false”)|
如果为真,Bazel将从bazelrc文件中获取特定于主机os的配置行。
例如,如果主机操作系统是Linux,并且您运行bazel构建,则bazel会选择
从构建开始: linux。支持的操作系统标识符是linux,
澳门人,窗户,免费的,和开放的。启用此标志相当于
使用| |--配置=Linux在Linux上,| |--配置窗口上的=窗口,等等。
| |--执行_log__diban_file(路径;默认值:请参见说明)|
将已执行的产卵作为分隔的产卵协议记录到这个文件中。
| |--execution_log_json_file(一个路径;默认值:请参见说明)|
将执行的生成作为的json表示记录到此文件中
分隔的产卵协议。
| |--[no]展开_test_套件(一个布尔值;默认值:“true”)|
在进行分析之前,将test_suite目标扩展到其组成测试中。
当打开此标志(默认值)|时,负目标模式将会
应用于属于该测试套件的测试,否则它们将不会应用。
当在中应用顶级方面时,关闭此标志很有用
命令行:然后他们可以分析test_suite目标。
标签:加载和分析
| |--[no]实验取消并发测试(一个布尔值;默认值:“false”)|
如果为true,则Blaze将取消对第一个测试进行并发运行的测试
成功运行。这只与| |--结合时才有用
runs_per_test_检测到薄片。
标签:影响输出、加载和分析
—实验凭证辅助程序(范围凭证辅助程序的(未解决)|路径。;可多次使用)|
配置凭据助手用于检索凭据
提供的范围(域)|。

凭据帮助的凭据优先于的凭据
<代码>-谷歌默认凭证</代码>,`-谷歌凭证`,或
<code>.netrc</code>.

请看到“https://github.com/bazelbuild/proposals/blob/main/designs/2022-06-07-”
bazel-credential-helpers.md的细节。
| |--experimental_credential_helper_cache_duration(一个不可变的时间长度。;默认值:“30m”)|
配置凭据助手的凭据的持续时间
贮藏
实验凭证助手超时(不可变的时间长度。;默认值:“5s”)|
配置凭据助手的超时时间。

在此超时内未能响应将失败
祈祷
| |--实验执行_log_file(路径;默认值:请参见说明)|
将已执行的产卵作为分隔的产卵协议记录到这个文件中。
| |--实验_extra_actiont_过滤器(一个以逗号分隔的正则表达式表达式列表,前缀为“-”,指定被排除的路径;默认:“”)|
不赞成赞成的方面。筛选要计划的目标集
的extra_操作。
| |--[no]experimental_extra_action_top_level_only(一个布尔值;默认值:“false”)|
不赞成赞成的方面。只为顶层安排额外的_操作
对象
| |--[没有]实验_fetch_所有覆盖输出(布尔值;默认值:“false”)|
如果为真,则Bazel获取每个目录的整个覆盖数据目录
在覆盖运行期间进行测试。
标签:影响输出、加载和分析
| |--[没有]experimental_generate_llvm_lcov(一个布尔值;默认值:“false”)|
如果为真,对clang的覆盖将生成一个LCOV报告。
标签:影响输出、加载和分析
| |--[没有]experimental_j2objc_header_map(一个布尔值;默认值:“true”)|
是否与J2ObjC剥离并行生成J2ObjC头图。
| |--[没有]experimental_j2objc_shorter_header_path(一个布尔值;默认值:“false”)|
是否生成与较短的头路径(使用“_ios”而不是
"_j2objc").
标签:影响输出
| |--experimental_java_classpath(关闭、组合或参数;默认值:“组合”)|
为Java编译启用简化的类路径。
| |--[no]experimental_limit_android_lint_to_android_constrained_java(一个布尔值;默认值:“false”)|
限制| |--与android兼容
图书馆
标签:影响输出
—实验局部执行延迟(整数;默认值:“1000”)|
如果是远程的,本地执行应该延迟多少毫秒
在构建期间执行速度至少快一次?
| |--[没有实验局部估计(布尔;默认值:“balse”)|
估计在线可用的实际内存。默认情况下,Blaze假设最多
动作使用固定数量的内存,并将其计入总数
可用的系统内存,而不管实际上有多少内存
可用的此选项允许在线估计内存的大小
在任何给定的时间都可用,因此不需要准确的估计
一个给定的动作将需要多少记忆。
| |--实验持久的javac
启用实验性的持久性Java编译器。
扩展到:| |--策略=Javac=工作人员| |--策略=JavaIjar=本地| |--
strategy=JavaDeployJar=local | |--strategy=JavaSourceJar=local | |--
strategy=Turbine=local
| |--[没有]实验持久test(布尔;默认值:“false”)|
允许在持久性工作程序中在本地运行java_test目标。向
启用持久测试运行器必须运行bazel测试与标志:
测试策略=本地策略=测试者=工作者| |--
实验持续测试器
| |--[no]experimental_run_android_lint_on_java_rules(一个布尔值;默认值:“false”)|
是否要验证java_*源代码。
标签:影响输出
| |--实验生成调度程序
通过在本地和远程操作中运行操作来启用动态执行
平行的Bazel在本地和远程生成每个动作,并选择其中一个
首先完成。如果一个行动支持工人,当地的行动将会支持工人
在持久性工作模式下运行。启用动态执行
个人动作助记符,使用`| |--内部_spawn_调度器``| |--
策略=<助记>=动态`标志。
扩展到:内部的衍生策略=动态
| |--[没有]experimental_windows_watchfs(一个布尔值;默认值:“false”)|
如果为真,则启用实验Windows支持。否则| |--
在窗户上监视一个不可操作的东西。确保也启用了手表。
| |--[没有]实验_worker_取消(一个布尔值;默认值:“false”)|
如果启用了该功能,Bazel可能会向支持它的员工发送取消请求
他们
标签:执行
| |--experimental_worker_max_multiplex_instances([name=]值,其中值是整数,或关键字(“auto”、“HOST_CPUS”、“HOST_RAM”)|,然后跟着一个操作([-|*]<float>)|。“auto”、“HOST_CPUS*.5”;可以多次使用)|
如果多路复工进程可以并行接收多少工作请求
你使用“工人”策略与实验工人复用。可能是
指定为[name=值],给每个工作助记符不同的值。
取一个整数,或一个关键字(“auto”、“HOST_CPUS”、“HOST_RAM”)|,
可选择之后执行一个操作([-|*]<float>)|,例如:“auto”、“HOST_CPUS*”。
5".“自动”会根据机器容量计算出一个合理的默认值。
“=值”为未指定的助记符设置了一个默认值。
标签:主机_机器__资源优化
| |--[没有]实验工作器(布尔值;默认:“true”)|
如果启用,支持实验性多路复用特性的工人将会得到支持
使用该功能。
| |--[没有]explicit_java_test_deps(一个布尔值;默认值:“false”)|
在java_test中显式地指定对JUnit或Hamcrest的依赖关系
不小心从测试者的地方获得的。仅适用于火箭弹
立即
(以逗号分隔的选项列表;默认值:“https://www.googleapis.com/auth/cloud-platform”)|
一个以逗号分隔的谷歌云身份验证范围的列表。
| |--google_凭据(一个字符串;默认值:请参见说明)|
指定要从中获取身份验证凭据的文件。参见https:
//cloud.google.com/docs/authentication的细节。
| |--[没有]谷歌默认凭证(一个布尔值;默认值:“false”)|
是否使用“谷歌应用程序默认凭据”进行身份验证。
详情请参见https://cloud.google.com/docs/authentication。禁用者
违约
| |--grpc_keepalive_time(一个不可改变的时间长度。;默认值:请参见描述)|
为传出的gRPC连接配置保持活动的管道。如果设置了这一点,
然后Bazel发送管道这么多时间后没有读操作
连接,但只有当至少有一个挂起的gRPC调用。时间是
视为第二粒度;设置小于1的值是错误的
第二默认情况下,将禁用保持活动的管道。你应该协调
在启用此设置之前,请先使用服务所有者。
| |--grpc_keepalive_timeout(一个不可改变的时间长度。;默认值:“20s”)|
为传出的gRPC连接配置一个保持活动的超时。如果保持
启用-grpc_keepalive_time,然后Bazel超时a
连接,如果它在这么长时间后没有收到一个ping回复。乘以
被视为第二粒度;设置一个值小于
一秒钟如果禁用保持活动管道,则忽略此设置。
| |--高优先级工作者(一个字符串;可以多次使用)|
高度优先运行的员工记忆符。当高优先级工人
所有其他的工人都被限制了。
| |--host_java_innter(生成目标标签;默认:参见说明)|
在构建期间执行的工具所使用的Java启动程序。
| |--host_javacopt(一个字符串;可多次使用)|
在构建被执行的工具时要传递给javac的其他选项
在构建过程中。
| |--host_jvmopt(一个字符串;可多次使用)|
在构建这些工具时要传递给Java VM的其他选项
在构建过程中执行。这些选项将被添加到VM启动中
每个java_二进制目标的选项。
| |--[没有]ignore_unsupported_sandboxing(一个布尔值;默认值:“false”)|
当此不支持沙箱执行时,请不要打印警告
体系
| |--[no]incompatible_dont_use_javasourceinfoprovider(一个布尔值;默认值:“false”)|
无操作
标签:不兼容_更改
| |--[没有]incompatible_exclusive_test_sandboxed(一个布尔值;默认值:“false”)|
如果为真,独家测试将使用沙箱策略运行。添加“本地”标签
强制本地运行
标签:不兼容_更改
| |--[没有]incompatible_strict_action_env(一个布尔值;默认值:“false”)|
如果为true,Bazel使用PATH静态值的环境
不继承LD_LIBRARY_PATH或TMPDIR。使用| |--| |--| |--| |--| |---action_env=ENV_VARIABLE,如果你
希望从客户端继承特定的环境变量,但请注意
如果使用了共享缓存,这样做可以防止跨用户缓存。
标签:加载和分析,不兼容的更改
| |--j2objc_translation_flags(以逗号分隔的选项列表;可多次使用)|
要传递给J2ObjC工具的其他选项。
| |--java_debug
导致Java测试的Java虚拟机等待连接
在开始测试之前,从一个兼容JDWP的调试器(如jdb)|开始测试。
意味着-test_outh=流。
扩展到:| |--test_arg=| |--包装器_script_flag=| |--调试| |--
test_输出=流-测试策略=独家-test_超时=9999| |--
nocache_test_results
| |--[没有]java_deps(一个布尔值;默认值:“true”)|
根据Java生成依赖项信息(目前,为编译时类路径)|
目标
| |--[没有]java_头编译(布尔值;默认值:“true”)|
直接从源代码编译ijar。
| |--java_lance_version(字符串;默认值:“8”)|
Java语言版本
| |--java_senter(构建目标标签;默认:参见说明)|
在构建Java二进制文件时使用的Java启动器。如果设置了此标志
对于空字符串,将使用JDK启动器。“启动器”属性
覆盖此标志。
| |--java_runtime_版本(一个字符串;默认值:“local_jdk”)|
Java运行时版本
| |--javacopt(一个字符串;可以多次使用)|
要传递给javac的其他选项。
| |--jvmopt(一个字符串;可以多次使用)|
要传递给Java VM的其他选项。这些选项将被添加到
每个java_二进制目标的VM启动选项。
| |--legacy_main_dex_list_generator(构建目标标签;默认值:请参见说明)|
指定要用于生成必须在中的类列表的二进制文件
在编译遗留的multidex时的主要dex。
| |--local_cpu_resources(一个整数,或“HOST_CPUS”,可选后跟[-|*]<float>。;默认值:“HOST_CPUS”)
显式地设置对Bazel可用的本地CPU线程的数量。采取一个
整数,或“HOST_CPUS”,可后跟着[-|*]<float>(例如。
HOST_CPUS*.5使用一半可用CPU核)。在默认情况下,
(“HOST_CPUS”)|,Bazel将查询系统配置,以估计的数量
CPU内核可用于本地执行的构建操作。注:这是一个
如果设置了本地资源,则不进行任何操作。
| |--local_ram_resources(一个整数,或“HOST_RAM”,可选后跟[-|*]<float>。;默认值:“HOST_RAM*.67”)
显式设置对Bazel可用的本地主机RAM(单位为MB)|的数量。
取一个整数,或“HOST_RAM”,后跟着[-|*]<float>(例如。
HOST_RAM*.5,使用可用内存的一半)。默认情况下,(“HOST_RAM*.67”)|,
Bazel将查询系统配置,以估计可用RAM的数量
对于本地执行的构建操作,并将使用67%的可用内存。
注意:如果设置了本地资源,这是一个无操作操作。
| |--本地终止宽限秒(一个整数;默认值:“15”)|
由于超时而终止本地进程和
强行关闭它。
| |--覆盖存储库(存储库名称到路径的等分隔映射,可以多次使用)|
使用本地目录覆盖存储库。
| |--包_path(以冒号分隔的选项列表;默认值:“%工作区%“)|
以冒号分隔的查找包的列表。元素开始
与“%工作区%”相对于封闭的工作区。如果省略或
空,默认是“bazel信息默认包路径”的输出。
| |--插件(一个构建目标标签,可以多次使用)|
要在构建中使用的插件。目前使用java_plugin。
| |--[no]进程在终端标题(布尔值;默认值:“false”)|
在终端标题中显示命令的进度。看看有什么问题很有用
当有多个终端选项卡时,正在执行。
| |--proguard_top(构建目标标签;默认值:请参见说明)|
指定在构建a时,要使用哪个版本的ProGuard来用于代码删除
Java二进制。
| |--proto_编译器(构建目标标签;默认:“@com_google_protobuf//:proroc”)|
原始编译器的标签。
标签:影响输出、加载和分析
| |--proto_toolchain_for_cc(构建目标标签;默认值:“@com_google_protobuf//:cc_toolchain”)|
proto_lang_toolchain()|的标签,它描述了如何编译C-++协议
标签:影响输出、加载和分析
| |--proto_toolchain_for_j2objc(一个构建目标标签;默认值:“@bazel_tools//tools/j2objc:j2objc_proto_toolchain”)|
proto_lang_toolchain()|的标签,它描述了如何编译j2objc协议
标签:影响输出、加载和分析
| |--proto_toolchain_for_java(构建目标标签;默认值:“@com_google_protobuf//:java_toolchain”)|
proto_lang_toolchain()|中描述如何编译Java协议的标签
标签:影响输出、加载和分析
| |--proto_toolchain_for_javalite(构建目标标签;默认值:“@com_google_protobuf//:javalite_toolchain”)|
proto_lang_toolchain()|的标签,它描述了如何编译JavaLite
协议
标签:影响输出、加载和分析
| |--副本(字符串,可多次使用)|
要传递给原数据库编译器的其他选项。
标签:影响输出
| |--[no运行检测片(布尔;默认:“false”)|
如果为真,则指任何至少有一次运行/尝试通过的碎片
一次运行/尝试失败将获得一个不稳定的状态。
| |--沙箱_add_mount_pair(单个路径或“源:目标”对;可以多次使用)|
添加要装载到沙箱中的其他路径对。
| |--沙箱_base(一个字符串;默认值:“”)|
允许沙箱在此路径下面创建其沙箱目录。
在tmpfs上指定一个路径(如/运行/shm)|,以可能提高性能a
当你的构建/测试有很多输入文件时。注意:你需要足够的
RAM和tmpfs上的可用空间来保存输出文件和中间文件
通过运行操作生成。
| |--sandbox_block_path(一个字符串;可以多次使用)|
对于沙箱操作,不允许访问此路径。
| |--[没有]沙箱_debug(一个布尔值;默认值:“false”)|
启用了沙箱功能的调试功能。这包括两个
事情:首先,在构建之后,沙箱的根内容保持不变
(如果正在使用沙箱,则保留安装文件系统)|;第二,
在执行时打印额外的调试信息。这可以帮助开发人员
Bazel或星雀规则由于缺少输入而调试失败
文件等。
| |--[没有]沙箱默认值允许网络(布尔值;默认值:“true”)|
默认情况下允许网络访问操作;这可能不适用于所有操作
沙箱实现。
| |--[没有]sandbox_fake_hostname(一个布尔值;默认值:“false”)|
将沙箱操作的当前主机名更改为“本地主机”。
| |--[没有]沙箱_fake_用户名(一个布尔值;默认值:“false”)|
将沙盒操作的当前用户名更改为“无人”。
| |--沙箱_tmpfs_path(绝对路径;可多次使用)|
对于沙箱操作,请在此绝对位置挂载一个空的可写目录
路径(如果由沙箱实现支持,否则将忽略)|。
(一个字符串;可以多次使用)|
对于沙箱操作,请使现有目录可写入到沙箱中
(如果由沙箱实现支持,否则将忽略)|| |--shell_可执行文件(默认路径:请参见说明)|
供Bazel使用的shell可执行文件的绝对路径。如果这是未设置,
但是BAZEL_SH环境变量是在第一次Bazel调用时设置的
(启动一个Bazel服务器)|,Bazel使用它。如果两者都没有设置,则使用Bazel
根据运行的操作系统使用硬编码的默认路径
(视窗:c:/tools/msys64/usr/bin/bash.exe,FreeBSD:/usr/本地/bin/bash,
所有其他的)。请注意,使用与之不兼容的shell
bash可能导致生成的生成失败或运行时失败
一双
标签:加载和分析
| |--[no]show_加载_进度(一个布尔值;默认值:“true”)|
如果启用,将使Bazel打印“加载软件包:”消息。
| |--[没有]show_进度(一个布尔值;默认值:“true”)|
在生成期间显示进度消息。
| |--显示进度限制(双重限制;默认值:“0.2”)|
输出中的进度消息之间的最小秒数。
| |--[没有]show_task_sist(布尔值;默认:“false”)|
在任务完成时显示进度消息,而不仅仅是在任务开始时显示。
| |--[no]show_时间戳(一个布尔值;默认值:“false”)|
在邮件中包含时间戳
| |--test_arg(一个字符串;可多次使用)|
指定应传递给
测试可执行文件。可以多次使用来指定多个参数。
如果执行了多个测试,那么每个测试都将收到相同的测试
争论仅由“巴兹测试”命令使用。
| |--test_filer(字符串;默认:参见说明)|
指定要转发到测试框架的筛选器。用于限制
测试运行。请注意,这并不会影响构建了哪些目标。
| |--test_lang_过滤器(以逗号分隔的选项列表;默认值:“”)|
指定以逗号分隔的测试语言列表。每种语言都可以
可选择在“-”前面指定已排除的语言。只有那些测试
将找到用指定语言编写的目标。的名字
每种语言应与语言前缀相同
*_测试规则,例如,一个“cc”、“java”、“py”等。此选项影响| |--
只构建测试_的行为和测试命令。
| |--test_refurt_过期(整数;默认值:“-1”)|
此选项已被弃用,且没有任何效果。
| |--[没有]测试_运行器_fail_fast(一个布尔值;默认值:“false”)|
转发失败了发送到测试运行器的快速选项。试验转道应停止
第一次失败时执行。
| |--test_sharding_strategy(显式或禁用;默认值:“显式”)|
指定测试分片的策略:“显式”,只使用分片,如果
“shard_count”构建属性存在。“禁用”,永远不要使用测试
闪闪发光。
| |--test_size_过滤器(以逗号分隔的值列表:小、中、大或大;默认值:“”)|
指定以逗号分隔的测试大小列表。每种尺寸都可以选择性选择
前面带有“-”,以指定已排除的大小。只有那些测试目标才会成功
被发现包含至少一个包含的大小,而不包含任何大小
排除大小。此选项只影响| |--build_test_行为和
测试命令。
| |--test_tag_过滤器(以逗号分隔的选项列表;默认值:“”)|
指定以逗号分隔的测试标记列表。每个标签都可以被选择
前面带有“-”,以指定已排除的标记。只有那些测试目标才会是
发现包含至少一个包含的标记,并且不包含任何标记
排除标签。此选项仅影响| |--build_test_行为和测试
命令
| |--test_timeout_过滤器(以逗号分隔的值列表:短、中、长或永恒;默认值:“”)
指定以逗号分隔的测试超时列表。每个超时都可以
可选择在“-”前面指定已排除的超时。只有那些测试
将发现包含至少一个包含超时的目标
包含任何排除的超时。此选项仅影响| |--build_tests_
行为和测试命令。
| |--tls_certificate(一个字符串;默认值:请参见说明)|
指定受信任的要签名服务器的TLS证书的路径
证明书
| |--tls_client_certificate(一个字符串;默认值:请参见说明)|
指定要使用的TLS客户端证书;您还需要提供一个
客户端启用客户端密钥。
| |--tls_client_key(一个字符串;默认值:请参见说明)|
指定要使用的TLS客户端密钥;您还需要提供一个客户端
要启用客户端身份验证的证书。
| |--tool_java_lances_版本(字符串;默认值:“8”)|
用于执行在此期间所需的工具的Java语言版本
一个构建
| |--tool_java_runtime_版本(一个字符串;默认值:“remotejdk_11”)|
用于在构建期间执行工具的Java运行时版本
| |--ui_actions_shown(一个整数;默认值:“8”)|
在详细的进度条中显示的并发操作的数量;每个
动作显示在单独的一行上。进度条至少总是会显示出来的
一个,所有小于1的数字都被映射到1。
标签:终端输出
| |--[没有]use_ijars(一个布尔值;默认值:“true”)|
如果启用,此选项将导致Java编译使用接口jar。这个
将导致更快的增量编译,但错误消息可以
有差别的
| |--[no]手表(一个布尔值;默认值:“false”)|
在Linux/macOS上:如果为真,bazel将尝试使用操作系统的
文件监视服务的本地更改,而不是扫描每个文件的a
变化在Windows上:这个标志当前是一个不可操作的标志,但可以在中启用
与| |--experimental_windows_watchfs结合。在任何操作系统上:行为是
如果您的工作空间位于网络文件系统上,而文件位于,则未定义
在远程机器上编辑。
| |--工作器_extra_flag(‘name=值’赋值;可以多次使用)|
额外的命令标志,将被传递给工作进程,除了
| |--持久的工人,由助记符键控(例如| |--工人_额外的标志=Javac=| |--
调试。
| |--worker_max_instances([name=]值,其中值是整数,或关键字(“auto”、“HOST_CPUS”、“HOST_RAM”)|,然后跟着一个操作([-|*]<float>|。例如:“auto”、“HOST_CPUS*.5”;可以多次使用)|
工作进程的实例(如持久Java编译器)|
如果你使用“工人”策略,可能会启动。可指定为
[name=],为每个工作人员的助记符给出不同的值。采取一个
整数,或一个关键字(“auto”,“HOST_CPUS”,“HOST_RAM”)|,可选
然后是一个操作([-|*]<float>|,例如。“自动”,“HOST_CPUS*.5”。汽车
根据机器容量计算出一个合理的默认值。““=值”设置a
默认设置为未指定的助记符。
标签:主机_机器__资源优化
| |--[没有]工作人员_quit_构建后(一个布尔值;默认值:“false”)|
如果启用,则所有工人都将在构建完成后退出。
| |--[没有]worker_sandboxing(一个布尔值;默认值:“false”)|
如果启用,工作人员将在沙箱环境中执行。
| |--[没有]worker_长度(布尔值;默认:“false”)|
如果启用,将在工人启动、关闭、..时打印详细消息。
| |--工作空间_statata_命令(路径;默认值:“”)|
在构建开始时调用以提供状态的命令
关于键/值对形式的工作空间的信息。请参见
完整说明书的用户手册。另请参见
举一个例子。
  • 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
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 652
  • 653
  • 654
  • 655
  • 656
  • 657
  • 658
  • 659
  • 660
  • 661
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • 669
  • 670
  • 671
  • 672
  • 673
  • 674
  • 675
  • 676
  • 677
  • 678
  • 679
  • 680
  • 681
  • 682
  • 683
  • 684
  • 685
  • 686
  • 687
  • 688
  • 689
  • 690
  • 691
  • 692
  • 693
  • 694
  • 695
  • 696
  • 697
  • 698
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • 748
  • 749
  • 750
  • 751
  • 752
  • 753
  • 754
  • 755
  • 756
  • 757
  • 758
  • 759
  • 760
  • 761
  • 762
  • 763
  • 764
  • 765
  • 766
  • 767
  • 768
  • 769
  • 770
  • 771
  • 772
  • 773
  • 774
  • 775
  • 776
  • 777
  • 778
  • 779
  • 780
  • 781
  • 782
  • 783
  • 784
  • 785
  • 786
  • 787
  • 788
  • 789
  • 790
  • 791
  • 792
  • 793
  • 794
  • 795
  • 796
  • 797
  • 798
  • 799
  • 800
  • 801
  • 802
  • 803
  • 804
  • 805
  • 806
  • 807
  • 808
  • 809
  • 810
  • 811
  • 812
  • 813
  • 814
  • 815
  • 816
  • 817
  • 818
  • 819
  • 820
  • 821
  • 822
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 829
  • 830
  • 831
  • 832
  • 833
  • 834
  • 835
  • 836
  • 837
  • 838
  • 839
  • 840
  • 841
  • 842
  • 843
  • 844
  • 845
  • 846
  • 847
  • 848
  • 849
  • 850
  • 851
  • 852
  • 853
  • 854
  • 855
  • 856
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 873
  • 874
  • 875
  • 876
  • 877
  • 878
  • 879
  • 880
  • 881
  • 882
  • 883
  • 884
  • 885
  • 886
  • 887
  • 888
  • 889
  • 890
  • 891
  • 892
  • 893
  • 894
  • 895
  • 896
  • 897
  • 898
  • 899
  • 900
  • 901
  • 902
  • 903
  • 904
  • 905
  • 906
  • 907
  • 908
  • 909
  • 910
  • 911
  • 912
  • 913
  • 914
  • 915
  • 916
  • 917
  • 918
  • 919
  • 920
  • 921
  • 922
  • 923
  • 924
  • 925
  • 926
  • 927
  • 928
  • 929
  • 930
  • 931
  • 932
  • 933
  • 934
  • 935
  • 936
  • 937
  • 938
  • 939
  • 940
  • 941
  • 942
  • 943
  • 944
  • 945
  • 946
  • 947
  • 948
  • 949
  • 950
  • 951
  • 952
  • 953
  • 954
  • 955
  • 956
  • 957
  • 958
  • 959
  • 960
  • 961
  • 962
  • 963
  • 964
  • 965
  • 966
  • 967
  • 968
  • 969
  • 970
  • 971
  • 972
  • 973
  • 974
  • 975
  • 976
  • 977
  • 978
  • 979
  • 980
  • 981
  • 982
  • 983
  • 984
  • 985
  • 986
  • 987
  • 988
  • 989
  • 990
  • 991
  • 992
  • 993
  • 994
  • 995
  • 996
  • 997
  • 998
  • 999
  • 1000
  • 1001
  • 1002
  • 1003
  • 1004
  • 1005
  • 1006
  • 1007
  • 1008
  • 1009
  • 1010
  • 1011
  • 1012
  • 1013
  • 1014
  • 1015
  • 1016
  • 1017
  • 1018
  • 1019
  • 1020
  • 1021
  • 1022
  • 1023
  • 1024
  • 1025
  • 1026
  • 1027
  • 1028
  • 1029
  • 1030
  • 1031
  • 1032
  • 1033
  • 1034
  • 1035
  • 1036
  • 1037
  • 1038
  • 1039
  • 1040
  • 1041
  • 1042
  • 1043
  • 1044
  • 1045
  • 1046
  • 1047
  • 1048
  • 1049
  • 1050
  • 1051
  • 1052
  • 1053
  • 1054
  • 1055
  • 1056
  • 1057
  • 1058
  • 1059
  • 1060
  • 1061
  • 1062
  • 1063
  • 1064
  • 1065
  • 1066
  • 1067
  • 1068
  • 1069
  • 1070
  • 1071
  • 1072
  • 1073
  • 1074
  • 1075
  • 1076
  • 1077
  • 1078
  • 1079
  • 1080
  • 1081
  • 1082
  • 1083
  • 1084
  • 1085
  • 1086
  • 1087
  • 1088
  • 1089
  • 1090
  • 1091
  • 1092
  • 1093
  • 1094
  • 1095
  • 1096
  • 1097
  • 1098
  • 1099
  • 1100
  • 1101
  • 1102
  • 1103
  • 1104
  • 1105
  • 1106
  • 1107
  • 1108
  • 1109
  • 1110
  • 1111
  • 1112
  • 1113
  • 1114
  • 1115
  • 1116
  • 1117
  • 1118
  • 1119
  • 1120
  • 1121
  • 1122
  • 1123
  • 1124
  • 1125
  • 1126
  • 1127
  • 1128
  • 1129
  • 1130
  • 1131
  • 1132
  • 1133
  • 1134
  • 1135
  • 1136
  • 1137
  • 1138
  • 1139
  • 1140
  • 1141
  • 1142
  • 1143
  • 1144
  • 1145
  • 1146
  • 1147
  • 1148
  • 1149
  • 1150
  • 1151
  • 1152
  • 1153
  • 1154
  • 1155
  • 1156
  • 1157
  • 1158
  • 1159
  • 1160
  • 1161
  • 1162
  • 1163
  • 1164
  • 1165
  • 1166
  • 1167
  • 1168
  • 1169
  • 1170
  • 1171
  • 1172
  • 1173
  • 1174
  • 1175
  • 1176
  • 1177
  • 1178
  • 1179
  • 1180
  • 1181
  • 1182
  • 1183
  • 1184
  • 1185
  • 1186
  • 1187
  • 1188
  • 1189
  • 1190
  • 1191
  • 1192
  • 1193
  • 1194
  • 1195
  • 1196
  • 1197
  • 1198
  • 1199
  • 1200
  • 1201
  • 1202
  • 1203
  • 1204
  • 1205
  • 1206
  • 1207
  • 1208
  • 1209
  • 1210
  • 1211
  • 1212
  • 1213
  • 1214
  • 1215
  • 1216
  • 1217
  • 1218
  • 1219
  • 1220
  • 1221
  • 1222
  • 1223
  • 1224
  • 1225
  • 1226
  • 1227
  • 1228
  • 1229
  • 1230
  • 1231
  • 1232
  • 1233
  • 1234
  • 1235
  • 1236
  • 1237
  • 1238
  • 1239
  • 1240
  • 1241
  • 1242
  • 1243
  • 1244
  • 1245
  • 1246
  • 1247
  • 1248
  • 1249
  • 1250
  • 1251
  • 1252
  • 1253
  • 1254
  • 1255
  • 1256
  • 1257
  • 1258
  • 1259
  • 1260
  • 1261
  • 1262
  • 1263
  • 1264
  • 1265
  • 1266
  • 1267
  • 1268
  • 1269
  • 1270
  • 1271
  • 1272
  • 1273
  • 1274
  • 1275
  • 1276
  • 1277
  • 1278
  • 1279
  • 1280
  • 1281
  • 1282
  • 1283
  • 1284
  • 1285
  • 1286
  • 1287
  • 1288
  • 1289
  • 1290
  • 1291
  • 1292
  • 1293
  • 1294
  • 1295
  • 1296
  • 1297
  • 1298
  • 1299
  • 1300
  • 1301
  • 1302
  • 1303
  • 1304
  • 1305
  • 1306
  • 1307
  • 1308
  • 1309
  • 1310
  • 1311
  • 1312
  • 1313
  • 1314
  • 1315
  • 1316
  • 1317
  • 1318
  • 1319
  • 1320
  • 1321
  • 1322
  • 1323
  • 1324
  • 1325
  • 1326
  • 1327
  • 1328
  • 1329
  • 1330
  • 1331
  • 1332
  • 1333
  • 1334
  • 1335
  • 1336
  • 1337
  • 1338
  • 1339
  • 1340
  • 1341
  • 1342
  • 1343
  • 1344
  • 1345
  • 1346
  • 1347
  • 1348
  • 1349
  • 1350
  • 1351
  • 1352
  • 1353
  • 1354
  • 1355
  • 1356
  • 1357
  • 1358
  • 1359
  • 1360
  • 1361
  • 1362
  • 1363
  • 1364
  • 1365
  • 1366
  • 1367
  • 1368
  • 1369
  • 1370
  • 1371
  • 1372
  • 1373
  • 1374
  • 1375
  • 1376
  • 1377
  • 1378
  • 1379
  • 1380
  • 1381
  • 1382
  • 1383
  • 1384
  • 1385
  • 1386
  • 1387
  • 1388
  • 1389
  • 1390
  • 1391
  • 1392
  • 1393
  • 1394
  • 1395
  • 1396
  • 1397
  • 1398
  • 1399
  • 1400
  • 1401
  • 1402
  • 1403
  • 1404
  • 1405
  • 1406
  • 1407
  • 1408
  • 1409
  • 1410
  • 1411
  • 1412
  • 1413
  • 1414
  • 1415
  • 1416
  • 1417
  • 1418
  • 1419
  • 1420
  • 1421
  • 1422
  • 1423
  • 1424
  • 1425
  • 1426
  • 1427
  • 1428
  • 1429
  • 1430
  • 1431
  • 1432
  • 1433
  • 1434
  • 1435
  • 1436
  • 1437
  • 1438
  • 1439
  • 1440
  • 1441
  • 1442
  • 1443
  • 1444
  • 1445
  • 1446
  • 1447
  • 1448
  • 1449
  • 1450
  • 1451
  • 1452
  • 1453
  • 1454
  • 1455
  • 1456
  • 1457
  • 1458
  • 1459
  • 1460
  • 1461
  • 1462
  • 1463
  • 1464
  • 1465
  • 1466
  • 1467
  • 1468
  • 1469
  • 1470
  • 1471
  • 1472
  • 1473
  • 1474
  • 1475
  • 1476
  • 1477
  • 1478
  • 1479
  • 1480
  • 1481
  • 1482
  • 1483
  • 1484
  • 1485
  • 1486
  • 1487
  • 1488
  • 1489
  • 1490
  • 1491
  • 1492
  • 1493
  • 1494
  • 1495
  • 1496
  • 1497
  • 1498
  • 1499
  • 1500
  • 1501
  • 1502
  • 1503
  • 1504
  • 1505
  • 1506
  • 1507
  • 1508
  • 1509
  • 1510
  • 1511
  • 1512
  • 1513
  • 1514
  • 1515
  • 1516
  • 1517
  • 1518
  • 1519
  • 1520
  • 1521
  • 1522
  • 1523
  • 1524
  • 1525
  • 1526
  • 1527
  • 1528
  • 1529
  • 1530
  • 1531
  • 1532
  • 1533
  • 1534
  • 1535
  • 1536
  • 1537
  • 1538
  • 1539
  • 1540
  • 1541
  • 1542
  • 1543
  • 1544
  • 1545
  • 1546
  • 1547
  • 1548
  • 1549
  • 1550
  • 1551
  • 1552
  • 1553
  • 1554
  • 1555
  • 1556
  • 1557
  • 1558
  • 1559
  • 1560
  • 1561
  • 1562
  • 1563
  • 1564
  • 1565
  • 1566
  • 1567
  • 1568
  • 1569
  • 1570
  • 1571
  • 1572
  • 1573
  • 1574
  • 1575
  • 1576
  • 1577
  • 1578
  • 1579
  • 1580
  • 1581
  • 1582
  • 1583
  • 1584
  • 1585
  • 1586
  • 1587
  • 1588
  • 1589
  • 1590
  • 1591
  • 1592
  • 1593
  • 1594
  • 1595
  • 1596
  • 1597
  • 1598
  • 1599
  • 1600
  • 1601
  • 1602
  • 1603
  • 1604
  • 1605
  • 1606
  • 1607
  • 1608
  • 1609
  • 1610
  • 1611
  • 1612
  • 1613
  • 1614
  • 1615
  • 1616
  • 1617
  • 1618
  • 1619
  • 1620
  • 1621
  • 1622
  • 1623
  • 1624
  • 1625
  • 1626
  • 1627
  • 1628
  • 1629
  • 1630
  • 1631
  • 1632
  • 1633
  • 1634
  • 1635
  • 1636
  • 1637
  • 1638
  • 1639
  • 1640
  • 1641
  • 1642
  • 1643
  • 1644
  • 1645
  • 1646
  • 1647
  • 1648
  • 1649
  • 1650
  • 1651
  • 1652
  • 1653
  • 1654
  • 1655
  • 1656
  • 1657
  • 1658
  • 1659
  • 1660
  • 1661
  • 1662
  • 1663
  • 1664
  • 1665
  • 1666
  • 1667
  • 1668
  • 1669
  • 1670
  • 1671
  • 1672
  • 1673
  • 1674
  • 1675
  • 1676
  • 1677
  • 1678
  • 1679
  • 1680
  • 1681
  • 1682
  • 1683
  • 1684
  • 1685
  • 1686
  • 1687
  • 1688
  • 1689
  • 1690
  • 1691
  • 1692
  • 1693
  • 1694
  • 1695
  • 1696
  • 1697
  • 1698
  • 1699
  • 1700
  • 1701
  • 1702
  • 1703
  • 1704
  • 1705
  • 1706
  • 1707
  • 1708
  • 1709
  • 1710
  • 1711
  • 1712
  • 1713
  • 1714
  • 1715
  • 1716
  • 1717
  • 1718
  • 1719
  • 1720
  • 1721
  • 1722
  • 1723
  • 1724
  • 1725
  • 1726
  • 1727
  • 1728
  • 1729
  • 1730
  • 1731
  • 1732
  • 1733
  • 1734
  • 1735
  • 1736
  • 1737
  • 1738
  • 1739
  • 1740
  • 1741
  • 1742
  • 1743
  • 1744
  • 1745
  • 1746
  • 1747
  • 1748
  • 1749
  • 1750
  • 1751
  • 1752
  • 1753
  • 1754
  • 1755
  • 1756
  • 1757
  • 1758
  • 1759
  • 1760
  • 1761
  • 1762
  • 1763
  • 1764
  • 1765
  • 1766
  • 1767
  • 1768
  • 1769
  • 1770
  • 1771
  • 1772
  • 1773
  • 1774
  • 1775
  • 1776
  • 1777
  • 1778
  • 1779
  • 1780
  • 1781
  • 1782
  • 1783
  • 1784
  • 1785
  • 1786
  • 1787
  • 1788
  • 1789
  • 1790
  • 1791
  • 1792
  • 1793
  • 1794
  • 1795
  • 1796
  • 1797
  • 1798
  • 1799
  • 1800
  • 1801
  • 1802
  • 1803
  • 1804
  • 1805
  • 1806
  • 1807
  • 1808
  • 1809
  • 1810
  • 1811
  • 1812
  • 1813
  • 1814
  • 1815
  • 1816
  • 1817
  • 1818
  • 1819
  • 1820
  • 1821
  • 1822
  • 1823
  • 1824
  • 1825
  • 1826
  • 1827
  • 1828
  • 1829
  • 1830
  • 1831
  • 1832
  • 1833
  • 1834
  • 1835
  • 1836
  • 1837
  • 1838
  • 1839
  • 1840
  • 1841
  • 1842
  • 1843
  • 1844
  • 1845
  • 1846
  • 1847
  • 1848
  • 1849
  • 1850
  • 1851
  • 1852
  • 1853
  • 1854
  • 1855
  • 1856
  • 1857
  • 1858
  • 1859
  • 1860
  • 1861
  • 1862
  • 1863
  • 1864
  • 1865
  • 1866
  • 1867
  • 1868
  • 1869
  • 1870
  • 1871
  • 1872
  • 1873
  • 1874
  • 1875
  • 1876
  • 1877
  • 1878
  • 1879
  • 1880
  • 1881
  • 1882
  • 1883
  • 1884
  • 1885
  • 1886
  • 1887
  • 1888
  • 1889
  • 1890
  • 1891
  • 1892
  • 1893
  • 1894
  • 1895
  • 1896
  • 1897
  • 1898
  • 1899
  • 1900
  • 1901
  • 1902
  • 1903
  • 1904
  • 1905
  • 1906
  • 1907
  • 1908
  • 1909
  • 1910
  • 1911
  • 1912
  • 1913
  • 1914
  • 1915
  • 1916
  • 1917
  • 1918
  • 1919
  • 1920
  • 1921
  • 1922
  • 1923
  • 1924
  • 1925
  • 1926
  • 1927
  • 1928
  • 1929
  • 1930
  • 1931
  • 1932
  • 1933
  • 1934
  • 1935
  • 1936
  • 1937
  • 1938
  • 1939
  • 1940
  • 1941
  • 1942
  • 1943
  • 1944
  • 1945
  • 1946
  • 1947
  • 1948
  • 1949
  • 1950
  • 1951
  • 1952
  • 1953
  • 1954
  • 1955
  • 1956
  • 1957
  • 1958
  • 1959
  • 1960
  • 1961
  • 1962
  • 1963
  • 1964
  • 1965
  • 1966
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • 1974
  • 1975
  • 1976
  • 1977
  • 1978
  • 1979
  • 1980
  • 1981
  • 1982
  • 1983
  • 1984
  • 1985
  • 1986
  • 1987
  • 1988
  • 1989
  • 1990
  • 1991
  • 1992
  • 1993
  • 1994
  • 1995
  • 1996
  • 1997
  • 1998
  • 1999
  • 2000
  • 2001
  • 2002
  • 2003
  • 2004
  • 2005
  • 2006
  • 2007
  • 2008
  • 2009
  • 2010
  • 2011
  • 2012
  • 2013
  • 2014
  • 2015
  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024
  • 2025
  • 2026
  • 2027
  • 2028
  • 2029
  • 2030
  • 2031
  • 2032
  • 2033
  • 2034
  • 2035
  • 2036
  • 2037
  • 2038
  • 2039
  • 2040
  • 2041
  • 2042
  • 2043
  • 2044
  • 2045
  • 2046
  • 2047
  • 2048
  • 2049
  • 2050
  • 2051
  • 2052
  • 2053
  • 2054
  • 2055
  • 2056
  • 2057
  • 2058
  • 2059
  • 2060
  • 2061
  • 2062
  • 2063
  • 2064
  • 2065
  • 2066
  • 2067
  • 2068
  • 2069
  • 2070
  • 2071
  • 2072
  • 2073
  • 2074
  • 2075
  • 2076
  • 2077
  • 2078
  • 2079
  • 2080
  • 2081
  • 2082
  • 2083
  • 2084
  • 2085
  • 2086
  • 2087
  • 2088
  • 2089
  • 2090
  • 2091
  • 2092
  • 2093
  • 2094
  • 2095
  • 2096
  • 2097
  • 2098
  • 2099
  • 2100
  • 2101
  • 2102
  • 2103
  • 2104
  • 2105
  • 2106
  • 2107
  • 2108
  • 2109
  • 2110
  • 2111
  • 2112
  • 2113
  • 2114
  • 2115
  • 2116
  • 2117
  • 2118
  • 2119
  • 2120
  • 2121
  • 2122
  • 2123
  • 2124
  • 2125
  • 2126
  • 2127
  • 2128
  • 2129
  • 2130
  • 2131
  • 2132
  • 2133
  • 2134
  • 2135
  • 2136
  • 2137
  • 2138
  • 2139
  • 2140
  • 2141
  • 2142
  • 2143
  • 2144
  • 2145
  • 2146
  • 2147
  • 2148
  • 2149
  • 2150
  • 2151
  • 2152
  • 2153
  • 2154
  • 2155
  • 2156
  • 2157
  • 2158
  • 2159
  • 2160
  • 2161
  • 2162
  • 2163
  • 2164
  • 2165
  • 2166
  • 2167
  • 2168
  • 2169
  • 2170
  • 2171
  • 2172
  • 2173
  • 2174
  • 2175
  • 2176
  • 2177
  • 2178
  • 2179
  • 2180
  • 2181
  • 2182
  • 2183
  • 2184
  • 2185
  • 2186
  • 2187
  • 2188
  • 2189
  • 2190
  • 2191
  • 2192
  • 2193
  • 2194
  • 2195
  • 2196
  • 2197
  • 2198
  • 2199
  • 2200
  • 2201
  • 2202
  • 2203
  • 2204
  • 2205
  • 2206
  • 2207
  • 2208
  • 2209
  • 2210
  • 2211
  • 2212
  • 2213
  • 2214
  • 2215
  • 2216
  • 2217
  • 2218
  • 2219
  • 2220
  • 2221
  • 2222
  • 2223
  • 2224
  • 2225
  • 2226
  • 2227
  • 2228
  • 2229
  • 2230
  • 2231
  • 2232
  • 2233
  • 2234
  • 2235
  • 2236
  • 2237
  • 2238
  • 2239
  • 2240
  • 2241
  • 2242
  • 2243
  • 2244
  • 2245
  • 2246
  • 2247
  • 2248
  • 2249
  • 2250
  • 2251
  • 2252
  • 2253
  • 2254
  • 2255
  • 2256
  • 2257
  • 2258
  • 2259
  • 2260
  • 2261
  • 2262
  • 2263
  • 2264
  • 2265
  • 2266
  • 2267
  • 2268
  • 2269
  • 2270
  • 2271
  • 2272
  • 2273
  • 2274
  • 2275
  • 2276
  • 2277
  • 2278
  • 2279
  • 2280
  • 2281
  • 2282
  • 2283
  • 2284
  • 2285
  • 2286
  • 2287
  • 2288
  • 2289
  • 2290
  • 2291
  • 2292
  • 2293
  • 2294
  • 2295
  • 2296
  • 2297
  • 2298
  • 2299
  • 2300
  • 2301
  • 2302
  • 2303
  • 2304
  • 2305
  • 2306
  • 2307
  • 2308
  • 2309
  • 2310
  • 2311
  • 2312
  • 2313
  • 2314
  • 2315
  • 2316
  • 2317
  • 2318
  • 2319
  • 2320
  • 2321
  • 2322
  • 2323
  • 2324
  • 2325
  • 2326
  • 2327
  • 2328
  • 2329
  • 2330
  • 2331
  • 2332
  • 2333
  • 2334
  • 2335
  • 2336
  • 2337
  • 2338
  • 2339
  • 2340
  • 2341
  • 2342
  • 2343
  • 2344
  • 2345
  • 2346
  • 2347
  • 2348
  • 2349
  • 2350
  • 2351
  • 2352
  • 2353
  • 2354
  • 2355
  • 2356
  • 2357
  • 2358
  • 2359
  • 2360
  • 2361
  • 2362
  • 2363
  • 2364
  • 2365
  • 2366
  • 2367
  • 2368
  • 2369
  • 2370
  • 2371
  • 2372
  • 2373
  • 2374
  • 2375
  • 2376
  • 2377
  • 2378
  • 2379
  • 2380
  • 2381
  • 2382
  • 2383
  • 2384
  • 2385
  • 2386
  • 2387
  • 2388
  • 2389
  • 2390
  • 2391
  • 2392
  • 2393
  • 2394
  • 2395
  • 2396
  • 2397
  • 2398
  • 2399
  • 2400
  • 2401
  • 2402
  • 2403
  • 2404
  • 2405
  • 2406
  • 2407
  • 2408
  • 2409
  • 2410
  • 2411
  • 2412
  • 2413
  • 2414
  • 2415
  • 2416
  • 2417
  • 2418
  • 2419
  • 2420
  • 2421
  • 2422
  • 2423
  • 2424
  • 2425
  • 2426
  • 2427
  • 2428
  • 2429
  • 2430
  • 2431
  • 2432
  • 2433
  • 2434
  • 2435
  • 2436
  • 2437
  • 2438
  • 2439
  • 2440
  • 2441
  • 2442
  • 2443
  • 2444
  • 2445
  • 2446
  • 2447
  • 2448
  • 2449
  • 2450
  • 2451
  • 2452
  • 2453
  • 2454
  • 2455
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/53388
推荐阅读
相关标签
  

闽ICP备14008679号