tree: f29465bad0a8842ea7e87aa7cc8e1c12e173cff3
  1. dtd/
  2. inc/
  3. prj/
  4. qa/
  5. source/
  6. test/
  7. uiconfig/
  8. util/
  9. AllLangResTarget_fwe.mk
  10. BUILD.bazel
  11. JunitTest_framework_complex.mk
  12. JunitTest_framework_unoapi.mk
  13. Library_fwe.mk
  14. Library_fwi.mk
  15. Library_fwk.mk
  16. Library_fwl.mk
  17. Library_fwm.mk
  18. Makefile
  19. Module_framework.mk
  20. Package_dtd.mk
  21. Package_inc.mk
  22. Package_uiconfig.mk
  23. Package_unotypes.mk
  24. readme.md
main/framework/readme.md

framework — Bazel migration

Outputs

TargetDLLDescription
:fwifwi.dllFramework interfaces (thread helpers, item containers, protocol cache)
:fwefwe.dllFramework widgets engine (menus, toolbox config, action triggers)
:fwkfwk.dllFramework core (Desktop, Frame, LayoutManager, accelerators, UNO services)
:fwlfwl.dllFramework UI element controllers (font menus, dispatch helpers)
:fwmfwm.dllFramework module misc (tab window, shell job, help-on-startup)

Import libraries: :fwi_implib, :fwe_implib, :fwk_implib, :fwl_implib, :fwm_implib

Public headers: :framework_headers (strip_include_prefix = “inc”)

Dependency graph

fwi  (sal, cppu, cppuhelper, comphelper, svl, svt, ootk, utl, tl, i18nisolang1, vcl, vos3, advapi32)
fwe  → fwi
fwk  → fwi, fwe  (+ sot, ucbhelper)
fwl  → fwi, fwe
fwm  → fwi        (+ vos3)

Notes

  • Several source directories (source/classes/, source/dispatch/, source/jobs/, source/register/, source/services/, source/uielement/) are split across multiple DLLs — sources are listed explicitly rather than globbed.
  • source/services/uriabbreviation.cxx is compiled into both fwk and fwl (separate translation units in separate DLLs).
  • fwk includes the precompiled header stub inc/pch/precompiled_framework.cxx.
  • All DLLs define snprintf=_snprintf, snwprintf=_snwprintf, and /Zc:wchar_t- per project-wide conventions. snwprintf is needed by spinfieldtoolbarcontroller.cxx which calls the wide-char variant directly.
  • fwi links advapi32.lib (Windows registry access in networkdomain.cxx).