Bug 1306329 part E - Don't build the dependent XPCOM glue. r?glandium
MozReview-Commit-ID: 1g3Qfyvs6i3
--- 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