diff options
author | 2019-09-17 17:14:48 +0000 | |
---|---|---|
committer | 2019-09-17 17:14:48 +0000 | |
commit | 1f6c94a3ac5cc86c81a3a8e9ed5561d0e1e9c5fc (patch) | |
tree | ab7a4ef7ef80c556858c92a67881f6365558b777 /android/module.go | |
parent | b204303b35f36a21d38ef042cde8d122a539ed05 (diff) | |
parent | 344d5439c145baddbe85297a5c435da28ee6fcff (diff) |
Merge "Add "apex_vndk" module type"
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index dda526f09..8076a99ff 100644 --- a/android/module.go +++ b/android/module.go @@ -1495,6 +1495,11 @@ func (m *ModuleBase) EnableNativeBridgeSupportByDefault() { m.commonProperties.Native_bridge_supported = boolPtr(true) } +// IsNativeBridgeSupported returns true if "native_bridge_supported" is explicitly set as "true" +func (m *ModuleBase) IsNativeBridgeSupported() bool { + return proptools.Bool(m.commonProperties.Native_bridge_supported) +} + func (m *moduleContext) InstallInData() bool { return m.module.InstallInData() } |