| Index: extensions/browser/api/file_system/BUILD.gn
|
| diff --git a/apps/BUILD.gn b/extensions/browser/api/file_system/BUILD.gn
|
| similarity index 10%
|
| copy from apps/BUILD.gn
|
| copy to extensions/browser/api/file_system/BUILD.gn
|
| index fae99193fa0d25e67101b71bb21c38df9f150879..f4d2cb60b913eeb57ac28dcd3bb37fa98cfb2b09 100644
|
| --- a/apps/BUILD.gn
|
| +++ b/extensions/browser/api/file_system/BUILD.gn
|
| @@ -1,67 +1,29 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Copyright 2017 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import("//build/config/features.gni")
|
| -import("//build/config/ui.gni")
|
| -import("//extensions/features/features.gni")
|
| -
|
| -assert(!is_android && !is_ios)
|
| -
|
| -static_library("apps") {
|
| - sources = []
|
| -
|
| - if (enable_extensions) {
|
| - sources += [
|
| - "app_lifetime_monitor.cc",
|
| - "app_lifetime_monitor.h",
|
| - "app_lifetime_monitor_factory.cc",
|
| - "app_lifetime_monitor_factory.h",
|
| - "app_restore_service.cc",
|
| - "app_restore_service.h",
|
| - "app_restore_service_factory.cc",
|
| - "app_restore_service_factory.h",
|
| - "browser_context_keyed_service_factories.cc",
|
| - "browser_context_keyed_service_factories.h",
|
| - "launcher.cc",
|
| - "launcher.h",
|
| - "metrics_names.h",
|
| - "saved_files_service.cc",
|
| - "saved_files_service.h",
|
| - "saved_files_service_factory.cc",
|
| - "saved_files_service_factory.h",
|
| - "switches.cc",
|
| - "switches.h",
|
| - ]
|
| -
|
| - configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
| -
|
| - deps = [
|
| - "//components/keyed_service/content",
|
| - "//content/public/browser",
|
| - "//content/public/common",
|
| - "//extensions/browser",
|
| - "//extensions/common",
|
| - "//extensions/common/api",
|
| - ]
|
| -
|
| - if (is_chromeos) {
|
| - deps += [ "//components/user_manager" ]
|
| - }
|
| - }
|
| -
|
| - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| -}
|
| -
|
| -static_library("test_support") {
|
| - testonly = true
|
| +source_set("file_system") {
|
| sources = [
|
| - "test/app_window_waiter.cc",
|
| - "test/app_window_waiter.h",
|
| + "file_system_api.cc",
|
| + "file_system_api.h",
|
| + "file_system_delegate.h",
|
| + "saved_files_service_delegate.h",
|
| ]
|
|
|
| - public_deps = [
|
| + deps = [
|
| + "//base",
|
| "//content/public/browser",
|
| + "//extensions/browser/api/file_handlers",
|
| + "//extensions/common",
|
| + "//extensions/common/api",
|
| + "//net",
|
| + "//storage/browser",
|
| + "//storage/common",
|
| + "//ui/base",
|
| + "//ui/shell_dialogs",
|
| + ]
|
| +
|
| + public_deps = [
|
| + "//extensions/browser:browser_sources",
|
| ]
|
| }
|
|
|