Skip to content

Commit

Permalink
Remove removal of ct.sym.
Browse files Browse the repository at this point in the history
Since we remove the jdk.compiler module in
3880ddc, this is no longer included
anyway. Deleting it here breaks building the minimal jdk, which we need
to do for the java.desktop removal.

Commit 2/N

This is part of #7502 and #6314.

RELNOTES: None

Closes #8086.

PiperOrigin-RevId: 244156777
  • Loading branch information
meisterT authored and copybara-github committed Apr 18, 2019
1 parent a6d23aa commit ac0305b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/minimize_jdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ if [[ "$UNAME" =~ msys_nt* ]]; then
reduced/
# These are necessary for --host_jvm_debug to work.
cp bin/dt_socket.dll bin/jdwp.dll reduced/bin
if [[ "$modules" != "ALL-MODULE-PATH" ]]; then
# Only necessary for compilation, which doesn't happen with the minimal JDK.
rm reduced/lib/ct.sym
fi
zip -r -9 ../reduced.zip reduced/
cd ../..
mv "tmp.$$/reduced.zip" "$out"
Expand All @@ -68,10 +64,6 @@ else
else
cp lib/libdt_socket.so lib/libjdwp.so reduced/lib
fi
if [[ "$modules" != "ALL-MODULE-PATH" ]]; then
# Only necessary for compilation, which doesn't happen with the minimal JDK.
rm reduced/lib/ct.sym
fi
GZIP=-9 tar -zcf ../reduced.tgz reduced
cd ..
mv reduced.tgz "$out"
Expand Down

0 comments on commit ac0305b

Please sign in to comment.