Skip to content

Commit

Permalink
Fix tensorflow LICENSE path in "tflite/java/aar_with_jni.bzl".
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 702406093
  • Loading branch information
junjiang-lab authored and copybara-github committed Dec 3, 2024
1 parent 143d03f commit 10c9ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tflite/java/aar_with_jni.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cd $$(mktemp -d)
unzip $$origdir/$(location :{1}_dummy_app_for_so_unsigned.apk) "lib/*"
cp -r lib jni
zip -r $$origdir/$(location :{1}.aar) jni/*/*.so
cp $$origdir/$(location @org_tensorflow//tensorflow:LICENSE) ./
cp $$origdir/$(location @org_tensorflow//:LICENSE) ./
zip $$origdir/$(location :{1}.aar) LICENSE
""".format(android_library, name)

Expand Down Expand Up @@ -128,7 +128,7 @@ cp $(location {0}.aar) $(location :{1}.aar)
chmod +w $(location :{1}.aar)
origdir=$$PWD
cd $$(mktemp -d)
cp $$origdir/$(location @org_tensorflow//tensorflow:LICENSE) ./
cp $$origdir/$(location @org_tensorflow//:LICENSE) ./
zip $$origdir/$(location :{1}.aar) LICENSE
""".format(android_library, name)

Expand Down

0 comments on commit 10c9ea0

Please sign in to comment.