| # 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': { |
| 'variables': { |
| 'deps': [ # This is a list of pkg-config dependencies |
| 'libchrome-<(libbase_ver)', |
| 'libchromeos-<(libbase_ver)', |
| 'protobuf', |
| ] |
| }, |
| }, |
| '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'], |
| }, |
| ], |
| } |