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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py
index bb069870a8..08d6ed9ab7 100755
--- a/gfx/skia/generate_mozbuild.py
+++ b/gfx/skia/generate_mozbuild.py
@@ -28,7 +28,7 @@ if CONFIG['MOZ_OPTIMIZE']:
if CONFIG['_MSC_VER']:
skia_opt_flags += ['-O2']
elif CONFIG['GNU_CC']:
- skia_opt_flags += ['-O3']
+ skia_opt_flags += ['-O2']
"""
@@ -79,7 +79,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in {
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
DEFINES['UNICODE'] = True
DEFINES['_UNICODE'] = True
- UNIFIED_SOURCES += [
+ SOURCES += [
'skia/src/fonts/SkFontMgr_indirect.cpp',
'skia/src/fonts/SkRemotableFontMgr.cpp',
]
@@ -415,7 +415,7 @@ def write_sources(f, values, indent):
else:
sources['unified'].add(item)
- write_list(f, "UNIFIED_SOURCES", sources['unified'], indent)
+ write_list(f, "SOURCES", sources['unified'], indent)
write_list(f, "SOURCES", sources['nonunified'], indent)
def write_list(f, name, values, indent):