# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
import("//extensions/buildflags/buildflags.gni")
assert(enable_extensions,
"Cannot depend on extensions because enable_extensions=false.")
source_set("file_handlers") {
sources = [
"app_file_handler_util.cc",
"app_file_handler_util.h",
"directory_util.cc",
"directory_util.h",
"mime_util.cc",
"mime_util.h",
]
if (is_chromeos_ash) {
sources += [ "non_native_file_system_delegate.h" ]
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//base:base",
"//build:chromeos_buildflags",
"//components/file_access",
"//content/public/browser",
"//content/public/common",
"//extensions/common",
"//extensions/common/api",
"//net",
"//storage/browser",
]
public_deps = [ "//extensions/browser:browser_sources" ]
}