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("storage") { | 10 source_set("storage") { |
6 sources = [ | 11 sources = [ |
7 "local_value_store_cache.cc", | 12 "local_value_store_cache.cc", |
8 "local_value_store_cache.h", | 13 "local_value_store_cache.h", |
9 "settings_namespace.cc", | 14 "settings_namespace.cc", |
10 "settings_namespace.h", | 15 "settings_namespace.h", |
11 "settings_observer.h", | 16 "settings_observer.h", |
12 "settings_storage_quota_enforcer.cc", | 17 "settings_storage_quota_enforcer.cc", |
13 "settings_storage_quota_enforcer.h", | 18 "settings_storage_quota_enforcer.h", |
14 "storage_api.cc", | 19 "storage_api.cc", |
15 "storage_api.h", | 20 "storage_api.h", |
16 "storage_frontend.cc", | 21 "storage_frontend.cc", |
17 "storage_frontend.h", | 22 "storage_frontend.h", |
18 "value_store_cache.cc", | 23 "value_store_cache.cc", |
19 "value_store_cache.h", | 24 "value_store_cache.h", |
20 "weak_unlimited_settings_storage.cc", | 25 "weak_unlimited_settings_storage.cc", |
21 "weak_unlimited_settings_storage.h", | 26 "weak_unlimited_settings_storage.h", |
22 ] | 27 ] |
23 | 28 |
24 deps = [ | 29 deps = [ |
25 "//extensions/common/api", | 30 "//extensions/common/api", |
26 ] | 31 ] |
27 | 32 |
28 public_deps = [ | 33 public_deps = [ |
29 "//extensions/browser:browser_sources", | 34 "//extensions/browser:browser_sources", |
30 ] | 35 ] |
31 } | 36 } |
OLD | NEW |