diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:14:01 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:14:01 +0000 |
commit | 80443472c00ceed9b7cea8041e19de37452123c7 (patch) | |
tree | 5b61977365c9dc1d8aa782852fde63cc002abf1b | |
parent | ec96486d81952c9c07dde5ea477ef33e37c521e5 (diff) | |
parent | 255a0cbc4a18f900d39b15fdbb7d291fbc5f6a78 (diff) | |
download | dlmalloc-android14-mainline-networking-release.tar.gz |
Snap for 10447354 from 255a0cbc4a18f900d39b15fdbb7d291fbc5f6a78 to mainline-networking-releaseaml_net_341710020aml_net_341610030aml_net_341510050aml_net_341510000aml_net_341411030aml_net_341311010aml_net_341310020aml_net_341014000aml_net_340913000android14-mainline-networking-release
Change-Id: I30885684d791d0450e278cdf26d271602b15f9c4
-rw-r--r-- | Android.bp | 47 | ||||
-rw-r--r-- | OWNERS | 2 | ||||
-rw-r--r-- | dlmalloc.c (renamed from malloc.c) | 0 | ||||
-rw-r--r-- | dlmalloc.h (renamed from malloc.h) | 0 |
4 files changed, 48 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..971b513 --- /dev/null +++ b/Android.bp @@ -0,0 +1,47 @@ +// +// Copyright (C) 2022 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: ["external_dlmalloc_license"], +} + + +license { + name: "external_dlmalloc_license", + visibility: [":__subpackages__"], + license_kinds: ["legacy_unencumbered"], + license_text: ["NOTICE"], +} + +// In an ideal world, dlmalloc should be declared as a cc_static_library and +// linked against libart, but at the moment dlmalloc.c (the source file) is +// included directly in art/runtime/gc/allocator/art-dlmalloc.cc, and that is +// made possible by this declaration of dlmalloc as cc_library_headers. +// +// TODO: Find a better solution to make dlmalloc be linked against libart +// without the current dlmalloc.c source inclusion. +cc_library_headers { + name: "dlmalloc", + host_supported: true, + export_include_dirs: ["."], + apex_available: [ + "com.android.art", + "com.android.art.debug", + "//apex_available:platform", + ], + min_sdk_version: "apex_inherit", + tidy: false, +} @@ -1,3 +1,3 @@ # Default code reviewers picked from top 3 or more developers. # Please update this list if you find better candidates. -mathieuc@google.com +include platform/art:/OWNERS |