xref: /aosp_15_r20/external/tensorflow/tensorflow/core/framework/Android.bp (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    // See: http://go/android-license-faq
18    // A large-scale-change added 'default_applicable_licenses' to import
19    // all of the 'license_kinds' from "external_tensorflow_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    default_applicable_licenses: ["external_tensorflow_license"],
23}
24
25filegroup(
26    name = "tensorflow_core_framework_mobile_srcs_only_runtime",
27    srcs = [
28        "attr_value.pb_text.cc",
29        "attr_value_util.cc",
30        "cancellation.cc",
31        "collective.cc",
32        "common_shape_fns.cc",
33        "dataset.cc",
34        "device.cc",
35        "device_base.cc",
36        "device_factory.cc",
37        "full_type_inference_util.cc",
38        "full_type_util.cc",
39        "function.cc",
40        "function_handle_cache.cc",
41        "graph_def_util.cc",
42        "graph_to_functiondef.cc",
43        "kernel_def_builder.cc",
44        "kernel_def_util.cc",
45        "load_library.cc",
46        "local_rendezvous.cc",
47        "logging.cc",
48        "lookup_interface.cc",
49        "memory_types.cc",
50        "metrics.cc",
51        "model.cc",
52        "node_def_builder.cc",
53        "node_def_util.cc",
54        "node_properties.cc",
55        "op.cc",
56        "op_def_builder.cc",
57        "op_def_util.cc",
58        "op_kernel.cc",
59        "op_segment.cc",
60        "reader_base.cc",
61        "ref_var.cc",
62        "rendezvous.cc",
63        "resource_mgr.cc",
64        "resource_var.cc",
65        "run_handler.cc",
66        "run_handler_util.cc",
67        "shape_inference.cc",
68        "tensor_slice.cc",
69        "tensor_util.cc",
70        "types.pb_text.cc",
71        "versions.cc",
72    ],
73)
74
75filegroup(
76    name = "tensorflow_core_framework_mobile_srcs_no_runtime",
77    srcs = [
78        "allocator.cc",
79        "allocator_registry.cc",
80        "bfloat16.cc",
81        "cpu_allocator_impl.cc",
82        "kernel_shape_util.cc",
83        "log_memory.cc",
84        "ops_util.cc",
85        "resource_handle.cc",
86        "resource_handle.pb_text.cc",
87        "tensor.cc",
88        "tensor.pb_text.cc",
89        "tensor_shape.cc",
90        "tensor_shape.pb_text.cc",
91        "tracking_allocator.cc",
92        "typed_allocator.cc",
93        "types.cc",
94        "variant.cc",
95        "variant_op_registry.cc",
96        "variant_tensor_data.cc",
97    ],
98)