summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-02 20:57:08 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-02 20:57:08 +0200
commit95d6899c75722a33398de3aea089d547660d508d (patch)
treebe60d4de548b712f1e5cfb0f80c203ecafe7758a
parentad575fb4527ed332df83569e3d5bdf3e94835ac6 (diff)
Build stoc.
Change-Id: I52a4f213e94a1dfafb2972d28d774b1d2ee818bf
-rw-r--r--cppuhelper/meson.build2
-rw-r--r--idlc/meson.build2
-rw-r--r--meson.build1
-rw-r--r--registry/meson.build2
-rw-r--r--stoc/meson.build89
-rw-r--r--unoidl/meson.build2
6 files changed, 94 insertions, 4 deletions
diff --git a/cppuhelper/meson.build b/cppuhelper/meson.build
index a4d42ce1a8fb..d99633b55ff9 100644
--- a/cppuhelper/meson.build
+++ b/cppuhelper/meson.build
@@ -34,5 +34,5 @@ cppuhelper_lib = shared_library('cpphelper',
udk_fake_h, off_fake_h, cppuhelper_fake_h,
include_directories: [main_inc, udkh_inc, offapi_inc, cpphelper_uno_inc],
cpp_args: ['-DCPPUHELPER_DLLIMPLEMENTATION', '-DLIBO_INTERNAL_ONLY'],
- link_with: [temp_hack, cppu_lib, registry_lib, salhelper_lib, sal_lib, unoidl_lib, xmlreader_lib],
+ link_with: [temp_hack, cppu_lib, reg_lib, salhelper_lib, sal_lib, unoidl_lib, xmlreader_lib],
)
diff --git a/idlc/meson.build b/idlc/meson.build
index 7e1b4810aa2a..0f3c1c8eb8d2 100644
--- a/idlc/meson.build
+++ b/idlc/meson.build
@@ -33,5 +33,5 @@ idlc = executable('idlc',
cpp_args: ['-DLIBO_INTERNAL_ONLY',
'-DSYSTEM_UCPP',
'-DUCPP="file:///usr/bin/ucpp"'],
- link_with: [registry_lib, sal_lib],
+ link_with: [reg_lib, sal_lib],
)
diff --git a/meson.build b/meson.build
index 1e86a081cc7b..b010f0efb879 100644
--- a/meson.build
+++ b/meson.build
@@ -229,3 +229,4 @@ subdir('hwpfilter')
subdir('pyuno')
subdir('unotest')
subdir('smoketest')
+subdir('stoc')
diff --git a/registry/meson.build b/registry/meson.build
index 61d887251f2a..3c831ef22aa7 100644
--- a/registry/meson.build
+++ b/registry/meson.build
@@ -1,4 +1,4 @@
-registry_lib = shared_library('reg',
+reg_lib = shared_library('reg',
'source/keyimpl.cxx',
'source/reflread.cxx',
'source/reflwrit.cxx',
diff --git a/stoc/meson.build b/stoc/meson.build
new file mode 100644
index 000000000000..ed8b0c8b1e27
--- /dev/null
+++ b/stoc/meson.build
@@ -0,0 +1,89 @@
+stocservice_lib = shared_library('stocservices',
+ 'source/typeconv/convert.cxx',
+ 'source/uriproc/ExternalUriReferenceTranslator.cxx',
+ 'source/uriproc/UriReference.cxx',
+ 'source/uriproc/UriReferenceFactory.cxx',
+ 'source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx',
+ 'source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx',
+ 'source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+reflection_lib = shared_library('reflection',
+ 'source/corereflection/crarray.cxx',
+ 'source/corereflection/crbase.cxx',
+ 'source/corereflection/crcomp.cxx',
+ 'source/corereflection/crefl.cxx',
+ 'source/corereflection/crenum.cxx',
+ 'source/corereflection/criface.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+invocation_lib = shared_library('invocation',
+ 'source/invocation/invocation.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+proxyfac_lib = shared_library('proxyfac',
+ 'source/proxy_factory/proxyfac.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+invocadapt_lib = shared_library('invocadapt',
+ 'source/invocation_adapterfactory/iafactory.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+namingservice_lib = shared_library('namingservice',
+ 'source/namingservice/namingservice.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib],
+ dependencies: [],
+)
+
+introspection_lib = shared_library('introspection',
+ 'source/inspect/introspection.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [cppu_lib, cppuhelper_lib, sal_lib, salhelper_lib],
+ dependencies: [],
+)
+
+boostrap_lib = shared_library('bootstrap',
+ 'source/defaultregistry/defaultregistry.cxx',
+ 'source/implementationregistration/implreg.cxx',
+ 'source/implementationregistration/mergekeys.cxx',
+ 'source/loader/dllcomponentloader.cxx',
+ 'source/security/access_controller.cxx',
+ 'source/security/file_policy.cxx',
+ 'source/security/permissions.cxx',
+ 'source/servicemanager/servicemanager.cxx',
+ 'source/simpleregistry/simpleregistry.cxx',
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [comphelper_lib, cppu_lib, cppuhelper_lib, reg_lib, sal_lib, salhelper_lib, tl_lib],
+ dependencies: [],
+)
diff --git a/unoidl/meson.build b/unoidl/meson.build
index d598c7f3b626..94601e7e1663 100644
--- a/unoidl/meson.build
+++ b/unoidl/meson.build
@@ -18,7 +18,7 @@ unoidl_lib = shared_library('unoidl',
cpp_args: ['-DLO_DLLIMPLEMENTATION_UNOIDL',
'-DLIBO_INTERNAL_ONLY'],
include_directories: [main_inc, 'source'],
- link_with: [registry_lib, salhelper_lib, sal_lib],
+ link_with: [reg_lib, salhelper_lib, sal_lib],
)
executable('unoidl-check',