forked from openkylin/platform_build
Merge "Add ota_metadata_proto_java"
This commit is contained in:
commit
e86abec252
|
@ -114,6 +114,25 @@ python_library_host {
|
|||
},
|
||||
}
|
||||
|
||||
java_library_static {
|
||||
name: "ota_metadata_proto_java",
|
||||
host_supported: true,
|
||||
proto: {
|
||||
type: "nano",
|
||||
},
|
||||
srcs: ["ota_metadata.proto"],
|
||||
sdk_version: "9",
|
||||
target: {
|
||||
android: {
|
||||
jarjar_rules: "jarjar-rules.txt",
|
||||
},
|
||||
host: {
|
||||
static_libs: ["libprotobuf-java-nano"],
|
||||
},
|
||||
},
|
||||
visibility: ["//frameworks/base:__subpackages__"]
|
||||
}
|
||||
|
||||
python_defaults {
|
||||
name: "releasetools_ota_from_target_files_defaults",
|
||||
srcs: [
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
rule com.google.protobuf.nano.** com.android.framework.protobuf.nano.@1
|
|
@ -23,6 +23,8 @@ syntax = "proto3";
|
|||
|
||||
package build.tools.releasetools;
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
option java_package = "android.ota";
|
||||
option java_outer_classname = "OtaPackageMetadata";
|
||||
|
||||
// The build information of a particular partition on the device.
|
||||
message PartitionState {
|
||||
|
|
Loading…
Reference in New Issue