bug 941090 - build most of gfx/ots in unified mode. r=ehsan
authorJonathan Kew <jkew@mozilla.com>
Wed, 20 Nov 2013 20:40:14 +0000
changeset 156603 ea7e3169f3ff748f7265682bfa61d597e8061798
parent 156602 1db4516a89b1e0f4d6a03b31aa38ca02b7e519d2
child 156604 828b7a8e6647eec741ab541e0b1cdb6f0d88a8e6
push id36477
push userjkew@mozilla.com
push dateWed, 20 Nov 2013 20:43:15 +0000
treeherdermozilla-inbound@ea7e3169f3ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs941090
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 941090 - build most of gfx/ots in unified mode. r=ehsan
gfx/ots/src/moz.build
--- a/gfx/ots/src/moz.build
+++ b/gfx/ots/src/moz.build
@@ -5,47 +5,51 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 EXPORTS += [
     '../include/opentype-sanitiser.h',
     '../include/ots-memory-stream.h',
 ]
 
 SOURCES += [
+    # don't unify sources that use a (file-specific) DROP_THIS_TABLE macro
+    'gasp.cc',
+    'gdef.cc',
+    'gpos.cc',
+    'gsub.cc',
+    'hdmx.cc',
+    'kern.cc',
+    'ltsh.cc',
+    'vdmx.cc',
+    'vorg.cc',
+]
+
+UNIFIED_SOURCES += [
     'cff.cc',
     'cff_type2_charstring.cc',
     'cmap.cc',
     'cvt.cc',
     'fpgm.cc',
-    'gasp.cc',
-    'gdef.cc',
     'glyf.cc',
-    'gpos.cc',
     'graphite.cc',
-    'gsub.cc',
-    'hdmx.cc',
     'head.cc',
     'hhea.cc',
     'hmtx.cc',
-    'kern.cc',
     'layout.cc',
     'loca.cc',
-    'ltsh.cc',
     'maxp.cc',
     'metrics.cc',
     'name.cc',
     'os2.cc',
     'ots.cc',
     'post.cc',
     'prep.cc',
     'svg.cc',
-    'vdmx.cc',
     'vhea.cc',
     'vmtx.cc',
-    'vorg.cc',
 ]
 
 MSVC_ENABLE_PGO = True
 
 if CONFIG['OS_TARGET'] == 'WINNT':
     NO_VISIBILITY_FLAGS = True
 
 FINAL_LIBRARY = 'gkmedias'