diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-07-04 13:07:08 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-07-04 14:02:52 +0000 |
commit | ca407f0e80a67ad2c1aa3469fad3c031f3c0c979 (patch) | |
tree | f4b0df094907e859a120106ae86092cddb8978f9 /compile.sh | |
parent | 74dcfee2daa23934178579b2e5987178c51c73e2 (diff) |
Adds missing dependencies to //:srcs
--
MOS_MIGRATED_REVID=126571069
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh index eceefa5c38..4daeb3ae54 100755 --- a/compile.sh +++ b/compile.sh @@ -142,11 +142,15 @@ if [ $DO_SRCS_TEST ]; then | sort -u >"${OUTPUT_DIR}/srcs-query" log "Finding all files" + # SRCS_EXCLUDES can be overriden to adds some more exceptions for the find + # commands (for CI systems). + SRCS_EXCLUDES=${SRCS_EXCLUDES-XXXXXXXXXXXXXX1268778dfsdf4} # See file BUILD for the list of grep -v exceptions. # tools/defaults package is hidden by Bazel so cannot be put in the srcs. find . -type f | sed 's|./||' \ | grep -v '^bazel-' | grep -v '^WORKSPACE.user.bzl' \ | grep -v '^\.' | grep -v '^out/' | grep -v '^output/' \ + | grep -Ev "${SRCS_EXCLUDES}" \ | grep -v '^tools/defaults/BUILD' \ | sort -u >"${OUTPUT_DIR}/srcs-find" |