aboutsummaryrefslogtreecommitdiff
path: root/tensorflow_lite_support/BUILD
blob: f123f1f254cd1e87a664dfa541338c7cf1f004de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"],
)