diff options
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 0bf48d59..5bccb79a 100644 --- a/android/module.go +++ b/android/module.go @@ -819,6 +819,10 @@ func (m *ModuleBase) Host() bool { return m.Os().Class == Host || m.Os().Class == HostCross } +func (m *ModuleBase) Device() bool { + return m.Os().Class == Device +} + func (m *ModuleBase) Arch() Arch { return m.Target().Arch } |