third_party/tensorflow-text/src/tensorflow_text/tftext.bzl
def tf_deps(deps = []):
    """Generate deps for tensorflow that support android.

    Args:
      deps: Dependencies for linux build.
    """
    # These are "random" deps likely needed by each library (http://b/142433427)
    oss_deps = [
        "@com_google_absl//absl/container:inlined_vector",
        "@com_google_absl//absl/functional:function_ref",
        "@com_google_absl//absl/strings",
        "@com_google_absl//absl/strings:cord",
        "@com_google_absl//absl/types:optional",
        "@com_google_absl//absl/types:span",
    ]
    return select({
        "@org_tensorflow//tensorflow:android": [
            "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite",
        ],
        "@org_tensorflow//tensorflow:ios": [
            "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite",
        ],
        "//conditions:default": [
            "@local_config_tf//:libtensorflow_framework",
            "@local_config_tf//:tf_header_lib",
        ] + deps + oss_deps,
    })
Generate deps for tensorflow that support android.

    Args:
      deps: Dependencies for linux build.
    
Generate deps for tensorflow that support android.
Generate deps for tensorflow that support android .
def tf_deps(deps = []):
    oss_deps = [
        "@com_google_absl//absl/container:inlined_vector",
        "@com_google_absl//absl/functional:function_ref",
        "@com_google_absl//absl/strings",
        "@com_google_absl//absl/strings:cord",
        "@com_google_absl//absl/types:optional",
        "@com_google_absl//absl/types:span",
    ]
    return select({
        "@org_tensorflow//tensorflow:android": [
            "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite",
        ],
        "@org_tensorflow//tensorflow:ios": [
            "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite",
        ],
        "//conditions:default": [
            "@local_config_tf//:libtensorflow_framework",
            "@local_config_tf//:tf_header_lib",
        ] + deps + oss_deps,
    })
def tf_deps ( deps = [ ] ) : oss_deps = [ "@com_google_absl//absl/container:inlined_vector" , "@com_google_absl//absl/functional:function_ref" , "@com_google_absl//absl/strings" , "@com_google_absl//absl/strings:cord" , "@com_google_absl//absl/types:optional" , "@com_google_absl//absl/types:span" , ] return select ( { "@org_tensorflow//tensorflow:android" : [ "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite" , ] , "@org_tensorflow//tensorflow:ios" : [ "@org_tensorflow//tensorflow/core:portable_tensorflow_lib_lite" , ] , "//conditions:default" : [ "@local_config_tf//:libtensorflow_framework" , "@local_config_tf//:tf_header_lib" , ] + deps + oss_deps , } )
Generate deps for tensorflow that support android.
Generate deps for tensorflow that support android .
"""Generate deps for tensorflow that support android.

    Args:
      deps: Dependencies for linux build.
    """ # These are "random" deps likely needed by each library (http://b/142433427)
deps
Dependencies for linux build.
Dependencies for linux build .