summaryrefslogtreecommitdiff
path: root/proto/Android.bp
diff options
context:
space:
mode:
authorHoward Ro <yro@google.com>2018-06-19 19:58:05 -0700
committerHoward Ro <yro@google.com>2018-07-13 14:41:26 -0700
commitcb767f659c5f3e3350d1619c019ccbff67ad16d2 (patch)
tree373bcfc7b70dee2d20aca2d02da1443770b4b8e2 /proto/Android.bp
parentaf93684515f177975844706f27e8ae1d62a30e2d (diff)
Definition of GenericAtom
Test: no test is necessary as it only adds a field to atoms.proto Change-Id: If4e7c9497d1a4a8ba0fda3e8fb1ef67c525d6e64 Bug: 110537998
Diffstat (limited to 'proto/Android.bp')
-rw-r--r--proto/Android.bp30
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,
+ },
+ },
+ },
+}