aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 02:03:13 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-01 02:03:13 +0000
commite713dc48dc6953c2c2680747832516a19d25b33b (patch)
treef55e516a513eec0f9772a9578f37e0e54fca79dd
parent58b8f9ecb4c325cd209dd565ba732831df9cd381 (diff)
parent9c7294d755efe3781692c0f03ea0232518168fc1 (diff)
downloadtensorflow-android13-mainline-art-release.tar.gz
Snap for 9867090 from 9c7294d755efe3781692c0f03ea0232518168fc1 to mainline-art-releaseaml_art_331813100aml_art_331813010android13-mainline-art-release
Change-Id: Id7985058790a260cdbcd496c4a9cb76d66686114
-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"],
+}