diff options
Diffstat (limited to 'proto/Android.bp')
-rw-r--r-- | proto/Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/proto/Android.bp b/proto/Android.bp index f3811bdd7d81..5fd288513384 100644 --- a/proto/Android.bp +++ b/proto/Android.bp @@ -17,3 +17,33 @@ java_library_static { }, }, } + +cc_library { + name: "libmetricprotos", + host_supported: true, + proto: { + export_proto_headers: true, + include_dirs: ["external/protobuf/src"], + }, + cflags: [ + "-Wall", + "-Werror", + "-Wno-unused-parameter", + ], + srcs: ["src/metrics_constants.proto"], + target: { + host: { + proto: { + type: "full", + }, + }, + android: { + proto: { + type: "lite", + }, + shared: { + enabled: false, + }, + }, + }, +} |