@@ -119,7 +119,7 @@ config_setting(
119119
120120config_setting (
121121 name = "no_tensorflow_py_deps" ,
122- values = {"define " : "no_tensorflow_py_deps= true" },
122+ define_values = {"no_tensorflow_py_deps " : "true" },
123123 visibility = ["//visibility:public" ],
124124)
125125
@@ -175,55 +175,122 @@ config_setting(
175175# TODO(jhseu): Enable on other platforms other than Linux.
176176config_setting (
177177 name = "with_jemalloc_linux_x86_64" ,
178- values = {
179- "cpu" : "k8" ,
180- "define" : "with_jemalloc=true" ,
181- },
178+ define_values = {"with_jemalloc" : "true" },
179+ values = {"cpu" : "k8" },
182180 visibility = ["//visibility:public" ],
183181)
184182
185183config_setting (
186184 name = "with_jemalloc_linux_ppc64le" ,
187- values = {
188- "cpu" : "ppc" ,
189- "define" : "with_jemalloc=true" ,
190- },
185+ define_values = {"with_jemalloc" : "true" },
186+ values = {"cpu" : "ppc" },
187+ visibility = ["//visibility:public" ],
188+ )
189+
190+ config_setting (
191+ name = "with_default_optimizations" ,
192+ define_values = {"with_default_optimizations" : "true" },
191193 visibility = ["//visibility:public" ],
192194)
193195
194196config_setting (
195197 name = "with_gcp_support" ,
196- values = {"define " : "with_gcp_support= true" },
198+ define_values = {"with_gcp_support " : "true" },
197199 visibility = ["//visibility:public" ],
198200)
199201
200202config_setting (
201203 name = "with_hdfs_support" ,
202- values = {"define " : "with_hdfs_support= true" },
204+ define_values = {"with_hdfs_support " : "true" },
203205 visibility = ["//visibility:public" ],
204206)
205207
206208config_setting (
207209 name = "with_s3_support" ,
208- values = {"define" : "with_s3_support=true" },
210+ define_values = {"with_s3_support" : "true" },
211+ visibility = ["//visibility:public" ],
212+ )
213+
214+ # Crosses between platforms and file system libraries not supported on those
215+ # platforms due to limitations in nested select() statements.
216+ config_setting (
217+ name = "with_gcp_support_windows_override" ,
218+ define_values = {"with_gcp_support" : "true" },
219+ values = {"cpu" : "x64_windows" },
220+ visibility = ["//visibility:public" ],
221+ )
222+
223+ config_setting (
224+ name = "with_hdfs_support_windows_override" ,
225+ define_values = {"with_hdfs_support" : "true" },
226+ values = {"cpu" : "x64_windows" },
227+ visibility = ["//visibility:public" ],
228+ )
229+
230+ config_setting (
231+ name = "with_s3_support_windows_override" ,
232+ define_values = {"with_s3_support" : "true" },
233+ values = {"cpu" : "x64_windows" },
234+ visibility = ["//visibility:public" ],
235+ )
236+
237+ config_setting (
238+ name = "with_gcp_support_android_override" ,
239+ define_values = {"with_gcp_support" : "true" },
240+ values = {"crosstool_top" : "//external:android/crosstool" },
241+ visibility = ["//visibility:public" ],
242+ )
243+
244+ config_setting (
245+ name = "with_hdfs_support_android_override" ,
246+ define_values = {"with_hdfs_support" : "true" },
247+ values = {"crosstool_top" : "//external:android/crosstool" },
248+ visibility = ["//visibility:public" ],
249+ )
250+
251+ config_setting (
252+ name = "with_s3_support_android_override" ,
253+ define_values = {"with_s3_support" : "true" },
254+ values = {"crosstool_top" : "//external:android/crosstool" },
255+ visibility = ["//visibility:public" ],
256+ )
257+
258+ config_setting (
259+ name = "with_gcp_support_ios_override" ,
260+ define_values = {"with_gcp_support" : "true" },
261+ values = {"crosstool_top" : "//tools/osx/crosstool:crosstool" },
262+ visibility = ["//visibility:public" ],
263+ )
264+
265+ config_setting (
266+ name = "with_hdfs_support_ios_override" ,
267+ define_values = {"with_hdfs_support" : "true" },
268+ values = {"crosstool_top" : "//tools/osx/crosstool:crosstool" },
269+ visibility = ["//visibility:public" ],
270+ )
271+
272+ config_setting (
273+ name = "with_s3_support_ios_override" ,
274+ define_values = {"with_s3_support" : "true" },
275+ values = {"crosstool_top" : "//tools/osx/crosstool:crosstool" },
209276 visibility = ["//visibility:public" ],
210277)
211278
212279config_setting (
213280 name = "with_xla_support" ,
214- values = {"define " : "with_xla_support= true" },
281+ define_values = {"with_xla_support " : "true" },
215282 visibility = ["//visibility:public" ],
216283)
217284
218285config_setting (
219286 name = "with_gdr_support" ,
220- values = {"define " : "with_gdr_support= true" },
287+ define_values = {"with_gdr_support " : "true" },
221288 visibility = ["//visibility:public" ],
222289)
223290
224291config_setting (
225292 name = "with_verbs_support" ,
226- values = {"define " : "with_verbs_support= true" },
293+ define_values = {"with_verbs_support " : "true" },
227294 visibility = ["//visibility:public" ],
228295)
229296
@@ -297,7 +364,7 @@ config_setting(
297364 visibility = ["//visibility:public" ],
298365)
299366
300- # Make a dummy rule that we can chaqnge "default" in select statements to.
367+ # Make a dummy rule that we can change "default" in select statements to.
301368# to disable dependencies in copybara.
302369config_setting (
303370 name = "dummy_disabled_internal" ,
@@ -353,6 +420,7 @@ filegroup(
353420 "//tensorflow/compiler/tf2xla:all_files" ,
354421 "//tensorflow/compiler/tf2xla/cc:all_files" ,
355422 "//tensorflow/compiler/tf2xla/kernels:all_files" ,
423+ "//tensorflow/compiler/tf2xla/lib:all_files" ,
356424 "//tensorflow/compiler/tf2xla/ops:all_files" ,
357425 "//tensorflow/compiler/xla:all_files" ,
358426 "//tensorflow/compiler/xla/client:all_files" ,
@@ -425,6 +493,25 @@ filegroup(
425493 "//tensorflow/contrib/learn/python/learn/datasets:all_files" ,
426494 "//tensorflow/contrib/linalg:all_files" ,
427495 "//tensorflow/contrib/linear_optimizer:all_files" ,
496+ "//tensorflow/contrib/lite:all_files" ,
497+ "//tensorflow/contrib/lite/java:all_files" ,
498+ "//tensorflow/contrib/lite/java/demo/app/src/main:all_files" ,
499+ "//tensorflow/contrib/lite/java/demo/app/src/main/assets:all_files" ,
500+ "//tensorflow/contrib/lite/java/src/main/native:all_files" ,
501+ "//tensorflow/contrib/lite/java/src/testhelper/java/org/tensorflow/lite:all_files" ,
502+ "//tensorflow/contrib/lite/kernels:all_files" ,
503+ "//tensorflow/contrib/lite/kernels/internal:all_files" ,
504+ "//tensorflow/contrib/lite/models/smartreply:all_files" ,
505+ "//tensorflow/contrib/lite/nnapi:all_files" ,
506+ "//tensorflow/contrib/lite/python:all_files" ,
507+ "//tensorflow/contrib/lite/schema:all_files" ,
508+ "//tensorflow/contrib/lite/testing:all_files" ,
509+ "//tensorflow/contrib/lite/toco:all_files" ,
510+ "//tensorflow/contrib/lite/toco/graph_transformations/tests:all_files" ,
511+ "//tensorflow/contrib/lite/toco/python:all_files" ,
512+ "//tensorflow/contrib/lite/toco/tensorflow_graph_matching:all_files" ,
513+ "//tensorflow/contrib/lite/toco/tflite:all_files" ,
514+ "//tensorflow/contrib/lite/tools:all_files" ,
428515 "//tensorflow/contrib/lookup:all_files" ,
429516 "//tensorflow/contrib/losses:all_files" ,
430517 "//tensorflow/contrib/makefile:all_files" ,
0 commit comments