[tflite] make label_image build on linux and macOS

label_image doesn't build on Linux and macOS platforms

```
bazel build --config opt //tensorflow/lite/examples/label_image:label_image
```
shows something like
```
ERROR: /home/freedom/work/tensorflow/tensorflow/lite/examples/label_image/BUILD:15:1: undeclared inclusion(s) in rule '//tensorflow/lite/examples/label_image:label_image':
this rule is missing dependency declarations for the following files included by 'tensorflow/lite/examples/label_image/label_image.cc':
  'external/com_google_absl/absl/strings/string_view.h'
  'external/com_google_absl/absl/base/internal/throw_delegate.h'

```

Add `"@com_google_absl//absl/strings"` to deps
This commit is contained in:
Koan-Sin Tan 2020-06-17 09:25:28 +08:00
parent ec27f797f1
commit f3d3480c81
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ cc_binary(
"//tensorflow/lite/profiling:profiler",
"//tensorflow/lite/tools/evaluation:utils",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
] + select({
"//tensorflow:android": [
"//tensorflow/lite/delegates/gpu:delegate",