Enable native bridge support by default for certain ndk modules
The ndk_library, ndk_prebuilt_object and ndk_prebuilt_static_stl modules are natural targets to have native bridge support enabled, since they build user facing object which have to be supported for translated architectures. Bug: http://b/77159578 Test: make Change-Id: Ic556f4c1c41e5b3dc92f9c290b4482dee8faed33
This commit is contained in:
@@ -1299,6 +1299,10 @@ func (a *ModuleBase) MakeAsPlatform() {
|
||||
a.commonProperties.Product_services_specific = boolPtr(false)
|
||||
}
|
||||
|
||||
func (a *ModuleBase) EnableNativeBridgeSupportByDefault() {
|
||||
a.commonProperties.Native_bridge_supported = boolPtr(true)
|
||||
}
|
||||
|
||||
func (a *androidModuleContext) InstallInData() bool {
|
||||
return a.module.InstallInData()
|
||||
}
|
||||
|
Reference in New Issue
Block a user