blob: e4f94c083737b95ac238ecf13a0b67745ca7e780 [file] [log] [blame]
Zane Shelleyf80482a2020-12-02 15:13:13 -06001# Source files.
2util_src = files(
3 'ffdc_file.cpp',
4 'pdbg.cpp',
5 'temporary_file.cpp',
6)
7
8# Library dependencies.
9util_deps = [
10 libhei_dep,
11 libpdbg_dep,
12]
13
Zane Shelley3a851082021-03-23 16:45:28 -050014if get_option('phal').enabled()
15 util_deps += dependency('libdt-api')
16endif
17
Zane Shelleyf80482a2020-12-02 15:13:13 -060018# Create static library.
19util_lib = static_library(
20 'util_lib',
21 util_src,
22 include_directories : incdir,
23 dependencies : util_deps,
24 cpp_args : test_arg,
Zane Shelleyc2528942020-12-02 15:42:42 -060025 install : false,
Zane Shelleyf80482a2020-12-02 15:13:13 -060026)
27