From efc31de2b692ced55103726da770e78a19d64655 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Mon, 6 Apr 2020 16:11:18 -0700 Subject: [PATCH] Add filegroup for trout project to use VehicleHalProto definition Other virtualization specific definitions and build rules will be moved to /device/google/trout in the following patches. Keep them for now so that we will not break the build. Test: build Bug: 148816426 Change-Id: I8a579346b55aa812db3dd30a34050c9515f7a68d --- .../2.0/default/impl/vhal_v2_0/proto/Android.bp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp b/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp index 2eedecda2a..9784f751f2 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/Android.bp @@ -27,7 +27,17 @@ cc_library_static { "-Wall", "-Werror", ], - srcs: ["VehicleHalProto.proto"] + srcs: ["VehicleHalProto.proto"], +} + +filegroup { + name: "vhal-proto-src", + visibility: [ + "//device/google/trout/hal/vehicle/2.0:__subpackages__", + ], + srcs: [ + "VehicleHalProto.proto", + ], } cc_library_static { @@ -49,7 +59,7 @@ cc_library_static { "libgrpc++_unsecure", ], cflags: [ - "-Wno-unused-parameter" + "-Wno-unused-parameter", ], }