diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 21:16:37 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:52:45 +0200 |
commit | 6ef03f136bac6d677d67d1bcc4e110e891e7c4ca (patch) | |
tree | d452cf5abdb5737927c7ab2ad34e5681d061b5c1 /mozglue/build/moz.build | |
parent | d6bcaa649127bc524087452c389f6dcee118cbfb (diff) | |
download | UXP-6ef03f136bac6d677d67d1bcc4e110e891e7c4ca.tar UXP-6ef03f136bac6d677d67d1bcc4e110e891e7c4ca.tar.gz UXP-6ef03f136bac6d677d67d1bcc4e110e891e7c4ca.tar.lz UXP-6ef03f136bac6d677d67d1bcc4e110e891e7c4ca.tar.xz UXP-6ef03f136bac6d677d67d1bcc4e110e891e7c4ca.zip |
Issue #1053 - Remove android support from mozglue
Yes, I checked for unsaved files this time...
Diffstat (limited to 'mozglue/build/moz.build')
-rw-r--r-- | mozglue/build/moz.build | 53 |
1 files changed, 13 insertions, 40 deletions
diff --git a/mozglue/build/moz.build b/mozglue/build/moz.build index b97bddcdc..5632bc06e 100644 --- a/mozglue/build/moz.build +++ b/mozglue/build/moz.build @@ -4,31 +4,22 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# Build mozglue as a shared lib on Windows, OSX and Android. +# Build mozglue as a shared lib on Windows, OSX. # If this is ever changed, update MOZ_SHARED_MOZGLUE in browser/installer/Makefile.in -if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'): +if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin'): SharedLibrary('mozglue') else: Library('mozglue') SDK_LIBRARY = True -if CONFIG['OS_TARGET'] == 'Android': - SOURCES += [ - 'BionicGlue.cpp', - ] - if CONFIG['MOZ_ASAN']: - SOURCES += [ - 'AsanOptions.cpp', - ] + SOURCES += ['AsanOptions.cpp'] if CONFIG['OS_TARGET'] == 'WINNT': DEFFILE = 'mozglue.def' # We'll break the DLL blocklist if we immediately load user32.dll - DELAYLOAD_DLLS += [ - 'user32.dll', - ] + DELAYLOAD_DLLS += ['user32.dll'] if not CONFIG['JS_STANDALONE']: @@ -38,21 +29,13 @@ if not CONFIG['JS_STANDALONE']: else: # Temporary, until bug 662814 lands NO_VISIBILITY_FLAGS = True - SOURCES += [ - 'dummy.cpp', - ] + SOURCES += ['dummy.cpp'] if CONFIG['OS_TARGET'] == 'WINNT': - LOCAL_INCLUDES += [ - '/memory/build', - ] - SOURCES += [ - 'WindowsDllBlocklist.cpp', - ] + LOCAL_INCLUDES += ['/memory/build'] + SOURCES += ['WindowsDllBlocklist.cpp'] DISABLE_STL_WRAPPING = True - OS_LIBS += [ - 'version', - ] + OS_LIBS += ['version'] EXPORTS.mozilla += [ 'arm.h', @@ -62,28 +45,18 @@ if not CONFIG['JS_STANDALONE']: ] if CONFIG['CPU_ARCH'].startswith('x86'): - SOURCES += [ - 'SSE.cpp', - ] + SOURCES += ['SSE.cpp'] if CONFIG['CPU_ARCH'] == 'arm': - SOURCES += [ - 'arm.cpp', - ] + SOURCES += ['arm.cpp'] if CONFIG['CPU_ARCH'].startswith('mips'): - SOURCES += [ - 'mips.cpp', - ] + SOURCES += ['mips.cpp'] if CONFIG['MOZ_LINKER']: - USE_LIBS += [ - 'zlib', - ] + USE_LIBS += ['zlib'] -USE_LIBS += [ - 'mfbt', -] +USE_LIBS += ['mfbt'] DEFINES['IMPL_MFBT'] = True LIBRARY_DEFINES['MOZ_HAS_MOZGLUE'] = True |