diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-01 01:03:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-01 01:26:18 +0200 |
commit | 6d33801b4498f5c13d2dc75588f88c22a11f455b (patch) | |
tree | 994e7bc2b0338f8dc86cb41c79508f7c6bc2c9db /basic/Library_sb.mk | |
parent | c57f1a0dfd504f1d7c2c285b89fdc173918941d7 (diff) |
Build libsb with a few dummy classes also for --disable-scripting
Work in progress, the dummy class implementations surely still
incomplete and/or might contain methods not actually needed. More
dummy class implementations needed, hopefully not too many
though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key
places in sc and elsewhere to cut down on the need.
Diffstat (limited to 'basic/Library_sb.mk')
-rw-r--r-- | basic/Library_sb.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/basic/Library_sb.mk b/basic/Library_sb.mk index 017168278608..0629c3974f0c 100644 --- a/basic/Library_sb.mk +++ b/basic/Library_sb.mk @@ -64,6 +64,8 @@ $(eval $(call gb_Library_add_linked_libs,sb,\ $(gb_STDLIBS) \ )) +ifneq ($(DISABLE_SCRIPTING),TRUE) + $(eval $(call gb_Library_add_exception_objects,sb,\ basic/source/basmgr/basicmanagerrepository \ basic/source/basmgr/basmgr \ @@ -138,6 +140,21 @@ $(eval $(call gb_Library_add_exception_objects,sb,\ basic/source/sbx/sbxvar \ )) +else + +$(eval $(call gb_Library_add_exception_objects,sb,\ + basic/source/basmgr/basmgr-dummy \ + basic/source/classes/sbxmod-dummy \ +)) + +# basic/source/classes/sbunoobj-dummy \ +# basic/source/runtime/basrdll-dummy \ +# basic/source/sbx/sbxobj-dummy \ +# basic/source/sbx/sbxvalue-dummy \ +# basic/source/sbx/sbxvar-dummy \ + +endif + # Uncomment the following line if DBG_TRACE_PROFILING is active in source/inc/sbtrace.hxx # $(eval $(call gb_Library_add_linked_libs,sb,\ canvastools \ |