Add use_vendor to APEX module

use_vendor, when set to true, brings vendor variant of the native
libraries and binaries to the APEX.

Bug: 115707625
Test: m (apex_test updated)
Change-Id: Ib4e996f8652f4ce4645a9c22f6914e2ab35edda6
This commit is contained in:
Jiyong Park
2018-12-19 17:12:36 +09:00
parent 5a8320201a
commit da6eb592bf
6 changed files with 151 additions and 49 deletions

View File

@@ -185,7 +185,7 @@ func NewLLndkStubLibrary() *Module {
return module
}
func llndkLibraryFactory() android.Module {
func LlndkLibraryFactory() android.Module {
module := NewLLndkStubLibrary()
android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibBoth)
return module
@@ -219,6 +219,6 @@ func llndkHeadersFactory() android.Module {
}
func init() {
android.RegisterModuleType("llndk_library", llndkLibraryFactory)
android.RegisterModuleType("llndk_library", LlndkLibraryFactory)
android.RegisterModuleType("llndk_headers", llndkHeadersFactory)
}