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("declarative") { | 10 source_set("declarative") { |
6 sources = [ | 11 sources = [ |
7 "declarative_api.cc", | 12 "declarative_api.cc", |
8 "declarative_api.h", | 13 "declarative_api.h", |
9 "declarative_rule.h", | 14 "declarative_rule.h", |
10 "deduping_factory.h", | 15 "deduping_factory.h", |
11 "rules_cache_delegate.cc", | 16 "rules_cache_delegate.cc", |
12 "rules_cache_delegate.h", | 17 "rules_cache_delegate.h", |
13 "rules_registry.cc", | 18 "rules_registry.cc", |
14 "rules_registry.h", | 19 "rules_registry.h", |
15 "rules_registry_service.cc", | 20 "rules_registry_service.cc", |
16 "rules_registry_service.h", | 21 "rules_registry_service.h", |
17 ] | 22 ] |
18 | 23 |
19 deps = [ | 24 deps = [ |
20 "//content/public/browser", | 25 "//content/public/browser", |
21 "//extensions/common/api", | 26 "//extensions/common/api", |
22 ] | 27 ] |
23 | 28 |
24 public_deps = [ | 29 public_deps = [ |
25 "//extensions/browser:browser_sources", | 30 "//extensions/browser:browser_sources", |
26 ] | 31 ] |
27 } | 32 } |
OLD | NEW |