~thomas-voss/location-service/fix-1347887

« back to all changes in this revision

Viewing changes to data/CMakeLists.txt

This MP consolidates multiple related changes together, with the goal of:

(1.) Make the service instance accessible via a cli. Useful for testing scenarios.
(2.) To cut down time-to-first-fix (ttff) by:
  (2.1) Leveraging SUPL and other supplementary data downloaded over ordinary data connections.
  (2.2) Enabling network-based positioning providers to acquire fast position estimates.

In more detail:

* Added tests for daemon and cli.
* Unified daemon and cli header and implementation files.
* Add a command-line interface to the service.
* Split up provider selection policy to rely on an interface ProviderEnumerator to ease in testing.
* Trimmed down on types.
* Removed connectivity API draft to prepare for simpler approach.
* Refactored includes.
* Added a configuration option to handle cell and wifi ID reporting.
* Add a mock for a connectivity API exposed to providers and reporters.
* Add units for connectivity api.
* Refactor cell class into namespace radio. Fixes: 1226204, 1248973, 1281817

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
)
20
20
 
21
21
configure_file(
 
22
  ubuntu-location-service-connectivity.pc.in ubuntu-location-service-connectivity.pc @ONLY
 
23
)
 
24
 
 
25
configure_file(
22
26
  ubuntu-location-service.conf.in ubuntu-location-service.conf @ONLY
23
27
)
24
28
 
25
29
install(
26
30
  FILES ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-location-service.pc
27
 
  DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig
 
31
  DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
 
32
)
 
33
 
 
34
install(
 
35
  FILES ${CMAKE_CURRENT_BINARY_DIR}/ubuntu-location-service-connectivity.pc
 
36
  DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
28
37
)
29
38
 
30
39
install(