| OLD | NEW |
| 1 # Copyright 2014 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("//build/config/features.gni") | 5 source_set("file_system") { |
| 6 import("//build/config/ui.gni") | 6 sources = [ |
| 7 import("//extensions/features/features.gni") | 7 "file_system_api.cc", |
| 8 "file_system_api.h", |
| 9 "file_system_delegate.cc", |
| 10 "file_system_delegate.h", |
| 11 "saved_files_service_delegate.h", |
| 12 ] |
| 8 | 13 |
| 9 assert(!is_android && !is_ios) | 14 deps = [ |
| 10 | 15 "//base", |
| 11 static_library("apps") { | 16 "//content/public/browser", |
| 12 sources = [] | 17 "//extensions/browser/api/file_handlers", |
| 13 | 18 "//extensions/common", |
| 14 if (enable_extensions) { | 19 "//extensions/common/api", |
| 15 sources += [ | 20 "//net", |
| 16 "app_lifetime_monitor.cc", | 21 "//storage/browser", |
| 17 "app_lifetime_monitor.h", | 22 "//storage/common", |
| 18 "app_lifetime_monitor_factory.cc", | 23 "//ui/base", |
| 19 "app_lifetime_monitor_factory.h", | 24 "//ui/shell_dialogs", |
| 20 "app_restore_service.cc", | |
| 21 "app_restore_service.h", | |
| 22 "app_restore_service_factory.cc", | |
| 23 "app_restore_service_factory.h", | |
| 24 "browser_context_keyed_service_factories.cc", | |
| 25 "browser_context_keyed_service_factories.h", | |
| 26 "launcher.cc", | |
| 27 "launcher.h", | |
| 28 "metrics_names.h", | |
| 29 "saved_files_service.cc", | |
| 30 "saved_files_service.h", | |
| 31 "saved_files_service_factory.cc", | |
| 32 "saved_files_service_factory.h", | |
| 33 "switches.cc", | |
| 34 "switches.h", | |
| 35 ] | |
| 36 | |
| 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] | |
| 38 | |
| 39 deps = [ | |
| 40 "//components/keyed_service/content", | |
| 41 "//content/public/browser", | |
| 42 "//content/public/common", | |
| 43 "//extensions/browser", | |
| 44 "//extensions/common", | |
| 45 "//extensions/common/api", | |
| 46 ] | |
| 47 | |
| 48 if (is_chromeos) { | |
| 49 deps += [ "//components/user_manager" ] | |
| 50 } | |
| 51 } | |
| 52 | |
| 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 54 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 55 } | |
| 56 | |
| 57 static_library("test_support") { | |
| 58 testonly = true | |
| 59 sources = [ | |
| 60 "test/app_window_waiter.cc", | |
| 61 "test/app_window_waiter.h", | |
| 62 ] | 25 ] |
| 63 | 26 |
| 64 public_deps = [ | 27 public_deps = [ |
| 65 "//content/public/browser", | 28 "//extensions/browser:browser_sources", |
| 66 ] | 29 ] |
| 67 } | 30 } |
| OLD | NEW |