xref: /aosp_15_r20/system/chre/chre_api/CMakeLists.txt (revision 84e339476a462649f82315436d70fd732297a399)
1include($ENV{PW_ROOT}/pw_build/pigweed.cmake)
2include(backend.cmake)
3
4# The interface which provides the base CHRE API for nanoapps including
5# "chre.h", "chre/version.h", etc.
6#
7# Note that this does not implement the interface, this is done either by the
8# runtime or the nanoapp support lib DSO for dynamic nanoapp builds -- neither
9# of which nanoapps are permitted to directly depend on.
10pw_add_facade(chre.chre_api INTERFACE
11  BACKEND
12    chre.chre_api_BACKEND
13  HEADERS
14    include/chre_api/chre.h
15    include/chre_api/chre/audio.h
16    include/chre_api/chre/ble.h
17    include/chre_api/chre/common.h
18    include/chre_api/chre/event.h
19    include/chre_api/chre/gnss.h
20    include/chre_api/chre/nanoapp.h
21    include/chre_api/chre/re.h
22    include/chre_api/chre/sensor.h
23    include/chre_api/chre/sensor_types.h
24    include/chre_api/chre/toolchain.h
25    include/chre_api/chre/user_settings.h
26    include/chre_api/chre/version.h
27    include/chre_api/chre/wifi.h
28    include/chre_api/chre/wwan.h
29  PUBLIC_INCLUDES
30    include
31    include/chre_api
32  PUBLIC_DEPS
33    chre.variant.config
34)
35