summaryrefslogtreecommitdiff
path: root/proto/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-10-24 16:21:22 -0700
committerColin Cross <ccross@android.com>2017-10-24 17:48:49 -0700
commit747e7c15d84edf28e399a73f60de8b68b4d0b450 (patch)
tree8fccc14c41e425455b017c8c3daae5d4bd78e6d5 /proto/Android.bp
parenta218b561e82a1df82987ecc672bb559bc056766f (diff)
Convert framework-protos to Android.bp
See build/soong/README.md for more information. Test: m checkbuild Change-Id: Id7992ff0cc5d631b64c1fa8e82e8a130ea508236
Diffstat (limited to 'proto/Android.bp')
-rw-r--r--proto/Android.bp17
1 files changed, 17 insertions, 0 deletions
diff --git a/proto/Android.bp b/proto/Android.bp
new file mode 100644
index 000000000000..95f453c3e523
--- /dev/null
+++ b/proto/Android.bp
@@ -0,0 +1,17 @@
+java_library_static {
+ name: "framework-protos",
+ host_supported: true,
+ proto: {
+ type: "nano",
+ },
+ srcs: ["src/**/*.proto"],
+ no_framework_libs: true,
+ target: {
+ android: {
+ jarjar_rules: "jarjar-rules.txt",
+ },
+ host: {
+ static_libs: ["libprotobuf-java-nano"],
+ },
+ },
+}