summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2019-09-17 17:14:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-09-17 17:14:48 +0000
commit1f6c94a3ac5cc86c81a3a8e9ed5561d0e1e9c5fc (patch)
treeab7a4ef7ef80c556858c92a67881f6365558b777 /android/module.go
parentb204303b35f36a21d38ef042cde8d122a539ed05 (diff)
parent344d5439c145baddbe85297a5c435da28ee6fcff (diff)
Merge "Add "apex_vndk" module type"
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go5
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()
}