Disallow exit-time destructors in libutils.

There weren't any, but let's keep it that way.

Test: treehugger
Change-Id: I2a64eed47f41413a43c524af23b3070e5c2083a6
This commit is contained in:
Elliott Hughes 2021-03-04 09:46:23 -08:00
parent fd8bbd4820
commit 48a9eb49ee

View file

@ -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",