Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
74c5b59b3aee05afe2cb54f1eadefad3af6ed5be
/
.
/
tools
/
build_rules
/
empty_main.bzl
blob: 3305e1ab73504dbf700ed2dba8b447f5d76b96a0 [
file
] [
log
] [
blame
]
"""Returns a select which is either srcs or an empty main function."""
def
empty_main_if_asan
(
srcs
):
return
select
({
"//tools:has_asan"
:
[
"//tools/cpp:empty_main"
],
"//conditions:default"
:
srcs
,
})