File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -1066,18 +1066,6 @@ if [[ ! "${SKIP_BUILD_XCTEST}" ]] ; then
1066
1066
PRODUCTS=(" ${PRODUCTS[@]} " xctest)
1067
1067
fi
1068
1068
1069
- # Checks if a given product is enabled (i.e. part of $PRODUCTS array)
1070
- function contains_product() {
1071
- local current_product
1072
- for current_product in " ${PRODUCTS[@]} " ; do
1073
- if [[ " $current_product " == " $1 " ]]; then
1074
- return 0
1075
- fi
1076
- done
1077
- return 1
1078
- }
1079
-
1080
-
1081
1069
# get_host_specific_variable(host, name)
1082
1070
#
1083
1071
# Get the value of a host-specific variable expected to have been passed by the
@@ -1797,7 +1785,7 @@ for host in "${ALL_HOSTS[@]}"; do
1797
1785
)
1798
1786
fi
1799
1787
1800
- if contains_product " lldb " ; then
1788
+ if [[ ! " ${SKIP_BUILD_LLDB} " ]] ; then
1801
1789
lldb_build_dir=$( build_directory ${host} lldb)
1802
1790
cmake_options=(
1803
1791
" ${cmake_options[@]} "
You can’t perform that action at this time.
0 commit comments