Mercurial > pyxpcom
changeset 5:0eae0a3fbffa
Minor refactorings to SConscript file.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Tue, 06 May 2008 15:00:52 -0700 |
parents | 8e2efe1bf602 |
children | e3dafb1c2493 |
files | xpcom/src/SConscript |
diffstat | 1 files changed, 29 insertions(+), 38 deletions(-) [+] |
line wrap: on
line diff
--- a/xpcom/src/SConscript Tue May 06 14:59:00 2008 -0700 +++ b/xpcom/src/SConscript Tue May 06 15:00:52 2008 -0700 @@ -1,43 +1,34 @@ Import("env") -files = [ - "ErrorUtils.cpp", - "PyGBase.cpp", - "PyGModule.cpp", - "PyGStub.cpp", - "PyGInputStream.cpp", - "PyGWeakReference.cpp", - "PyIClassInfo.cpp", - "PyIComponentManager.cpp", - "PyIInputStream.cpp", - "PyIEnumerator.cpp", - "PyIID.cpp", - "PyIInterfaceInfo.cpp", - "PyIInterfaceInfoManager.cpp", - "PyISimpleEnumerator.cpp", - "PyISupports.cpp", - "PyIVariant.cpp", - "Pyxpt_info.cpp", - "TypeObject.cpp", - "VariantUtils.cpp", - "dllmain.cpp", - ] - -libs = [ - "xpcomglue_s", - "xpcom", - "nspr4", - "plc4" - ] - -frameworks = [ - "Python", - ] - -env.SharedLibrary(source=files, - target="pyxpcom", - LIBS=libs, - FRAMEWORKS=frameworks) +env.SharedLibrary( + source=["ErrorUtils.cpp", + "PyGBase.cpp", + "PyGModule.cpp", + "PyGStub.cpp", + "PyGInputStream.cpp", + "PyGWeakReference.cpp", + "PyIClassInfo.cpp", + "PyIComponentManager.cpp", + "PyIInputStream.cpp", + "PyIEnumerator.cpp", + "PyIID.cpp", + "PyIInterfaceInfo.cpp", + "PyIInterfaceInfoManager.cpp", + "PyISimpleEnumerator.cpp", + "PyISupports.cpp", + "PyIVariant.cpp", + "Pyxpt_info.cpp", + "TypeObject.cpp", + "VariantUtils.cpp", + "dllmain.cpp", + ], + target="pyxpcom", + LIBS=["xpcomglue_s", + "xpcom", + "nspr4", + "plc4"], + FRAMEWORKS=["Python"] + ) loaderEnv = env.Copy()