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

Side by Side Diff: extensions/browser/api/file_system/BUILD.gn

Issue 2934143002: Move chrome.fileSystem implementation to //extensions (Closed)
Patch Set: benwells, test fix 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
OLDNEW
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.h",
10 "saved_files_service_delegate.h",
11 ]
8 12
9 assert(!is_android && !is_ios) 13 deps = [
10 14 "//base",
11 static_library("apps") { 15 "//content/public/browser",
12 sources = [] 16 "//extensions/browser/api/file_handlers",
13 17 "//extensions/common",
14 if (enable_extensions) { 18 "//extensions/common/api",
15 sources += [ 19 "//net",
16 "app_lifetime_monitor.cc", 20 "//storage/browser",
17 "app_lifetime_monitor.h", 21 "//storage/common",
18 "app_lifetime_monitor_factory.cc", 22 "//ui/base",
19 "app_lifetime_monitor_factory.h", 23 "//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 ] 24 ]
63 25
64 public_deps = [ 26 public_deps = [
65 "//content/public/browser", 27 "//extensions/browser:browser_sources",
66 ] 28 ]
67 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698