summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-01-12 15:41:07 -0800
committerDavid Su <dysu@google.com>2020-01-12 18:35:01 -0800
commit6bb0d10cf7c7c6a0ce1e7dee1a688f1fa9946f33 (patch)
tree604395c95302cc34d3bf5c2a0e209e0c7898fb16 /proto
parent7f528b9a3309f3a3ffc16827954e9acaefe7cf6b (diff)
Statically link SystemMessageProto into wifi-service
Statically link SystemMessagesProto since Wifi uses a few constants defined here e.g. NOTE_NETWORK_NO_MAC_RANDOMIZATION_SUPPORT, NOTE_NETWORK_AVAILABLE, etc. Proto should ensure backwards compatibility of these constants. Bug: 147387246 Test: compiles Change-Id: Id6e704fa50e3500d191ecfa57cbb5a237dfaf01a
Diffstat (limited to 'proto')
-rw-r--r--proto/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/Android.bp b/proto/Android.bp
index 65bccbb4aac8..7cf6ce740969 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -27,3 +27,8 @@ java_library_static {
srcs: ["src/metrics_constants/metrics_constants.proto"],
sdk_version: "system_current",
}
+
+filegroup {
+ name: "system-messages-proto-src",
+ srcs: ["src/system_messages.proto"],
+}