From 10c9ea043497a3b0a7714af316d7e6f684f952f7 Mon Sep 17 00:00:00 2001 From: Jun Jiang Date: Tue, 3 Dec 2024 11:16:29 -0800 Subject: [PATCH] Fix tensorflow LICENSE path in "tflite/java/aar_with_jni.bzl". PiperOrigin-RevId: 702406093 --- tflite/java/aar_with_jni.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tflite/java/aar_with_jni.bzl b/tflite/java/aar_with_jni.bzl index 1493eec3..20352c8e 100644 --- a/tflite/java/aar_with_jni.bzl +++ b/tflite/java/aar_with_jni.bzl @@ -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) @@ -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)