diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-23 11:29:12 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:54:30 +0200 |
commit | 7494866cb521d964bc60314cd180ed5df11a7afe (patch) | |
tree | ea027806fcf2d876aca71edbceb88b8c76f1e63b /hal/moz.build | |
parent | 19bf63b0ee0ef9e156d8484bf3555501ad14933e (diff) | |
download | UXP-7494866cb521d964bc60314cd180ed5df11a7afe.tar UXP-7494866cb521d964bc60314cd180ed5df11a7afe.tar.gz UXP-7494866cb521d964bc60314cd180ed5df11a7afe.tar.lz UXP-7494866cb521d964bc60314cd180ed5df11a7afe.tar.xz UXP-7494866cb521d964bc60314cd180ed5df11a7afe.zip |
Issue #1053 - Remove android support from hal
Diffstat (limited to 'hal/moz.build')
-rw-r--r-- | hal/moz.build | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/hal/moz.build b/hal/moz.build index 8d2950ac0..a1acfa320 100644 --- a/hal/moz.build +++ b/hal/moz.build @@ -25,21 +25,7 @@ SOURCES += [ 'Hal.cpp', ] -if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': - LOCAL_INCLUDES += [ - '/widget/android', - ] - UNIFIED_SOURCES += [ - 'android/AndroidAlarm.cpp', - 'android/AndroidSensor.cpp', - 'fallback/FallbackPower.cpp', - 'linux/LinuxMemory.cpp', - ] - # AndroidHal.cpp cannot be built in unified mode because it relies on HalImpl.h. - SOURCES += [ - 'android/AndroidHal.cpp', - ] -elif CONFIG['OS_TARGET'] == 'Linux': +if CONFIG['OS_TARGET'] == 'Linux': UNIFIED_SOURCES += [ 'fallback/FallbackAlarm.cpp', 'fallback/FallbackScreenConfiguration.cpp', @@ -117,11 +103,9 @@ UNIFIED_SOURCES += [ 'fallback/FallbackWakeLocks.cpp', ] -# Fallbacks for backends implemented on Android only. -if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': - UNIFIED_SOURCES += [ - 'fallback/FallbackNetwork.cpp', - ] +UNIFIED_SOURCES += [ + 'fallback/FallbackNetwork.cpp', +] if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': UNIFIED_SOURCES += [ |