mirror of
https://github.com/bazelbuild/rules_cc
synced 2024-12-04 05:03:18 +00:00
Merge pull request #257 from fmeum:validate-library
PiperOrigin-RevId: 691372917 Change-Id: Idebbc95f1e24990ec61d5224fbc28cd238a8fdbd
This commit is contained in:
commit
0640261093
|
@ -68,6 +68,11 @@ filegroup(
|
||||||
srcs = glob(["extra_tools/**"], allow_empty = True) + [%{cc_compiler_deps}],
|
srcs = glob(["extra_tools/**"], allow_empty = True) + [%{cc_compiler_deps}],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "ar_files",
|
||||||
|
srcs = [":compiler_deps"] + [%{ar_deps}],
|
||||||
|
)
|
||||||
|
|
||||||
# This is the entry point for --crosstool_top. Toolchains are found
|
# This is the entry point for --crosstool_top. Toolchains are found
|
||||||
# by lopping off the name of --crosstool_top and searching for
|
# by lopping off the name of --crosstool_top and searching for
|
||||||
# the "${CPU}" entry in the toolchains attribute.
|
# the "${CPU}" entry in the toolchains attribute.
|
||||||
|
|
|
@ -628,9 +628,8 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overridden_tools):
|
||||||
":builtin_include_directory_paths",
|
":builtin_include_directory_paths",
|
||||||
":cc_wrapper",
|
":cc_wrapper",
|
||||||
":deps_scanner_wrapper",
|
":deps_scanner_wrapper",
|
||||||
] + (
|
]),
|
||||||
[":validate_static_library"] if "validate_static_library" in tool_paths else []
|
"%{ar_deps}": get_starlark_list([":validate_static_library"] if "validate_static_library" in tool_paths else []),
|
||||||
)),
|
|
||||||
"%{cc_toolchain_identifier}": cc_toolchain_identifier,
|
"%{cc_toolchain_identifier}": cc_toolchain_identifier,
|
||||||
"%{compile_flags}": get_starlark_list(
|
"%{compile_flags}": get_starlark_list(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue