From d480859cee44c22c71b438a43a2e1d94821a80f6 Mon Sep 17 00:00:00 2001 From: Jingwen Chen Date: Fri, 26 Nov 2021 05:39:07 +0000 Subject: [PATCH] Move libprotobuf-cpp-full and libprotobuf-cpp-lite to mixed builds denylist. These libraries can be built by bazel, but not in the target and product variant as required in mixed builds. See associated TODO for more info. Bug: 206538317 Bug: 204810610 Bug: 204811222 Test: b build //external/protobuf:all Change-Id: I45802c682dd40874de6393708d27323152463db6 --- android/bazel.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/bazel.go b/android/bazel.go index 273cbb3f4..4e9b7de8b 100644 --- a/android/bazel.go +++ b/android/bazel.go @@ -419,8 +419,9 @@ var ( "libbrotli", // http://b/198585397, ld.lld: error: bionic/libc/arch-arm64/generic/bionic/memmove.S:95:(.text+0x10): relocation R_AARCH64_CONDBR19 out of range: -1404176 is not in [-1048576, 1048575]; references __memcpy "minijail_constants_json", // http://b/200899432, bazel-built cc_genrule does not work in mixed build when it is a dependency of another soong module. - "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds - "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds + "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds + "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds + "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610. } // Used for quicker lookups