From 9409109c3016c51403ed4387ecda6c99459f1a8d Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Tue, 4 Jul 2017 05:45:40 -0400 Subject: build_windows_jni.sh: move file to subdirectory The script more logically belongs in src/main/native/windows than in src/main/native. Also move the //src/main/native:windows_jni rule into //src/main/native/windows:windows_jni, so the logic of building the JNI library is fully contained in that package. Change-Id: I96e19003932cc0ddc5af3471b0b31a1aec09b8fa PiperOrigin-RevId: 160876594 --- scripts/bootstrap/compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/bootstrap') diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 587c445207..494c1a109e 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -248,12 +248,12 @@ function build_jni() { mkdir -p "$(dirname "$output")" # Keep this `find` command in sync with the `srcs` of - # //src/main/native:windows_jni + # //src/main/native/windows:windows_jni 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 - src/main/native/build_windows_jni.sh "$tmp_output" ${srcs} + src/main/native/windows/build_windows_jni.sh "$tmp_output" ${srcs} cp "$tmp_output" "$output" chmod 0555 "$output" -- cgit v1.2.3