diff options
Diffstat (limited to 'tensorflow_lite_support/BUILD')
-rw-r--r-- | tensorflow_lite_support/BUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tensorflow_lite_support/BUILD b/tensorflow_lite_support/BUILD new file mode 100644 index 00000000..f123f1f2 --- /dev/null +++ b/tensorflow_lite_support/BUILD @@ -0,0 +1,38 @@ +# TFLite Support is a toolkit that helps users to develop ML and deploy TFLite +# models onto mobile devices. + +package( + default_visibility = ["//visibility:private"], + licenses = ["notice"], # Apache 2.0 +) + +exports_files(["LICENSE"]) + +# LINT.IfChange +package_group( + name = "users", + packages = [ + # tensorflow_examples/... dep, + "//tensorflow_lite_support/...", + "//third_party/tensorflow_models/...", + ], +) +# Remove internal path from tensorflow_lite_support:users in the copybara file. +# LINT.ThenChange(//tensorflow_lite_support/copy.bara.sky) + +# Config setting for determining if we are building for Android. +config_setting( + name = "android", + values = {"crosstool_top": "//external:android/crosstool"}, + visibility = ["//visibility:public"], +) + +# Config setting for determining if we are building for macos. +config_setting( + name = "macos", + values = { + "apple_platform_type": "macos", + "cpu": "darwin", + }, + visibility = ["//visibility:public"], +) |