OLD | NEW |
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 } |
OLD | NEW |