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

Side by Side Diff: extensions/browser/api/file_handlers/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
« no previous file with comments | « extensions/browser/api/document_scan/BUILD.gn ('k') | extensions/browser/api/hid/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("file_handlers") { 10 source_set("file_handlers") {
6 sources = [ 11 sources = [
7 "app_file_handler_util.cc", 12 "app_file_handler_util.cc",
8 "app_file_handler_util.h", 13 "app_file_handler_util.h",
9 "directory_util.cc", 14 "directory_util.cc",
10 "directory_util.h", 15 "directory_util.h",
11 "mime_util.cc", 16 "mime_util.cc",
12 "mime_util.h", 17 "mime_util.h",
13 ] 18 ]
14 19
15 if (is_chromeos) { 20 if (is_chromeos) {
16 sources += [ "non_native_file_system_delegate.h" ] 21 sources += [ "non_native_file_system_delegate.h" ]
17 } 22 }
18 23
19 deps = [ 24 deps = [
20 "//base:base", 25 "//base:base",
21 "//content/public/browser", 26 "//content/public/browser",
22 "//content/public/common", 27 "//content/public/common",
23 "//extensions/common", 28 "//extensions/common",
24 "//extensions/common/api", 29 "//extensions/common/api",
25 "//net", 30 "//net",
26 "//storage/browser", 31 "//storage/browser",
27 ] 32 ]
28 33
29 public_deps = [ 34 public_deps = [
30 "//extensions/browser:browser_sources", 35 "//extensions/browser:browser_sources",
31 ] 36 ]
32 } 37 }
OLDNEW
« no previous file with comments | « extensions/browser/api/document_scan/BUILD.gn ('k') | extensions/browser/api/hid/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698