blob: 4e559d4b81b5c09eb0e174354239634a92379056 [file] [log] [blame]
Zane Shelleyf80482a2020-12-02 15:13:13 -06001# Source files.
2util_src = files(
Ben Tyner324234b2021-06-28 17:01:17 -05003 'dbus.cpp',
Zane Shelleyf80482a2020-12-02 15:13:13 -06004 'ffdc_file.cpp',
5 'pdbg.cpp',
6 'temporary_file.cpp',
7)
8
9# Library dependencies.
10util_deps = [
11 libhei_dep,
12 libpdbg_dep,
13]
14
Zane Shelley3a851082021-03-23 16:45:28 -050015if get_option('phal').enabled()
16 util_deps += dependency('libdt-api')
17endif
18
Zane Shelleyf80482a2020-12-02 15:13:13 -060019# Create static library.
20util_lib = static_library(
21 'util_lib',
22 util_src,
23 include_directories : incdir,
24 dependencies : util_deps,
25 cpp_args : test_arg,
Zane Shelleyc2528942020-12-02 15:42:42 -060026 install : false,
Zane Shelleyf80482a2020-12-02 15:13:13 -060027)
28