| 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_content") { | 10 source_set("declarative_content") { |
| 6 sources = [ | 11 sources = [ |
| 7 "content_rules_registry.h", | 12 "content_rules_registry.h", |
| 8 ] | 13 ] |
| 9 | 14 |
| 10 deps = [ | 15 deps = [ |
| 11 "//extensions/common/api", | 16 "//extensions/common/api", |
| 12 ] | 17 ] |
| 13 | 18 |
| 14 public_deps = [ | 19 public_deps = [ |
| 15 "//extensions/browser:browser_sources", | 20 "//extensions/browser:browser_sources", |
| 16 ] | 21 ] |
| 17 } | 22 } |
| OLD | NEW |