diff options
Diffstat (limited to 'dbus/dbus.gyp')
-rw-r--r-- | dbus/dbus.gyp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dbus/dbus.gyp b/dbus/dbus.gyp index ce2fbd4..2dc8fee 100644 --- a/dbus/dbus.gyp +++ b/dbus/dbus.gyp @@ -1,4 +1,4 @@ -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -13,6 +13,7 @@ 'dependencies': [ '../base/base.gyp:base', '../build/linux/system.gyp:dbus', + '../third_party/protobuf/protobuf.gyp:protobuf_lite', ], 'export_dependent_settings': [ '../base/base.gyp:base', @@ -30,6 +31,16 @@ ], }, { + # Protobuf compiler / generator test protocol buffer + 'target_name': 'dbus_test_proto', + 'type': 'static_library', + 'sources': [ 'test_proto.proto' ], + 'variables': { + 'proto_out_dir': 'dbus', + }, + 'includes': [ '../build/protoc.gypi' ], + }, + { # This target contains mocks that can be used to write unit tests # without issuing actual D-Bus calls. 'target_name': 'dbus_test_support', @@ -60,6 +71,7 @@ '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', 'dbus', + 'dbus_test_proto', 'dbus_test_support', ], 'sources': [ |