Bug 1306329 part E - Don't build the dependent XPCOM glue. r?glandium draft
authorBenjamin Smedberg <benjamin@smedbergs.us>
Wed, 26 Oct 2016 13:55:51 -0400
changeset 449029 cf078d12299bfb90012c0c1a648089825d9fa077
parent 449028 a1199457ceba93c0c86c543e20726864b73298d6
child 449030 183b3b2617e0242626fddde0f58ea2d27becd5ad
push id38515
push userbsmedberg@mozilla.com
push dateTue, 13 Dec 2016 16:11:41 +0000
reviewersglandium
bugs1306329
milestone53.0a1
Bug 1306329 part E - Don't build the dependent XPCOM glue. r?glandium MozReview-Commit-ID: 1g3Qfyvs6i3
xpcom/glue/moz.build
--- a/xpcom/glue/moz.build
+++ b/xpcom/glue/moz.build
@@ -76,47 +76,12 @@ EXPORTS.mozilla += [
     'GenericFactory.h',
     'IntentionalCrash.h',
     'Monitor.h',
     'Mutex.h',
     'Observer.h',
     'ReentrantMonitor.h',
 ]
 
-include('objs.mozbuild')
-
-UNIFIED_SOURCES += xpcom_gluens_src_cppsrcs
-UNIFIED_SOURCES += xpcom_glue_src_cppsrcs
-
-UNIFIED_SOURCES += [
-    'GenericModule.cpp',
-    'nsStringAPI.cpp',
-]
-
-Library('xpcomglue_s')
-
-SDK_LIBRARY = True
-
-FORCE_STATIC_LIB = True
-
-if CONFIG['_MSC_VER']:
-    DEFINES['_USE_ANSI_CPP'] = True
-    # Don't include directives about which CRT to use
-    CFLAGS += ['-Zl']
-    CXXFLAGS += ['-Zl']
-
-LOCAL_INCLUDES += [
-    '../build',
-    '../threads',
-]
-
 if CONFIG['ENABLE_TESTS']:
     DIRS += ['tests/gtest']
 
-# Include fallible for third party code using the xpcom glue
-USE_LIBS += [
-    'fallible',
-]
-
-# Force to build a static library only
-NO_EXPAND_LIBS = True
-
 DIST_INSTALL = True