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 447531 fe3081fab19ba597b80beba96d1e50b338bab54b
parent 447530 f83e05b01053b078575ddd69532d040964a89ce6
child 447532 4d34001d92b9d6f0dfbe94f7a724472c570241ea
push id38073
push userbsmedberg@mozilla.com
push dateMon, 05 Dec 2016 20:27:48 +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