Don't include internal/private symbols in Engine VAPI
Removing internal and private symbols from geary-static.vapi results in removing 1,000 lines from the file. Although testing doesn't show an appreciable increase in compile time (w/ make -j8 on my 8-core machine), by reducing symbol leakage partial builds should improve. This patch also fixes a couple of symbols marked internal but being used publicly (and necessarily so) and a couple of errordomains in the Engine not placed in the Geary namespace.
This commit is contained in:
parent
329b1350a9
commit
13665f7783
7 changed files with 13 additions and 8 deletions
|
|
@ -170,7 +170,7 @@ macro(vala_precompile output source_bundle_name)
|
|||
set(vapi_arguments "")
|
||||
if(ARGS_GENERATE_VAPI)
|
||||
list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_VAPI}.vapi")
|
||||
set(vapi_arguments "--internal-vapi=${ARGS_GENERATE_VAPI}.vapi")
|
||||
set(vapi_arguments "--vapi=${ARGS_GENERATE_VAPI}.vapi")
|
||||
|
||||
# Header and internal header is needed to generate internal vapi
|
||||
if(NOT ARGS_GENERATE_HEADER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue