acb4d21a2a
We need symbol files for /bionic/* paths. New property "mountsource" is added to specify the "real" module that the bionic mountpoint module is a mountpoint for. The real module provides path to the unstripped elf file, which is installed to the symbols/bionic/* path. Bug: 123985838 Test: m libc.mountpoint libm.mountpoint libdl.mountpoint linker.mountpoint $(OUT)/symbols/bionic/bin/linker, bionic/lib[64]/lib{c|dl|m}.so exist Change-Id: I43f074f0076b576f214fe92a98689a413efd3daa
56 lines
1.4 KiB
Text
56 lines
1.4 KiB
Text
//
|
|
// Copyright (C) 2019 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.
|
|
//
|
|
|
|
bionic_mountpoint {
|
|
name: "libc.mountpoint",
|
|
stem: "libc.so",
|
|
src: "dummy_mountpoint",
|
|
library: true,
|
|
symlinks: ["libc.so"],
|
|
mountsource: "libc",
|
|
}
|
|
|
|
bionic_mountpoint {
|
|
name: "libdl.mountpoint",
|
|
stem: "libdl.so",
|
|
src: "dummy_mountpoint",
|
|
library: true,
|
|
symlinks: ["libdl.so"],
|
|
mountsource: "libdl",
|
|
}
|
|
|
|
bionic_mountpoint {
|
|
name: "libm.mountpoint",
|
|
stem: "libm.so",
|
|
src: "dummy_mountpoint",
|
|
library: true,
|
|
symlinks: ["libm.so"],
|
|
mountsource: "libm",
|
|
}
|
|
|
|
bionic_mountpoint {
|
|
name: "linker.mountpoint",
|
|
stem: "linker",
|
|
multilib: {
|
|
lib64: {
|
|
suffix: "64",
|
|
},
|
|
},
|
|
src: "dummy_mountpoint",
|
|
binary: true,
|
|
symlinks: ["linker", "linker_asan"],
|
|
mountsource: "linker",
|
|
}
|