From 48a9eb49eee2061c3a8a3fa68c8ed9222a034abb Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 4 Mar 2021 09:46:23 -0800 Subject: [PATCH] Disallow exit-time destructors in libutils. There weren't any, but let's keep it that way. Test: treehugger Change-Id: I2a64eed47f41413a43c524af23b3070e5c2083a6 --- libutils/Android.bp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/libutils/Android.bp b/libutils/Android.bp index c9ecfa9be..62015693c 100644 --- a/libutils/Android.bp +++ b/libutils/Android.bp @@ -1,23 +1,7 @@ -// Copyright (C) 2008 The Android Open Source Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package { default_applicable_licenses: ["system_core_libutils_license"], } -// Added automatically by a large-scale-change -// See: http://go/android-license-faq license { name: "system_core_libutils_license", visibility: [":__subpackages__"], @@ -91,6 +75,7 @@ cc_defaults { cflags: [ "-Wall", "-Werror", + "-Wno-exit-time-destructors", ], header_libs: [ "libbase_headers",