Merge "Add an explanation to ndk_library." into main am: 28b190bc83
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3252080 Change-Id: Id50dee31764088accf28d09d90eb6cab565e98fd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -103,8 +103,17 @@ type libraryProperties struct {
|
|||||||
// https://github.com/android-ndk/ndk/issues/265.
|
// https://github.com/android-ndk/ndk/issues/265.
|
||||||
Unversioned_until *string
|
Unversioned_until *string
|
||||||
|
|
||||||
// Headers presented by this library to the Public API Surface
|
// DO NOT USE THIS
|
||||||
|
// NDK libraries should not export their headers. Headers belonging to NDK
|
||||||
|
// libraries should be added to the NDK with an ndk_headers module.
|
||||||
Export_header_libs []string
|
Export_header_libs []string
|
||||||
|
|
||||||
|
// Do not add other export_* properties without consulting with danalbert@.
|
||||||
|
// Consumers of ndk_library modules should emulate the typical NDK build
|
||||||
|
// behavior as closely as possible (that is, all NDK APIs are exposed to
|
||||||
|
// builds via --sysroot). Export behaviors used in Soong will not be present
|
||||||
|
// for app developers as they don't use Soong, and reliance on these export
|
||||||
|
// behaviors can mask issues with the NDK sysroot.
|
||||||
}
|
}
|
||||||
|
|
||||||
type stubDecorator struct {
|
type stubDecorator struct {
|
||||||
|
Reference in New Issue
Block a user