From 8c8563746cdbdc8c80e18ee5dffe838f2713f60e Mon Sep 17 00:00:00 2001 From: Patrice Arruda Date: Mon, 1 Apr 2019 17:29:59 -0700 Subject: [PATCH] Soong: Add synopsis to ndk_prebuilt_* modules. Added synopsis to the following modules under cc package: * ndk_prebuilt_object * ndk_prebuilt_static_stl * ndk_prebuilt_shared_stl Bug: b/128337482 Test: Generated the documentation and verified that the synopsis was added to each of the module. Change-Id: Icca7418268a0328b622014da8a077b26800075fd --- cc/ndk_prebuilt.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cc/ndk_prebuilt.go b/cc/ndk_prebuilt.go index 2a7e6573a..8451295e5 100644 --- a/cc/ndk_prebuilt.go +++ b/cc/ndk_prebuilt.go @@ -64,6 +64,10 @@ func (*ndkPrebuiltObjectLinker) linkerDeps(ctx DepsContext, deps Deps) Deps { return deps } +// ndk_prebuilt_object exports a precompiled ndk object file for linking +// operations. Soong's module name format is ndk_.o. where +// the object is located under +// ./prebuilts/ndk/current/platforms/android-/arch-$(HOST_ARCH)/usr/lib/.o. func ndkPrebuiltObjectFactory() android.Module { module := newBaseModule(android.DeviceSupported, android.MultilibBoth) module.linker = &ndkPrebuiltObjectLinker{ @@ -98,6 +102,10 @@ func (*ndkPrebuiltStlLinker) linkerDeps(ctx DepsContext, deps Deps) Deps { return deps } +// ndk_prebuilt_shared_stl exports a precompiled ndk shared standard template +// library (stl) library for linking operation. The soong's module name format +// is ndk_.so where the library is located under +// ./prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libs/$(HOST_ARCH)/.so. func ndkPrebuiltSharedStlFactory() android.Module { module, library := NewLibrary(android.DeviceSupported) library.BuildOnlyShared() @@ -113,6 +121,10 @@ func ndkPrebuiltSharedStlFactory() android.Module { return module.Init() } +// ndk_prebuilt_static_stl exports a precompiled ndk static standard template +// library (stl) library for linking operation. The soong's module name format +// is ndk_.a where the library is located under +// ./prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libs/$(HOST_ARCH)/.a. func ndkPrebuiltStaticStlFactory() android.Module { module, library := NewLibrary(android.DeviceSupported) library.BuildOnlyStatic()