blob: d72f515210283e8c357a9b51ab53db9f6214dc76 [file] [log] [blame]
Zane Shelleyf80482a2020-12-02 15:13:13 -06001# Source files.
2util_src = files(
Zane Shelley5191bae2021-08-04 22:48:28 -05003 'data_file.cpp',
Ben Tyner324234b2021-06-28 17:01:17 -05004 'dbus.cpp',
Zane Shelleyf80482a2020-12-02 15:13:13 -06005 'ffdc_file.cpp',
6 'pdbg.cpp',
7 'temporary_file.cpp',
8)
9
10# Library dependencies.
11util_deps = [
12 libhei_dep,
13 libpdbg_dep,
14]
15
Zane Shelley3a851082021-03-23 16:45:28 -050016if get_option('phal').enabled()
17 util_deps += dependency('libdt-api')
18endif
19
Zane Shelleyf80482a2020-12-02 15:13:13 -060020# Create static library.
21util_lib = static_library(
22 'util_lib',
23 util_src,
24 include_directories : incdir,
25 dependencies : util_deps,
26 cpp_args : test_arg,
Zane Shelleyc2528942020-12-02 15:42:42 -060027 install : false,
Zane Shelleyf80482a2020-12-02 15:13:13 -060028)
29