Fix the OSS build rule regarding $location expansion that's introduced in cl/326576852.

PiperOrigin-RevId: 326689745
Change-Id: I5ea40130bd82ca9dcb2a322d7a24d7aa55177e1e
This commit is contained in:
Chao Mei 2020-08-14 11:04:16 -07:00 committed by TensorFlower Gardener
parent 58607718c3
commit 72be296413

View File

@ -50,10 +50,10 @@ exports_files([
test_args = args + select({
"//tensorflow:android": [],
"//conditions:default": [
"--zip_file_path=third_party/tensorflow/lite/testing/%s.zip" % test_name,
"--zip_file_path=$(location :zip_%s)" % test_name,
# TODO(angerson) We may be able to add an external unzip binary instead
# of relying on an existing one for OSS builds.
"--unzip_binary_path=third_party/unzip/unzip",
"--unzip_binary_path=/usr/bin/unzip",
],
}),
test_name = test_name,