From 3a070a634e5e6fc2f4075a99c305ba460350a99e Mon Sep 17 00:00:00 2001 From: Xianyuan Jia Date: Thu, 24 Aug 2023 16:47:08 -0700 Subject: [PATCH] Add libaconfig_python_proto target for Mobly host-based tests Bug: 297431521 Test: unit tests (mobly_device_flags_test) Change-Id: Ic377cb7c6f651033145a14c83c987e6d779cca6b --- tools/aconfig/Android.bp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/aconfig/Android.bp b/tools/aconfig/Android.bp index 296091df52..28bf8a52c2 100644 --- a/tools/aconfig/Android.bp +++ b/tools/aconfig/Android.bp @@ -24,6 +24,14 @@ java_library_host { }, } +python_library_host { + name: "libaconfig_python_proto", + srcs: ["protos/aconfig.proto"], + proto: { + canonical_path_from_root: false, + }, +} + // host binary: aconfig rust_protobuf_host {