summaryrefslogtreecommitdiff
path: root/gfx/skia/generate_mozbuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skia/generate_mozbuild.py')
-rwxr-xr-xgfx/skia/generate_mozbuild.py19
1 files changed, 2 insertions, 17 deletions
diff --git a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
index 86fc554a16..22801ea9a8 100755
--- a/gfx/skia/generate_mozbuild.py
+++ b/gfx/skia/generate_mozbuild.py
@@ -64,11 +64,7 @@ LOCAL_INCLUDES += [
'skia/src/utils/win',
]
-if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):
- DEFINES['SK_FONTHOST_CAIRO_STANDALONE'] = 0
-
if CONFIG['MOZ_WIDGET_TOOLKIT'] in {
- 'android',
'gtk2',
'gtk3',
'uikit',
@@ -143,7 +139,7 @@ if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
'-Wno-unused-private-field',
]
-if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'android'):
+if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
CXXFLAGS += CONFIG['CAIRO_FT_CFLAGS']
@@ -153,7 +149,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
import json
-platforms = ['linux', 'mac', 'android', 'win']
+platforms = ['linux', 'mac', 'win']
def generate_opt_sources():
opt_sources = {'opts': {''}}
@@ -261,14 +257,6 @@ def generate_separated_sources(platform_sources):
'skia/src/ports/SkImageEncoder_none.cpp',
'skia/src/ports/SkImageGenerator_none.cpp',
},
- 'android': {
- # 'skia/src/ports/SkDebug_android.cpp',
- 'skia/src/ports/SkFontHost_cairo.cpp',
- # 'skia/src/ports/SkFontHost_FreeType.cpp',
- # 'skia/src/ports/SkFontHost_FreeType_common.cpp',
- # 'skia/src/ports/SkTime_Unix.cpp',
- # 'skia/src/utils/SkThreadUtils_pthread.cpp',
- },
'linux': {
'skia/src/ports/SkFontHost_cairo.cpp',
},
@@ -455,9 +443,6 @@ def write_mozbuild(sources):
f.write("if CONFIG['MOZ_ENABLE_SKIA_GPU']:\n")
write_sources(f, sources['gpu'], 4)
- f.write("if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android'):\n")
- write_sources(f, sources['android'], 4)
-
f.write("if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'uikit'}:\n")
write_sources(f, sources['mac'], 4)