summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjimsun <jimsun@google.com>2019-01-19 10:32:27 +0800
committerjimsun <jimsun@google.com>2019-01-19 10:38:47 +0800
commit5d76c9ec0d4bb0d1ea4e1c411ce3d26fb3bf1ad9 (patch)
treed690d8a0a504c78edceff3e9eac523cd5a072c94
parentd39b98ee1c01ac6bd40bd170e69748d69e858168 (diff)
downloadplatform_hardware_ril-5d76c9ec0d4bb0d1ea4e1c411ce3d26fb3bf1ad9.tar.gz
platform_hardware_ril-5d76c9ec0d4bb0d1ea4e1c411ce3d26fb3bf1ad9.tar.bz2
platform_hardware_ril-5d76c9ec0d4bb0d1ea4e1c411ce3d26fb3bf1ad9.zip
Fix protocol buffer compiler warning
Warning message: [ 86% 23128/26768] //hardware/ril/librilutils:librilutils protoc proto/sap-api.proto [libprotobuf WARNING external/protobuf/src/google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: hardware/ril/librilutils/proto/sap-api.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) Bug: 123039027 Test: build pass withtout warning message printed out Change-Id: Ie340518a2f4758817bc3402fc897f918a8e89df6
-rw-r--r--librilutils/proto/sap-api.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/librilutils/proto/sap-api.proto b/librilutils/proto/sap-api.proto
index 7a3d83bf..5d125e47 100644
--- a/librilutils/proto/sap-api.proto
+++ b/librilutils/proto/sap-api.proto
@@ -1,3 +1,5 @@
+syntax = "proto2";
+
option java_package = "org.android.btsap";
option java_outer_classname = "SapApi";