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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
index 22801ea9a8..a15fd40861 100755
--- a/gfx/skia/generate_mozbuild.py
+++ b/gfx/skia/generate_mozbuild.py
@@ -65,6 +65,7 @@ LOCAL_INCLUDES += [
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] in {
+ 'cocoa',
'gtk2',
'gtk3',
'uikit',
@@ -443,7 +444,7 @@ 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 {'uikit'}:\n")
+ f.write("if CONFIG['MOZ_WIDGET_TOOLKIT'] in {'cocoa', 'uikit'}:\n")
write_sources(f, sources['mac'], 4)
f.write("if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:\n")