• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14"""A list of features that should be built into every toolchain."""
15
16visibility(["//cc_toolchain/private", "//cc_toolchain/tests/..."])
17
18BUILTIN_FEATURES = [
19    "//features/well_known:opt",
20    "//features/well_known:dbg",
21    "//features/well_known:fastbuild",
22    "//features/well_known:static_linking_mode",
23    "//features/well_known:dynamic_linking_mode",
24    "//features/well_known:per_object_debug_info",
25    "//features/well_known:supports_start_end_lib",
26    "//features/well_known:supports_interface_shared_libraries",
27    "//features/well_known:supports_dynamic_linker",
28    "//features/well_known:static_link_cpp_runtimes",
29    "//features/well_known:supports_pic",
30    "//features/legacy:legacy_compile_flags",
31    "//features/legacy:default_compile_flags",
32    "//features/legacy:dependency_file",
33    "//features/legacy:pic",
34    "//features/legacy:preprocessor_defines",
35    "//features/legacy:includes",
36    "//features/legacy:include_paths",
37    "//features/legacy:fdo_instrument",
38    "//features/legacy:fdo_optimize",
39    "//features/legacy:cs_fdo_instrument",
40    "//features/legacy:cs_fdo_optimize",
41    "//features/legacy:fdo_prefetch_hints",
42    "//features/legacy:autofdo",
43    "//features/legacy:build_interface_libraries",
44    "//features/legacy:dynamic_library_linker_tool",
45    "//features/legacy:shared_flag",
46    "//features/legacy:linkstamps",
47    "//features/legacy:output_execpath_flags",
48    "//features/legacy:runtime_library_search_directories",
49    "//features/legacy:library_search_directories",
50    "//features/legacy:archiver_flags",
51    "//features/legacy:libraries_to_link",
52    "//features/legacy:force_pic_flags",
53    "//features/legacy:user_link_flags",
54    "//features/legacy:legacy_link_flags",
55    "//features/legacy:static_libgcc",
56    "//features/legacy:fission_support",
57    "//features/legacy:strip_debug_symbols",
58    "//features/legacy:coverage",
59    "//features/legacy:llvm_coverage_map_format",
60    "//features/legacy:gcc_coverage_map_format",
61    "//features/legacy:fully_static_link",
62    "//features/legacy:user_compile_flags",
63    "//features/legacy:sysroot",
64    "//features/legacy:unfiltered_compile_flags",
65    "//features/legacy:linker_param_file",
66    "//features/legacy:compiler_input_flags",
67    "//features/legacy:compiler_output_flags",
68]
69