aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-30 01:46:15 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-30 01:46:15 +0000
commitf3f49bfdd166b8bb89a9c10d6cb9960ab1418ad3 (patch)
treef55e516a513eec0f9772a9578f37e0e54fca79dd
parent24aa0cb8416412b99aee01b983c80b3bdf82df46 (diff)
parent9c7294d755efe3781692c0f03ea0232518168fc1 (diff)
downloadtensorflow-f3f49bfdd166b8bb89a9c10d6cb9960ab1418ad3.tar.gz
Snap for 9847046 from 9c7294d755efe3781692c0f03ea0232518168fc1 to mainline-tethering-releaseaml_tet_331910040aml_tet_331820050android13-mainline-tethering-release
Change-Id: I6561c3ab7329ee52937f923b60e5c6a8ac3ff7fa
-rw-r--r--Android.bp64
1 files changed, 64 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index bf5dd167887..8e135a3301e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -140,3 +140,67 @@ cc_library_static {
"com.android.extservices",
],
}
+
+filegroup(
+ name = "tensorflow_core_protobuf_src",
+ srcs = [
+ "tensorflow/core/protobuf/bfc_memory_map.proto",
+ "tensorflow/core/protobuf/config.proto",
+ "tensorflow/core/protobuf/cluster.proto",
+ "tensorflow/core/protobuf/debug.proto",
+ "tensorflow/core/protobuf/device_filters.proto",
+ "tensorflow/core/protobuf/device_properties.proto",
+ "tensorflow/core/protobuf/data_service.proto",
+ "tensorflow/core/protobuf/debug_event.proto",
+ "tensorflow/core/protobuf/eager_service.proto",
+ "tensorflow/core/protobuf/graph_debug_info.proto",
+ "tensorflow/core/protobuf/queue_runner.proto",
+ "tensorflow/core/protobuf/rewriter_config.proto",
+ "tensorflow/core/protobuf/tensor_bundle.proto",
+ "tensorflow/core/protobuf/saver.proto",
+ "tensorflow/core/protobuf/verifier_config.proto",
+ "tensorflow/core/protobuf/error_codes.proto",
+ "tensorflow/core/protobuf/composite_tensor_variant.proto",
+ "tensorflow/core/protobuf/master.proto",
+ "tensorflow/core/protobuf/meta_graph.proto",
+ "tensorflow/core/protobuf/named_tensor.proto",
+ "tensorflow/core/protobuf/remote_tensor_handle.proto",
+ "tensorflow/core/protobuf/saved_model.proto",
+ "tensorflow/core/protobuf/saved_object_graph.proto",
+ "tensorflow/core/protobuf/struct.proto",
+ "tensorflow/core/protobuf/worker.proto",
+ "tensorflow/core/protobuf/tensorflow_server.proto",
+ "tensorflow/core/protobuf/trackable_object_graph.proto",
+ "tensorflow/core/protobuf/transport_options.proto",
+ "tensorflow/core/grappler/costs/op_performance_data.proto",
+ "tensorflow/compiler/xla/pjrt/distributed/protocol.proto",
+ ],
+)
+
+java_library_static {
+ name: "tensorflow_core_proto_java_lite",
+ srcs: [
+ "tensorflow/core/framework/*.proto",
+ "tensorflow/core/example/example.proto",
+ "tensorflow/core/example/feature.proto",
+ "tensorflow/core/example/example_parser_configuration.proto",
+ "tensorflow/core/profiler/protobuf/xplane.proto",
+ "tensorflow/core/profiler/profiler_options.proto",
+ "tensorflow/core/util/saved_tensor_slice.proto",
+ "tensorflow/core/util/event.proto",
+ ":tensorflow_core_protobuf_src",
+ ":libprotobuf-internal-protos",
+ ],
+ proto: {
+ canonical_path_from_root: false,
+ include_dirs: [
+ "external/protobuf/src",
+ "external/protobuf/java",
+ ],
+ type: "lite",
+ },
+ static_libs: ["libprotobuf-java-lite"],
+ sdk_version: "current",
+ min_sdk_version: "33",
+ apex_available: ["com.android.ondevicepersonalization"],
+}