mirror of
https://github.com/bazelbuild/rules_cc
synced 2024-12-03 02:53:18 +00:00
94d4760a89
BEGIN_PUBLIC Implement cc_toolchain_config rule and cc_legacy_file_group rule. Note that this rule is in the impl/ directory because we require users to use the cc_toolchain_config rule via the cc_toolchain macro that we will define later, to ensure that parameters such as `compile_files` are passed correctly. END_PUBLIC PiperOrigin-RevId: 612998387 Change-Id: I986d11775e368c4386a930ab2ce8663956a57f9d
22 lines
812 B
Python
22 lines
812 B
Python
# Copyright 2024 The Bazel Authors. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
|
|
|
|
bool_flag(
|
|
name = "experimental_enable_rule_based_toolchains",
|
|
build_setting_default = False,
|
|
visibility = ["//visibility:public"],
|
|
)
|