OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//extensions/features/features.gni") |
| 6 |
| 7 assert(enable_extensions, |
| 8 "Cannot depend on extensions because enable_extensions=false.") |
| 9 |
5 source_set("value_store") { | 10 source_set("value_store") { |
6 sources = [ | 11 sources = [ |
7 "lazy_leveldb.cc", | 12 "lazy_leveldb.cc", |
8 "lazy_leveldb.h", | 13 "lazy_leveldb.h", |
9 "legacy_value_store_factory.cc", | 14 "legacy_value_store_factory.cc", |
10 "legacy_value_store_factory.h", | 15 "legacy_value_store_factory.h", |
11 "leveldb_scoped_database.cc", | 16 "leveldb_scoped_database.cc", |
12 "leveldb_scoped_database.h", | 17 "leveldb_scoped_database.h", |
13 "leveldb_value_store.cc", | 18 "leveldb_value_store.cc", |
14 "leveldb_value_store.h", | 19 "leveldb_value_store.h", |
15 "test_value_store_factory.cc", | 20 "test_value_store_factory.cc", |
16 "test_value_store_factory.h", | 21 "test_value_store_factory.h", |
17 "testing_value_store.cc", | 22 "testing_value_store.cc", |
18 "testing_value_store.h", | 23 "testing_value_store.h", |
19 "value_store.cc", | 24 "value_store.cc", |
20 "value_store.h", | 25 "value_store.h", |
21 "value_store_change.cc", | 26 "value_store_change.cc", |
22 "value_store_change.h", | 27 "value_store_change.h", |
23 "value_store_factory.h", | 28 "value_store_factory.h", |
24 "value_store_factory_impl.cc", | 29 "value_store_factory_impl.cc", |
25 "value_store_factory_impl.h", | 30 "value_store_factory_impl.h", |
26 "value_store_frontend.cc", | 31 "value_store_frontend.cc", |
27 "value_store_frontend.h", | 32 "value_store_frontend.h", |
28 ] | 33 ] |
29 | 34 |
30 deps = [ | 35 deps = [ |
31 "//third_party/leveldatabase", | 36 "//third_party/leveldatabase", |
32 ] | 37 ] |
33 } | 38 } |
OLD | NEW |