blob: 270f72c27affd5a29a3e1a7196248b63a1adee3e [file] [log] [blame]
{
'target_defaults': {
'variables': {
'deps': [
'libchrome-<(libbase_ver)',
'libchromeos-<(libbase_ver)',
],
},
},
'targets': [
{
'target_name': 'libprotobinder',
'type': 'shared_library',
'sources': [
'binder_daemon.cc',
'binder_manager.cc',
# TODO(derat): If the amount of testing-specific code ever becomes
# substantial, move it to a separate shared library.
'binder_manager_stub.cc',
'parcel.cc',
'binder_proxy.cc',
'binder_host.cc',
'ibinder.cc',
'iservice_manager.cc',
'binder_proxy_interface_base.cc',
],
},
],
'conditions': [
['USE_test == 1', {
'targets': [
{
'target_name': 'libprotobinder_test',
'type': 'executable',
'includes': ['../common-mk/common_test.gypi'],
'dependencies': ['libprotobinder'],
'sources': [
'libprotobinder_testrunner.cc',
'parcel_unittest.cc',
],
},
],
}],
],
}