blob: 38e32e8507ccb9d9a02bd613c45b61c67b6dfeb4 [file]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_defaults': {
'dependencies': [
'<(platform_root)/system_api/system_api.gyp:*',
],
'variables': {
'deps': [ # This is a list of pkg-config dependencies
'libchrome-<(libbase_ver)',
'libchromeos-<(libbase_ver)',
'protobuf',
]
},
'cflags_cc': [ '-std=gnu++11' ],
},
'targets': [
{
'target_name': 'attestation',
'type': 'executable',
'sources': [
'client/main.cc',
],
'dependencies': [
'attestation_proto'
]
},
{
'target_name': 'attestationd',
'type': 'executable',
'sources': [
'server/main.cc',
'server/attestation_service.cc'
],
'dependencies': [
'attestation_proto'
],
},
{
'target_name': 'attestation_proto',
'type': 'static_library',
'variables': {
'proto_in_dir': 'common',
'proto_out_dir': 'include/attestation/common',
},
'sources': [
'<(proto_in_dir)/dbus_interface.proto'
],
'includes': ['../common-mk/protoc.gypi'],
},
],
}