blob: 18319f30625f9d89d7715f0fd0fb06bb38b533ba [file] [log] [blame]
{
'targets': [
{
'target_name': 'libbootstat',
'type': 'shared_library',
'cflags': [
'-fvisibility=default',
],
'sources': [
'bootstat_log.c',
],
'libraries': [
'-lrootdev',
],
},
{
'target_name': 'bootstat',
'type': 'executable',
'sources': [
'bootstat.c',
],
'dependencies': [
'libbootstat',
]
}
],
'conditions': [
['USE_test == 1', {
'targets': [
{
'target_name': 'libbootstat_unittests',
'type': 'executable',
'dependencies': [
'libbootstat',
],
'includes': [
'../common-mk/common_test.gypi',
],
'sources': [
'log_unit_tests.cc',
],
},
],
}],
],
}