Arun Raghavan 21d78a4267 build: Make packages versioned
Since we cannot rely on the API to be stable upstream, let's start
making the pkg-config, library, and include dir have a version suffix.
This will allow different downstream projects depending on us to
independently switch versions without packagers having to jump through
hoops.
2020-10-23 13:30:23 -04:00

29 lines
628 B
Meson

system_wrappers_sources = [
'source/cpu_features.cc',
'source/field_trial.cc',
'source/metrics.cc',
'source/sleep.cc',
]
system_headers = [
'include/cpu_features_wrapper.h',
'include/metrics.h',
'include/sleep.h',
]
install_headers(system_headers,
subdir: join_paths(include_subdir, 'system_wrappers', 'include')
)
libsystem_wrappers = static_library('system_wrappers',
system_wrappers_sources,
dependencies: common_deps,
include_directories: webrtc_inc,
c_args : common_cflags,
cpp_args : common_cxxflags
)
system_wrappers_dep = declare_dependency(
link_with: libsystem_wrappers
)