diff options
author | 2017-06-29 17:43:05 +0200 | |
---|---|---|
committer | 2017-06-29 17:51:45 +0200 | |
commit | 17770e5d78e640e419194504293df563d77ccf8c (patch) | |
tree | 1f65bcfddc8a7481b099882080ed8b2691e97e4e /scripts/bootstrap/compile.sh | |
parent | 4aacec2b9a77b86e9411c2c1ee086580e8b5ec93 (diff) |
Bazel, bootstrap: fix JNI build errors
Fixes https://github.com/bazelbuild/bazel/issues/3292
Change-Id: I67db893c36067b950303d2b131b925dce974d7d1
PiperOrigin-RevId: 160529960
Diffstat (limited to 'scripts/bootstrap/compile.sh')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 6ca0e85b38..587c445207 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -249,8 +249,7 @@ function build_jni() { # Keep this `find` command in sync with the `srcs` of # //src/main/native:windows_jni - local srcs=$(find src/main/native \ - -name 'windows_*.cc' -o -name 'windows_*.h') + local srcs=$(find src/main/native/windows -name '*.cc' -o -name '*.h') [ -n "$srcs" ] || fail "Could not find sources for Windows JNI library" # do not quote $srcs because we need to expand it to multiple args |