diff --git a/tensorflow/lite/delegates/nnapi/BUILD b/tensorflow/lite/delegates/nnapi/BUILD index b3c6eff4741..86694d911bf 100644 --- a/tensorflow/lite/delegates/nnapi/BUILD +++ b/tensorflow/lite/delegates/nnapi/BUILD @@ -135,6 +135,7 @@ cc_test( ":nnapi_delegate_mock_test", "//tensorflow/lite:framework", "//tensorflow/lite/c:common", + "//tensorflow/lite/kernels:deprecated_backends", "//tensorflow/lite/kernels:test_util", "//tensorflow/lite/nnapi:nnapi_implementation", "//tensorflow/lite/nnapi:nnapi_lib", diff --git a/tensorflow/lite/kernels/BUILD b/tensorflow/lite/kernels/BUILD index a0808aafc80..a59f613a553 100644 --- a/tensorflow/lite/kernels/BUILD +++ b/tensorflow/lite/kernels/BUILD @@ -349,7 +349,9 @@ cc_library( "//conditions:default": ["-DTFLITE_HAVE_CPUINFO"], }), deps = [ - ":deprecated_backends", # TODO(b/168923364): Move to dependent targets. + # TODO(b/168923364): Remove deprecated_backends after it is added to all + # necessary targets. + ":deprecated_backends", ":tflite_with_ruy", ":op_macros", # For now this unconditionally depends on both ruy and gemmlowp. diff --git a/tensorflow/lite/python/BUILD b/tensorflow/lite/python/BUILD index cd7ad528247..36437f337ea 100644 --- a/tensorflow/lite/python/BUILD +++ b/tensorflow/lite/python/BUILD @@ -45,6 +45,7 @@ py_test( ], deps = [ ":interpreter", + "//tensorflow/lite/kernels:deprecated_backends", "//tensorflow/lite/python/testdata:_pywrap_test_registerer", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_test_lib",