diff options
-rw-r--r-- | tensorflow/core/BUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD index fc43e48483..c2e58b456b 100644 --- a/tensorflow/core/BUILD +++ b/tensorflow/core/BUILD @@ -1433,11 +1433,11 @@ cc_library( cc_library( name = "android_jpeg_internal", - srcs = [ + srcs = if_android([ "lib/jpeg/jpeg_handle.cc", "lib/jpeg/jpeg_mem.cc", "platform/jpeg.h", - ], + ]), hdrs = [ "lib/core/stringpiece.h", "lib/jpeg/jpeg_handle.h", @@ -1461,10 +1461,10 @@ cc_library( cc_library( name = "android_gif_internal", - srcs = [ + srcs = if_android([ "lib/gif/gif_io.cc", "platform/gif.h", - ], + ]), hdrs = [ "lib/core/stringpiece.h", "lib/gif/gif_io.h", @@ -1488,10 +1488,10 @@ cc_library( cc_library( name = "android_png_internal", - srcs = [ + srcs = if_android([ "lib/png/png_io.cc", "platform/png.h", - ], + ]), hdrs = [ "lib/core/casts.h", "lib/core/stringpiece.h", |