| """Defined mock toolchain features.""" | |
| FEATURE_NAMES = struct( | |
| cpp_modules = "cpp_modules", | |
| generate_pdb_file = "generate_pdb_file", | |
| no_legacy_features = "no_legacy_features", | |
| do_not_split_linking_cmdline = "do_not_split_linking_cmdline", | |
| supports_dynamic_linker = "supports_dynamic_linker", | |
| supports_interface_shared_libraries = "supports_interface_shared_libraries", | |
| pic = "pic", | |
| define_with_space = "define_with_space", | |
| parse_headers = "parse_headers", | |
| layering_check = "layering_check", | |
| header_modules = "header_modules", | |
| header_module_compile = "header_module_compile", | |
| header_module_codegen = "header_module_codegen", | |
| module_maps = "module_maps", | |
| use_header_modules = "use_header_modules", | |
| module_map_home_cwd = "module_map_home_cwd", | |
| env_feature = "env_feature", | |
| static_env_feature = "static_env_feature", | |
| host = "host", | |
| nonhost = "nonhost", | |
| user_compile_flags = "user_compile_flags", | |
| thin_lto = "thin_lto", | |
| no_use_lto_indexing_bitcode_file = "no_use_lto_indexing_bitcode_file", | |
| use_lto_native_object_directory = "use_lto_native_object_directory", | |
| thin_lto_linkstatic_tests_use_shared_nonlto_backends = "thin_lto_linkstatic_tests_use_shared_nonlto_backends", | |
| thin_lto_all_linkstatic_use_shared_nonlto_backends = "thin_lto_all_linkstatic_use_shared_nonlto_backends", | |
| enable_afdo_thinlto = "enable_afdo_thinlto", | |
| autofdo_implicit_thinlto = "autofdo_implicit_thinlto", | |
| enable_fdo_thinlto = "enable_fdo_thinlto", | |
| xbinaryfdo_implicit_thinlto = "xbinaryfdo_implicit_thinlto", | |
| enable_xbinaryfdo_thinlto = "enable_xbinaryfdo_thinlto", | |
| native_deps_link = "native_deps_link", | |
| java_launcher_link = "java_launcher_link", | |
| py_launcher_link = "py_launcher_link", | |
| autofdo = "autofdo", | |
| is_cc_fake_binary = "is_cc_fake_binary", | |
| xbinaryfdo = "xbinaryfdo", | |
| fdo_optimize = "fdo_optimize", | |
| fdo_implicit_thinlto = "fdo_implicit_thinlto", | |
| split_functions = "split_functions", | |
| enable_fdo_split_functions = "enable_fdo_split_functions", | |
| fdo_split_functions = "fdo_split_functions", | |
| memprof_optimize = "memprof_optimize", | |
| enable_fdo_memprof_optimize = "enable_fdo_memprof_optimize", | |
| fdo_implicit_memprof_optimize = "fdo_implicit_memprof_optimize", | |
| enable_autofdo_memprof_optimize = "enable_autofdo_memprof_optimize", | |
| autofdo_implicit_memprof_optimize = "autofdo_implicit_memprof_optimize", | |
| fdo_instrument = "fdo_instrument", | |
| fsafdo = "fsafdo", | |
| implicit_fsafdo = "implicit_fsafdo", | |
| enable_fsafdo = "enable_fsafdo", | |
| supports_pic = "supports_pic", | |
| prefer_pic_for_opt_binaries = "prefer_pic_for_opt_binaries", | |
| copy_dynamic_libraries_to_binary = "copy_dynamic_libraries_to_binary", | |
| per_object_debug_info = "per_object_debug_info", | |
| supports_start_end_lib = "supports_start_end_lib", | |
| targets_windows = "targets_windows", | |
| windows_export_all_symbols = "windows_export_all_symbols", | |
| static_link_cpp_runtimes = "static_link_cpp_runtimes", | |
| simple_compile_feature = "simple_compile_feature", | |
| simple_link_feature = "simple_link_feature", | |
| link_env = "link_env", | |
| dynamic_linking_mode = "dynamic_linking_mode", | |
| static_linking_mode = "static_linking_mode", | |
| archive_param_file = "archive_param_file", | |
| compiler_param_file = "compiler_param_file", | |
| gcc_quoting_for_param_files = "gcc_quoting_for_param_files", | |
| objcopy_embed_flags = "objcopy_embed_flags", | |
| ld_embed_flags = "ld_embed_flags", | |
| opt = "opt", | |
| fastbuild = "fastbuild", | |
| dbg = "dbg", | |
| fission_flags_for_lto_backend = "fission_flags_for_lto_backend", | |
| min_os_version_flag = "min_os_version_flag", | |
| include_directories = "include_directories", | |
| external_include_paths = "external_include_paths", | |
| absolute_path_directories = "absolute_path_directories", | |
| from_package = "from_package", | |
| change_tool = "change_tool", | |
| module_map_without_extern_module = "module_map_without_extern_module", | |
| generate_submodules = "generate_submodules", | |
| foo = "foo_feature", | |
| check_additional_variables = "check_additional_variables_feature", | |
| library_search_directories = "library_search_directories", | |
| runtime_library_search_directories = "runtime_library_search_directories", | |
| uses_ifso_variables = "uses_ifso_variables", | |
| def_feature = "def", | |
| strip_debug_symbols = "strip_debug_symbols", | |
| disable_pbh = "disable_pbh", | |
| optional_cc_flags_feature = "optional_cc_flags_feature", | |
| cpp_compile_with_requirements = "cpp_compile_with_requirements", | |
| no_copts_tokenization = "no_copts_tokenization", | |
| generate_linkmap = "generate_linkmap", | |
| shorten_virtual_includes = "shorten_virtual_includes", | |
| preprocessor_defines = "preprocessor_defines", | |
| skip_virtual_includes = "skip_virtual_includes", | |
| no_dotd_file = "no_dotd_file", | |
| llvm_profdata_env = "llvm_profdata_env", | |
| force_pic_flags = "force_pic_flags", | |
| libraries_to_link = "libraries_to_link", | |
| propeller_optimize = "propeller_optimize", | |
| propeller_optimize_thinlto_compile_actions = "propeller_optimize_thinlto_compile_actions", | |
| fdo_prefetch_hints = "fdo_prefetch_hints", | |
| uses_output_execpath = "uses_output_execpath", | |
| uses_is_cc_test = "uses_is_cc_test", | |
| uses_strip_debug_symbols = "uses_strip_debug_symbols", | |
| debug_variables = "debug_variables", | |
| uses_is_using_fission = "uses_is_using_fission", | |
| uses_sysroot = "uses_sysroot", | |
| uses_user_link_flags = "uses_user_link_flags", | |
| uses_whole_archive = "uses_whole_archive", | |
| dwp_env = "dwp_env", | |
| disable_cpp_link_path_mapping = "disable_cpp_link_path_mapping", | |
| ) |