Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: extensions/browser/api/declarative_webrequest/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_webrequest") { 10 source_set("declarative_webrequest") {
6 sources = [ 11 sources = [
7 "request_stage.cc", 12 "request_stage.cc",
8 "request_stage.h", 13 "request_stage.h",
9 "webrequest_action.cc", 14 "webrequest_action.cc",
10 "webrequest_action.h", 15 "webrequest_action.h",
11 "webrequest_condition.cc", 16 "webrequest_condition.cc",
12 "webrequest_condition.h", 17 "webrequest_condition.h",
13 "webrequest_condition_attribute.cc", 18 "webrequest_condition_attribute.cc",
14 "webrequest_condition_attribute.h", 19 "webrequest_condition_attribute.h",
15 "webrequest_constants.cc", 20 "webrequest_constants.cc",
16 "webrequest_constants.h", 21 "webrequest_constants.h",
17 "webrequest_rules_registry.cc", 22 "webrequest_rules_registry.cc",
18 "webrequest_rules_registry.h", 23 "webrequest_rules_registry.h",
19 ] 24 ]
20 25
21 deps = [ 26 deps = [
22 "//content/public/browser", 27 "//content/public/browser",
23 "//extensions/common/api", 28 "//extensions/common/api",
24 "//third_party/re2", 29 "//third_party/re2",
25 ] 30 ]
26 31
27 public_deps = [ 32 public_deps = [
28 "//extensions/browser:browser_sources", 33 "//extensions/browser:browser_sources",
29 ] 34 ]
30 } 35 }
OLDNEW
« no previous file with comments | « extensions/browser/api/declarative_content/BUILD.gn ('k') | extensions/browser/api/diagnostics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698