diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 26 |
1 files changed, 22 insertions, 4 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -51,6 +51,26 @@ rust_binary_host { ], } +rust_test_host { + name: "grpcio-compiler_test_src_lib", + crate_name: "grpcio_compiler", + cargo_env_compat: true, + cargo_pkg_version: "0.12.1", + srcs: ["src/lib.rs"], + test_suites: ["general-tests"], + auto_gen_config: true, + test_options: { + unit_test: true, + }, + edition: "2018", + features: [ + "default", + "protobuf", + "protobuf-codec", + ], + rustlibs: ["libprotobuf_deprecated"], +} + rust_library_host { name: "libgrpcio_compiler", crate_name: "grpcio_compiler", @@ -63,7 +83,5 @@ rust_library_host { "protobuf", "protobuf-codec", ], - rustlibs: [ - "libprotobuf_deprecated", - ], + rustlibs: ["libprotobuf_deprecated"], } |