Merge "Add Android.bp for ecc proto"
diff --git a/ecc/conversion_toolset_v1/proto/Android.bp b/ecc/conversion_toolset_v1/proto/Android.bp
new file mode 100644
index 0000000..7d6cce4
--- /dev/null
+++ b/ecc/conversion_toolset_v1/proto/Android.bp
@@ -0,0 +1,28 @@
+// Copyright (C) 2018 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+java_library_static {
+ name: "ecc-protos-lite",
+ proto: {
+ type: "nano",
+ output_params: [
+ "store_unknown_fields=true",
+ "enum_style=java",
+ ],
+ },
+ srcs: ["protobuf_ecc_data.proto"],
+ no_framework_libs: true,
+ jarjar_rules: "jarjar-rules.txt",
+ java_version: "1.8",
+}
\ No newline at end of file
diff --git a/ecc/conversion_toolset_v1/proto/jarjar-rules.txt b/ecc/conversion_toolset_v1/proto/jarjar-rules.txt
new file mode 100644
index 0000000..98ac044
--- /dev/null
+++ b/ecc/conversion_toolset_v1/proto/jarjar-rules.txt
@@ -0,0 +1 @@
+rule com.google.protobuf.nano.** com.android.phone.ecc.nano.@1
\ No newline at end of file