blob: 8fb75916bcefa095480735ed673919701c58c353 [file] [log] [blame]
# TODO: Rename these files to pass this check.
# gyplint: disable=GypLintSourceFileNames
{
'target_defaults': {
'defines': [
'FUSE_USE_VERSION=26',
],
'variables': {
'deps': [
'fuse',
'libbrillo-<(libbase_ver)',
'libchrome-<(libbase_ver)',
],
},
},
'targets': [
{
'target_name': 'libarcappfuse',
'type': 'static_library',
'sources': [
'appfuse_mount.cc',
'data_filter.cc',
],
},
{
'target_name': 'arc-appfuse-provider-adaptors',
'type': 'none',
'variables': {
'dbus_service_config': 'dbus_bindings/dbus-service-config.json',
'dbus_adaptors_out_dir': 'include/appfuse/dbus_adaptors',
'new_fd_bindings': 1,
},
'sources': [
'dbus_bindings/org.chromium.ArcAppfuseProvider.xml',
],
'includes': ['../../common-mk/generate-dbus-adaptors.gypi'],
},
{
'target_name': 'arc-appfuse-provider',
'type': 'executable',
'dependencies': [
'arc-appfuse-provider-adaptors',
'libarcappfuse',
],
'sources': [
'arc_appfuse_provider.cc',
],
},
],
'conditions': [
['USE_test == 1', {
'targets': [
{
'target_name': 'arc-appfuse_testrunner',
'type': 'executable',
'includes': ['../../common-mk/common_test.gypi'],
'defines': ['UNIT_TEST'],
'dependencies': [
'libarcappfuse',
'../../common-mk/testrunner.gyp:testrunner',
],
'sources': ['data_filter_unittest.cc'],
},
],
}],
],
}