1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      'target_name': 'leveldb_proto',
9      'type': 'static_library',
10      'include_dirs': [
11        '..',
12      ],
13      'dependencies': [
14        '../base/base.gyp:base',
15        '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
16      ],
17      'sources': [
18        'leveldb_proto/leveldb_database.cc',
19        'leveldb_proto/leveldb_database.h',
20        'leveldb_proto/proto_database.h',
21        'leveldb_proto/proto_database_impl.h',
22      ]
23    },
24    {
25      'target_name': 'leveldb_proto_test_support',
26      'type': 'static_library',
27      'dependencies': [
28        'leveldb_proto',
29      ],
30      'include_dirs': [
31        '..',
32      ],
33      'sources': [
34        'leveldb_proto/testing/fake_db.h',
35        'leveldb_proto/testing/proto/test.proto',
36      ],
37      'variables': {
38        'proto_in_dir': 'leveldb_proto/testing/proto',
39        'proto_out_dir': 'components/leveldb_proto/testing/proto',
40      },
41      'includes': [ '../build/protoc.gypi' ]
42    },
43  ],
44}
45